PureBytes Links
Trading Reference Links
|
Mike,
Try copying the value of the string into a variable in your DLL. If you
only copy the pointer that was passed to your DLL, you will get an error
when TradeStation frees the string.
Jim
>Subject: Sending a STRING To a DLL
>Message-ID: <3A77926C.3050400@xxxxxxxxxxxx>
>Content-Type: text/plain; charset=us-ascii; format=flowed
>Content-Transfer-Encoding: 7bit
>Anyone know how to send a String to a DLL?
>EL says it has to be BYREF. When I do this and attempt to use it in the
DLL TS crashes.
>If I dont attempt to use it everything is fine
>(Im using POWERBASIC)
>Regards
>Mike
|