Menu

Can't open font file?

2002-08-29
2012-09-26
  • Nobody/Anonymous

    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

     
    • Nobody/Anonymous

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.