I have a Delphi file generated by SWIG (.pas) and a _wrap.c file also generated by SWIG. I compiled the C code to .dll library and i would like to use files generated by swig in my Delphi project. Could anyone tell me how to do this? I have to compile the _wrap.c file or the .pas file? Or maybe link to my project?
_wrap.c
file. You need to provide more details about the .pas file in order for us to tell you what to do with it. Most likely you need to add it to theuses
clause in the unit where you're going to call the DLL functions. – Ken White Jan 26 at 21:01