I would like to check if I can use K8062D.dll in my development environment : mingw-w64 (gcc), C langage, Windows 10 Pro 64bits, in order to control lights with my own software and DMX protocol.
As there are no files dedicated to my configuration in the k8062 sdk, I tried with those of the ‘Borland C++Builder’ directory, but when I compile a short test program and link I got the message
‘K8062d.lib: file not recognized: File format not recognized’
I tried to build a K8062d.lib file with the dlltool utility but I didn’t succeed, the linker ld sends a ‘undefined reference’ message for each call to a function of the dll.
Does somebody know a version of the sdk which could work with my configuration ? It would be of great help for me.
Thank you for trying to help me! I’m sorry but my problem still remain:
the two .zip files you gave me the links are the same I already tried to use, with the of course the same error messages,
regarding the two files downloaded from box, that’s to say K8062D.dll and k8062d.lib, they are more recent than those of the sdk, but unfortunately I get the same message:
K8062d.lib: file not recognized: File format not recognized
It seems that you are using 64-bit compiler to generate 64-bit code.
The DLL is a 32-bit file and it is not compatible with 64-bit compiler and maybe also with the dlltool you used to build the lib file.
In this thread there is some info and a link to download the 64-bit DLL version:
Hi!
You were right: the problem was my 64-bit system . With the last generated files you sent me, i can compile and link normally, i obtain a .exe without error message.
That’s what i wanted to check.
Thanks a lot!
As per my knowledge, Given your setup with MinGW-w64 (GCC), C language, and Windows 10 Pro 64-bit, you’re correct that the provided SDK files for Borland C++Builder might not be directly compatible. I think you need to Generate the Import Library and Create the Import Library.
Hello kate44.
Thank you for attention and tracking. You’re certainly right, however one of your collegues did that work for me and sent me an import library and a dll which work fine, so i could write a C program which uses that dll and do correctly the job. For me the problem is solved.
Best regards.