comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Delphi written DLL for use with CALL_EXTERNAL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Delphi written DLL for use with CALL_EXTERNAL [message #35935] Tue, 29 July 2003 01:19
Dr. Ralph P. Schorn is currently offline  Dr. Ralph P. Schorn
Messages: 2
Registered: December 2001
Junior Member
Hallo,

CALL_EXTERNAL uses the C calling convention and wants
parameters to be passed in the argc/argv syntax. I have
a Win32-DLL written in Delphi 6 that exports the
following function:

Function GetFloat ( VAR URL: ShortString;
VAR dim: LongInt;
VAR x: AbscissaType
): LongInt;
stdcall;

where the type "ShortString" is a fixed length (Pascal)
string of 255 characters, "LongInt" a signed 32 bit
integer and "Abscissa Type" a fixed length array of 32 bit
floating points (Delphi type "Single").

How must I convert this code to export the function in
argc/argv syntax, so that CALL_EXTERNAL can understand
the input? Anybody a solution or a piece of sample code
in Delphi?

Regards and thanks,

Ralph.
[Message index]
 
Read Message
Previous Topic: Re: Reading Dicom Header
Next Topic: Re: where is my plot....

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:34:00 PDT 2025

Total time taken to generate the page: 0.00396 seconds