That's not the problem. The thing is that the host app has it's own memory 
functions that are required to be used, and do not like dynamic arrays.


----- Original Message ----- 
From: "Stephen Posey" <[EMAIL PROTECTED]>
To: "Delphi-Talk Discussion List" <[email protected]>
Sent: Tuesday, October 11, 2005 9:23 AM
Subject: Re: writing binary to file


> Richard R wrote:
>> Thank you, however I'm aware I can use dynamic arrays but they do not 
>> work
>> well under the applicatiln this dll will be loaded under (I tried 
>> before).
>
> If you've got exported C-style DLL routines expecting a pointer
> to an array of items, it's usually pretty easy to pass Delphi
> dynamic arrays to these.
>
> If you can provide declaration code samples of the calls that are
> giving you trouble I can probably clear it up for you.
>
> Stephen Posey
> [EMAIL PROTECTED]
> __________________________________________________
> Delphi-Talk mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi-talk
> 
__________________________________________________
Delphi-Talk mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to