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. COM
  4. No Matching DLGINIT

No Matching DLGINIT

Scheduled Pinned Locked Moved COM
comhelplearning
3 Posts 2 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.
  • S Offline
    S Offline
    ssirisha
    wrote on last edited by
    #1

    I have a dialog resource within a COM object and have added a thirdparty ActiveX control to the dialog box. During execution, while loading the dialog resource I get the following error message.. "Dialog has OLE controls, but not matching DLGINIT resource" I checked the .rc file and there is DLGINIT resource defined. Any clue. Thanks

    P 1 Reply Last reply
    0
    • S ssirisha

      I have a dialog resource within a COM object and have added a thirdparty ActiveX control to the dialog box. During execution, while loading the dialog resource I get the following error message.. "Dialog has OLE controls, but not matching DLGINIT resource" I checked the .rc file and there is DLGINIT resource defined. Any clue. Thanks

      P Offline
      P Offline
      Prem Kumar
      wrote on last edited by
      #2

      Hi, I have seen and replied to an earlier post of yours. I think there is no problem in your programming and the fault lies with the ActiveX control. The ActiveX control should support specific interfaces for saving information during design time, so as to enable the Application to load it during runtime. I think that your AciveX control is having specific Run-time validation which is not fullfilled by the default behavior of Dialog start up.(ActiveX Control Support). What you need to do now is create the Active X control at runtime and then place it in the specific position on the dialog programmatically. Look into the documentation for the ActiveX control. During the creation you can pass the specific liscensing requirement. PS: Can you tell me what control is it ?

      S 1 Reply Last reply
      0
      • P Prem Kumar

        Hi, I have seen and replied to an earlier post of yours. I think there is no problem in your programming and the fault lies with the ActiveX control. The ActiveX control should support specific interfaces for saving information during design time, so as to enable the Application to load it during runtime. I think that your AciveX control is having specific Run-time validation which is not fullfilled by the default behavior of Dialog start up.(ActiveX Control Support). What you need to do now is create the Active X control at runtime and then place it in the specific position on the dialog programmatically. Look into the documentation for the ActiveX control. During the creation you can pass the specific liscensing requirement. PS: Can you tell me what control is it ?

        S Offline
        S Offline
        ssirisha
        wrote on last edited by
        #3

        It's MSChart Control. Hope I mentioned that, The dialog resource is in a COM DLL. The control loads properly in an EXE just fine. Thanks.

        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