Post
by phil » Mon Sep 02, 2019 8:25 pm
The .LIB files are "import" libraries for linking to the DLL.They dont contain any code/objects, just tells the linker how to link to the DLL - I don't see how they would be even relevant with MiniGW on the vary short things I have just been reading). They can be used with the C/C++ linker.
You shouldn't need the LIB files as the DLL exports the names untangled as I said.
In C++/C you can simply load the DLL (LoadLibrary (), get the address of the function by name, GetProcAddress() and call it.
In MinGW I dont know how you go about this - but either way, the only file you should need is the .DLL file (no libs and I cant see why the .h file would be any use either, other than looking at the definition of the functions to work out what to pass and get back!
Just to make sure the DLL actually works (Im sure that is not the problem here but hey!), have you tried the sample/test programs on my website? (I think there are compiled examples but its been a while since I looked at this - maybe they are all source code) Also, does the InstallDriver.exe report success?
If you cant get any further, then maybe I can grab a copy of MiniGW and try it myself, but have another stab first as I havn't really got the time to learn a whole new environment right now!
Thanks,
Phil
--[ Phil ]--
--[ Administrator & XMBC Author ]--
Logitech G9, Logitech MX518, Microsoft Intellimouse, Trust 16341 BT Mouse
Windows 10 x64, Intel i5-9600k, Asus Z390-ROG, 16GB DDR4,
nVidia GeForce GTX 970, Evo 970 500Gb NVME, 2x2TB WD Black (RAID1)