Enrico I do not know the answer to your question .. I do remember ( after Carlos jogged my memory ) having to rem out the trailing \ in Prsht.h in Bcc70 .. but following the "rabbit trail down the hole" with Bcc722 .. fixing Prsht.h lead to Combaseapi.h and rem'ing out line 283 makes ...
... 1 file(s) copied.Borland Resource Compiler Version 5.40Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.Error prsht.h 917 1: '#endif' before '#if'done! To fix in line 184 of Prsht.h remove the trailing / LPFNPSPCALLBACKW pfnCallback; \ UINT *pcRefParent; // ...
Enrico Just try to compile a .rc file with the line below ( or buildx.bat that includes an .rc ) and that will evoke the error. Bcc72 is a bit different than Bcc70 in that that the .H files are in two different folders complicating the compile a bit. Windows.h is in \Bcc72\INCLUDE\windows\sdk and St...
Thanks for reminding me of my own solution .. I did not research this fix since the files are so different. Let me see if removing the trailing \ from line 184 does the trick for Bcc72.
To All Just downloaded Bcc72 32 bits and like Bcc70 ( which I have a fix for ) I get a compile error with prsht.h about an out of balance #if and #endif. I was hoping someone has run accross this error and has a fix for the header file mismatch. I would be very grateful. [1]:Brc32.Exe ...
... I currently have 3 files that I use: windows.h commctrl.h richedit.h If I try to open the .rc file in the IDE resource editor, it rebels against prsht.h which is linked in using commctrl.h Since I only use 2 defines from that file, I easily put them in the .rc file and eliminate it. Then I can ...