Thread: using consoleGDI

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    11

    using consoleGDI

    trying to run demo program (drawshapes.cpp, draws a couple basic shapes in a GUI window). I'm getting an error that says:

    Resource Error | no resources.

    I've installed the clGDI devpack and have included the test file in a project. Is there something I'm forgetting? The GDI is working for some people in my class but not working for others. Any ideas?

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    In Windows, things like windows and buttons are designed and stored using things called resource files. My guess would be that these are missing and need to be linked in (you'd need a windows compiler. Dev-C++ can do it). If that's not it, it wouldn't hurt to post some source code.

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    11
    ya, with dev-c++ i get a linker error that says:
    "Undefined reference to __gl_personality_vxx"
    I have also tried the borland command line compiler (bcc5.5) but i get 14-16 errors when compiling it there. even just a main.cpp program for a Console GDI project gives me this error, so I know it's not code in any way.

Popular pages Recent additions subscribe to a feed