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. Verrry urgent, Control is not Coming into the program in WinNT

Verrry urgent, Control is not Coming into the program in WinNT

Scheduled Pinned Locked Moved COM
c++debugginghelp
7 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.
  • D Offline
    D Offline
    Dhanush
    wrote on last edited by
    #1

    Hello, An ATL component control(intended to work with Excel and Word) is working in Win 95/98 but not working in WinNT. when i tried to debug it, control is not coming into the program even into the OnDraw(),even MessageBox() is not getting displayed with Excel. but it's working fine with Word. Please help me Thankx in Advance:confused: :confused: :( :(

    M 1 Reply Last reply
    0
    • D Dhanush

      Hello, An ATL component control(intended to work with Excel and Word) is working in Win 95/98 but not working in WinNT. when i tried to debug it, control is not coming into the program even into the OnDraw(),even MessageBox() is not getting displayed with Excel. but it's working fine with Word. Please help me Thankx in Advance:confused: :confused: :( :(

      M Offline
      M Offline
      Michael P Butler
      wrote on last edited by
      #2

      I think we need more information to be able to help, What kind of control is it? Which option of the ATL wizard did you use? What version of ATL? Does the project include MFC? Which version of Visual studio? When you debug the control, what line of code does it fail on? Is there an error code? What version of Excel and Word ? Does the control work in the ActiveX control test container? Michael :-)

      A D 3 Replies Last reply
      0
      • M Michael P Butler

        I think we need more information to be able to help, What kind of control is it? Which option of the ATL wizard did you use? What version of ATL? Does the project include MFC? Which version of Visual studio? When you debug the control, what line of code does it fail on? Is there an error code? What version of Excel and Word ? Does the control work in the ActiveX control test container? Michael :-)

        A Offline
        A Offline
        Anil krishna
        wrote on last edited by
        #3

        Hi, MFC ,is not included and ATL 3.0 and VC++ 6.0. I think it(Excel ) is not recoginizing it as a control, and it is showing only the control image. any help? thanks. -anil krishna

        1 Reply Last reply
        0
        • M Michael P Butler

          I think we need more information to be able to help, What kind of control is it? Which option of the ATL wizard did you use? What version of ATL? Does the project include MFC? Which version of Visual studio? When you debug the control, what line of code does it fail on? Is there an error code? What version of Excel and Word ? Does the control work in the ActiveX control test container? Michael :-)

          A Offline
          A Offline
          Anil krishna
          wrote on last edited by
          #4

          Hi, MFC ,is not included and ATL 3.0 and VC++ 6.0. I think it(Excel ) is not recoginizing it as a control, and it is showing only the control image. any help? thanks. -dhanush

          1 Reply Last reply
          0
          • M Michael P Butler

            I think we need more information to be able to help, What kind of control is it? Which option of the ATL wizard did you use? What version of ATL? Does the project include MFC? Which version of Visual studio? When you debug the control, what line of code does it fail on? Is there an error code? What version of Excel and Word ? Does the control work in the ActiveX control test container? Michael :-)

            D Offline
            D Offline
            Dhanush
            wrote on last edited by
            #5

            Hi Michael, Thaks for responding.It didn't include MFC,it's ATL 3.0 full control, Wizard options default and VC++ 6.0. Behaving in the same manner for both Word/Excel 97, i.e. fine with word but failing with Excel. I think it(Excel ) is not recoginizing it as a control, and it is showing only the control image. any help, urgent plz? thanks. -dhanush :confused: :(

            M 1 Reply Last reply
            0
            • D Dhanush

              Hi Michael, Thaks for responding.It didn't include MFC,it's ATL 3.0 full control, Wizard options default and VC++ 6.0. Behaving in the same manner for both Word/Excel 97, i.e. fine with word but failing with Excel. I think it(Excel ) is not recoginizing it as a control, and it is showing only the control image. any help, urgent plz? thanks. -dhanush :confused: :(

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #6

              Have you tried debugging the control through visual studio when it is embedded in Excel. What does it fail on in the code? Does it fail on all Windows 2000 machines or just one? Michael :-)

              D 1 Reply Last reply
              0
              • M Michael P Butler

                Have you tried debugging the control through visual studio when it is embedded in Excel. What does it fail on in the code? Does it fail on all Windows 2000 machines or just one? Michael :-)

                D Offline
                D Offline
                Dhanush
                wrote on last edited by
                #7

                hi michael, thank u for u r response I tried to debug in VC++ IDE, but the control is not coming into the code.Yes, it's failed on some combinations like WinNT 4 + Excel 97/2K. It's displaying the control content(which some image), but it's not responding to the events on it like mouse clicks even the messageboxes that i placed in OnDraw() & control's constructor are not prompted. As i think Excel is not recognizing it as a control, but why it's so i don't know if u can plz help. lastly is there any diff between containment behavior of word and Excel, because the same control is working in all Word Versions. Thanx :rose: in advance hoping that u will respond.

                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