WinHex API Delphi Example problem Log Out | Topics | Search
Moderators | Edit Profile

X-Ways Support Forum » Advanced Features » WinHex API Delphi Example problem « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Richard Holland
Username: bigdutch

Registered: N/A
Posted on Tuesday, Jul 28, 2009 - 9:56:   

Stefan

I get the message ' Cannot write to the test file' when I run the example application. Everything else seems ok.

Have you any ideas?


Regards

Richard
Top of pagePrevious messageNext messageBottom of page Link to this message

Richard Holland
Username: bigdutch

Registered: N/A
Posted on Tuesday, Jul 28, 2009 - 23:36:   

I found the problem with Delphi 7.

Changed

if WHX_Write(@Buffer, 50000)= false then begin

to

if not (WHX_Write(@Buffer, 50000)) then begin

and all is ok!

Add Your Message Here
Post:
Username: Posting Information:
Only registered users may post messages here, i.e. you need to have an account.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:
Forum operated by X-Ways Software Technology AG.