
February 24th, 2003, 05:24 PM
|
|
Junior Member
|
|
Join Date: Feb 2003
Location: Sydney, Auatralia
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Calling a non c/c++ written dll in VC++
Hi guys,
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?
thanks all,
ice
|