Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Resource in static library

Resource in static library

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginglearningworkspace
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Friends, I've two projects in a workspace. The main project is a dialog based application. The second project is a Win32 static library. In the second project i include an *.rc file to add resouces in the project. Then i add a dialog box in the resource. Now, i want to initiate the dialog box of my "static library project" from my main project. i.e if i click the OK button of my main application dialog, i want the modal dialog box that is present in the resource of static library project. As such i am getting debug assertion failure. Can anyone tell me whats the reason. I am using Visual C++ 6.0

    L H D 3 Replies Last reply
    0
    • L Lost User

      Friends, I've two projects in a workspace. The main project is a dialog based application. The second project is a Win32 static library. In the second project i include an *.rc file to add resouces in the project. Then i add a dialog box in the resource. Now, i want to initiate the dialog box of my "static library project" from my main project. i.e if i click the OK button of my main application dialog, i want the modal dialog box that is present in the resource of static library project. As such i am getting debug assertion failure. Can anyone tell me whats the reason. I am using Visual C++ 6.0

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Yes, i've set all the dependencies of projects

      1 Reply Last reply
      0
      • L Lost User

        Friends, I've two projects in a workspace. The main project is a dialog based application. The second project is a Win32 static library. In the second project i include an *.rc file to add resouces in the project. Then i add a dialog box in the resource. Now, i want to initiate the dialog box of my "static library project" from my main project. i.e if i click the OK button of my main application dialog, i want the modal dialog box that is present in the resource of static library project. As such i am getting debug assertion failure. Can anyone tell me whats the reason. I am using Visual C++ 6.0

        H Offline
        H Offline
        HPSI
        wrote on last edited by
        #3

        Resources must be put in modules (exe's or dll's). HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.

        1 Reply Last reply
        0
        • L Lost User

          Friends, I've two projects in a workspace. The main project is a dialog based application. The second project is a Win32 static library. In the second project i include an *.rc file to add resouces in the project. Then i add a dialog box in the resource. Now, i want to initiate the dialog box of my "static library project" from my main project. i.e if i click the OK button of my main application dialog, i want the modal dialog box that is present in the resource of static library project. As such i am getting debug assertion failure. Can anyone tell me whats the reason. I am using Visual C++ 6.0

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Shah Shehpori wrote: As such i am getting debug assertion failure. And that would be ???

          H 1 Reply Last reply
          0
          • D David Crow

            Shah Shehpori wrote: As such i am getting debug assertion failure. And that would be ???

            H Offline
            H Offline
            HPSI
            wrote on last edited by
            #5

            DavidCrow wrote: And that would be ??? Probably the one that says "Hey! Where's the dialog template???" HPS HwndSpy - GUI developer's aid to visually locate and inspect windows. For the month of August only, use coupon code CP-81239 for 30% off.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups