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?
Windows.h not found errors
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Windows.h not found errors
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Windows.h not found errors
James
Here is my Borland.cfg contents:
I am using Resedit for my resource compiler and here are the config paths ..
Rick Lipkin
Here is my Borland.cfg contents:
Code: Select all
-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"
Rick Lipkin
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Windows.h not found errors
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.
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
Re: Windows.h not found errors
You misspelled the word include in your original post but I don't know if that's the explanation
- James Bott
- Posts: 4654
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Re: Windows.h not found errors
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
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