掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
GhostScriptのgsdll32.dllの使い方について (ID:48446)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
通りすがりさん、早速ありがとうございます。 >gsapi_new_instanceはどのような定義ですか? uses している gsapi.pas の function gsapi_init_with_args(pinstance:Pgs_main_instance;argc:integer;argv:PPAnsiChar):integer; stdcall; を呼んで、 implementation 下は、 function gsapi_init_with_args; stdcall; external gsdll32 name 'gsapi_init_with_args'; となっています。 gsapi.pasは、 最初に貼った、http://stackoverflow.com/questions/14764652/calling-external-dll-with-array-of-pchar-as-parameter-in-xe の中ほどの Update: here is a corrected version of the gsapi.pas unit that should work in both Delphi versions: 以下のものです。 「delphi gsapi gsdll32.dll」等で検索すると似たような、サンプルがいくつもあり、コピペして見ていますが、 同じようなエラーになります。コピペばかりで根本が分かっていないものですから・・・ お世話になります。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.