Windows.h not found errors

Windows.h not found errors

Postby James Bott » Mon Sep 10, 2018 5:39 am

I am having trouble with "windows.h" not found errors. It happens both with the BCC7 compiler and also with my resource editor. The path to windows.h is set both in the computer's path, and in the BCC32.cfg file. The windows.h file is located in:

C:\BCC7\inclcude\windows\sdk\

I have confirmed that it is there.

Any ideas?
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Windows.h not found errors

Postby Rick Lipkin » Tue Sep 11, 2018 1:22 pm

James

Here is my Borland.cfg contents:

Code: Select all  Expand view  RUN

-I"C:\BORLAND\BCC73\include";"C:\BORLAND\BCC73\include\windows\crtl"
;"C:\BORLAND\BCC73\include\dinkumware";"C:\BORLAND\BCC73\include\windows\rtl"
;"C:\BORLAND\BCC73\include\windows\sdk";"C:\BORLAND\BCC73\include\windows\sdk\atl"
-L"C:\BORLAND\BCC73\lib";"C:\BORLAND\BCC73\lib\psdk"
 


I am using Resedit for my resource compiler and here are the config paths ..
Image

Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2666
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Windows.h not found errors

Postby James Bott » Tue Sep 11, 2018 2:34 pm

Rick,

Our bcc32.cfg files seem to be identical. My default windows path also contains the path to the windows.h file. So, I still don't know why the compiler is not finding it. I have taking to putting a copy of windows.h in the current directory when needed, but I really don't like doing this.

I also use RESEDIT and I didn't know it had it's own paths. I will add them and see if that fixes the issue for RESEDIT.

Thanks for the response.
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Windows.h not found errors

Postby dtussman » Tue Sep 11, 2018 6:39 pm

You misspelled the word include in your original post but I don't know if that's the explanation
dtussman
 
Posts: 99
Joined: Sat Jun 06, 2015 6:57 pm

Re: Windows.h not found errors

Postby James Bott » Tue Sep 11, 2018 8:43 pm

Hi David,

Yes, I was hoping nobody would notice. Old Eagle-Eye Tussman they used to call you.

Actually, I typed that in and thus the typo. I did double-check it in all my paths and none of them are misspelled.

I think the resource editor is working now that I have entered the paths in it's own configuration setup.

However the compiler is still complaining that it can't find various *.h files. I know there is some logic in there somewhere.

James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 67 guests