Still maintaining CPB6 I'm afraid..
I have a third party library; I have created a compatible .lib using implib, and I have used the library successfully in countless BCB6 console applications.
I want to use this library in a VCL application but linking fails; undefined _functions (ie with leading underscore). Now when I build the Console app, provided I #include <windows.h>, everything is perfect. I discovered that if I leave out windows.h then I get the same problem as the VCL attempt. If I try to include windows.h in the VCL app as a work-around, it doesn't fix the problem.
I have looked at windows.h but it is very convoluted, I wonder if anyone can tell me what it is that it does in the Console app to fix the problem, an why it doesn't do it in the VCL app ?
Thanks.