03-05-2019, 03:54 PM
Hi, I am updating some old projects to 64-bit versions. To that end I have re-ibstalled my trusty C++ Builder XE7 Enterprise in a nice new Windows 7 64-bit PC (it has to be W7), and downloaded the latest IW 15.0.17, installed it (meticulously following the guide and tool for removing pre-existing stuff), and registered it with my licence.
All is well in 32-bit mode, I started regaining familiarity by the simplest possible project, that has just a button that changes caption when clicked. Compiles and runs fine under 32-bit platform.
So I add 64-bit platform to the project, select same and completely re-build, which all went well until:
[ilink64 Error] Error: Unresolved external 'WinMain' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\15.0\LIB\WIN64\RELEASE\C0W64.O
Referring to something I found on-line, I ensured that Link with Dynamic RTL is UNCHECKED as is Link with Runtime Packages but still the same error. Not sure what I have done wrong ?
Thanks
Denville.
All is well in 32-bit mode, I started regaining familiarity by the simplest possible project, that has just a button that changes caption when clicked. Compiles and runs fine under 32-bit platform.
So I add 64-bit platform to the project, select same and completely re-build, which all went well until:
[ilink64 Error] Error: Unresolved external 'WinMain' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\15.0\LIB\WIN64\RELEASE\C0W64.O
Referring to something I found on-line, I ensured that Link with Dynamic RTL is UNCHECKED as is Link with Runtime Packages but still the same error. Not sure what I have done wrong ?
Thanks
Denville.