掲示板システム
ホーム
アクセス解析
カテゴリ
ログアウト
クリップボードのあらゆる形式の内容をファイルに保存するのは (ID:29140)
名前
ホームページ(ブログ、Twitterなど)のURL (省略可)
本文
訂正 if ClipBoard.HasFormat(ClipBoard.Formats[I]) = True then begin Data := GetClipBoardData(I); DataPointer := GlobalLock(Data); try MemoryStream.Clear; MemoryStream.WriteBuffer(DataPointer^, GlobalSize(Data)); MemoryStream.SaveToFile(IntToStr(I)+'.DAT'); ↓↓↓ Format := ClipBoard.Formars[I]; if ClipBoard.HasFormat(Format)= True then Data := GetClipBoardData(Format); DataPointer := GlobalLock(Data); try MemoryStream.Clear; MemoryStream.WriteBuffer(DataPointer^, GlobalSize(Data)); MemoryStream.SaveToFile(IntToStr(Format)+'.DAT');
←解決時は質問者本人がここをチェックしてください。
更新する
戻る
掲示板システム
Copyright 2021 Takeshi Okamoto All Rights Reserved.