Can I Pass Record As var Argument To DLL?
Posted on 2002-07-25
I want to write a DLL contain specified function that return result in Delphi Record Variable for example
TDLLParams = Record
(strParam1 : PChar,
intDbl1 : integer);
recDLLParams = TDLLParams;
Assume that function name : dllFunct(dllparams : TDLLParams):Boolean;
then I want to pass recDLLParams to dllFunct and let it internally process result and return to me....
All the problems is that I don't know how to pass it to function, I mean I'm not sure if it's work....
Show me an example, I'll give you 100 points. and Thanks