I have a dll that I have written in object pascal using delphi that I want to use within my VC++ project but don't know how!
What I would like to know is the commands and declarations that I need to include and where I need to include them to be able to use these functions. So lets say my dll contained only one function
procedure mydllfunc(data:mydataType, num:ineteger)
how do I go about using this in VC++?(notice that data is a construct I made myself for the project)