07-26-2016 04:19 PM
I am unable to import a dll file, and am given the attatched error.
There are four header files, which should contain the information required to wrap the functions in the dll. The primary header file appears to be rpc.h. There is no include statement in rpc.h, however.
In order to rectify this, I created a header file whose only purpose was to reference the other four header files (inc.h), and used it when prompted for the header file. This gave the same error.
The way that the wizard was run:
R11ComLib.dll was chosen as the library, rpc.h chosen as the header file, path was chosen such that the destination contained the four header files.
Thanks!
07-26-2016 05:53 PM - edited 07-26-2016 05:54 PM
Can you upload the header files to a reply here? That would help a lot with debugging. It's possible there's some symbol you need to define in order for the parser to succeed in finding the functions.
07-26-2016 06:14 PM
yes, here is a compressed file containing the header files that I have available
07-26-2016 06:33 PM
Could you attach it as a more-standard ZIP, rather than 7zip, so I don't have to install additional software to open it?
07-26-2016 08:10 PM
Yes
07-27-2016 12:51 PM
Can you also share the header file that you created? My guess is that either you're not including core/api/types.h, or possibly that even if you are including that file, the parser doesn't like an enumeration as the return type. You could alternately try defining FDD_RESULT as "int" within the import shared library wizard and see if that helps.
07-29-2016 05:06 PM
Ok, here is the header that I created, though it does not include types.h. I will include it and try again.
08-02-2016 04:11 PM
Any luck getting it to import after you added types.h?
08-02-2016 04:38 PM
I was able to import 1 function out of the 183
08-02-2016 05:03 PM
Are you still trying to get this working? Which function imported properly? Have you considered skipping the Import wizard, and configuring everything manually? It's not that much work, especially if you don't need to call too many functions in the library.
Unfortunately, there's nothing more I can do to help without more information. When I try to load your inc.h file, the import wizard stalls out at the page for defining include paths, perhaps because I don't have the DLL.