I've read everything I can find and studied several working
examples but can't figure out why I can't include my h file in
my resource file. If I use the line #include "emerson.h" in the
resource file and build or compile I get the error:
wndres: can't open font file "hwnd" No such file or directory.
emerson.h is included in my cpp file and the program compiles and runs if I leave the include out of the resource file. Of course it does not display the menus which are defined in the h file. I appreciate any nudge in the right direction that anyone can give me.
Thanks
Dale
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Never mind, I worked this one out. The example I was
trying to compile had the functions declared in the H
file. Apparently wndres didn't like this idea. Once I moved
them to the cpp file all was well.
Thanks anyway,
Dale
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've read everything I can find and studied several working
examples but can't figure out why I can't include my h file in
my resource file. If I use the line #include "emerson.h" in the
resource file and build or compile I get the error:
wndres: can't open font file "hwnd" No such file or directory.
emerson.h is included in my cpp file and the program compiles and runs if I leave the include out of the resource file. Of course it does not display the menus which are defined in the h file. I appreciate any nudge in the right direction that anyone can give me.
Thanks
Dale
Never mind, I worked this one out. The example I was
trying to compile had the functions declared in the H
file. Apparently wndres didn't like this idea. Once I moved
them to the cpp file all was well.
Thanks anyway,
Dale