February 24th, 2003, 05:24 PM
Calling a non c/c++ written dll in VC++
I am having problems trying to call functions I have written in a delphi dll into my VC++ project.
As such I think the dll that I created doesn't have any problems but I would really like to try it out. The calling convention I used was the standard cdecl in delphi. Is this Ok?? If so could someone please give me a skeleton of how i was to call a function say func1(data: mydataType, num: integer) that I have written in delphi within VC++? Also as you see mydataType is a data construct I created myself within delphi, how can I keep this construct without running into errors?
February 24th, 2003, 06:37 PM