掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
「'HWND'と'String'には互換性がありません」 (ID:5400)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
funcFileCopy関数の先頭に"TForm1."が付いていたので気になったのですが、funcFileCopyという関数を別のユニットにするのであれば、そのユニットは... unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ShellApi; function funcFileCopy(psFromPath: string; psToPath: string; phHandle:HWND): Boolean; implementation function funcFileCopy(psFromPath: string; psToPath: string; phHandle:HWND): Boolean; begin <中身省略> end; end. という感じになりますよね。
←解決時は質問者本人がここをチェックしてください。
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.