03-05-2019, 04:28 PM
WinMain is not an IW unit. It seems the issue is other.
Solution here:
https://groups.google.com/forum/#!topic/...7i3iPptzIs
Also some here, but less info:
http://www.voidcn.com/article/p-tqyajzwp-bhp.html
Translation of above URL:
[Linker Error] [Linker Error] Unresolved external 'WinMain' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\C0W32.OBJ
1, after saving the file, run the file, the above error will be reported.
2, and later discovered, because to save the file when the cpp file name and project file name written in the same, because the project file is created cpp file with the same name with the project while saving time, as the project's entrance, so then two cpp file of the same name, will be a conflict.
Solution here:
https://groups.google.com/forum/#!topic/...7i3iPptzIs
Also some here, but less info:
http://www.voidcn.com/article/p-tqyajzwp-bhp.html
Translation of above URL:
[Linker Error] [Linker Error] Unresolved external 'WinMain' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\LIB\C0W32.OBJ
1, after saving the file, run the file, the above error will be reported.
2, and later discovered, because to save the file when the cpp file name and project file name written in the same, because the project file is created cpp file with the same name with the project while saving time, as the project's entrance, so then two cpp file of the same name, will be a conflict.