Hi,
I just made the transition to Code::Blocks. I think is a very good program. But now I run into an issue. I imported a Visual C++ Solution in to Code::Blocks. When I try to compile it, then I get the following:
Release/dongle.o:dongle.c:(.text+0x62): undefined reference to `KFUNC'
collect2: ld returned 1 exit status
make.exe: *** [Release/IMS7_DLL.dll] Error 1
That function is declared in a header file as
// KEYBD and KFUNC are resolved by linking with KL2.OBJ
extern unsigned KEYBD(unsigned);
extern unsigned int __cdecl far GETLASTKEYERROR(void);
extern unsigned long KFUNC(unsigned, unsigned, unsigned, unsigned);
What do I have to do, to include the KL2.obj file in the project?
It must be possible to get the project running with the GCC Compiler, since I had it once running with Dev-C++, but I don't have the sources anymore.
Thanks for any help in advance.
Regards,
Thomas