×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    24

    Defining dialogs in .rss and using them in a .cpp - should be easy!

    What can be wrong if the compiler does not find the dialog resource I defined in my .rss file?

    I looked at example applications and there it seems to be exactly as I did in my program. Could it be a path-problem?

    please help.. I dont know what to do anymore...

  2. #2
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345
    Hi dreamix,

    be sure to include the .rsg file in your cpp file like this:

    #include "yourappname.rsg"

    If you use r_my_dialog in your .rss file you have to use R_MY_DIALOG in your .cpp file.

    If this does not help, you should post the error message you get.

    Regards,
    Bernd

  3. #3
    Registered User
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    24
    Hallo Bernd,

    it works! This .rsg file (which I dont know what it is yet) was missing, thanks a bunch man...

    cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×