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. Database & SysAdmin
  3. Database
  4. Help!! ADO and NT

Help!! ADO and NT

Scheduled Pinned Locked Moved Database
helpc++questionannouncement
4 Posts 2 Posters 17 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.
  • R Offline
    R Offline
    Ralf Friedrich Hain
    wrote on last edited by
    #1

    I've got my application ready and it is running perfect under my developing computer (win95), but on an other machine (winNT) it doesn't start at all!!! No error-message is shown! I think the proplem has to do with the control "Microsoft ADO Data Control, version 6.0 (OLEDB).lnk" It is a matter of different paths? "c:\windows\system\msadodc.ocx" on w95 and "c:\winnt\system32\msadodc.ocx" on NT ? I already use the MFC as a static lib. ADO 2.5 is installed on both computers. Please help me! :confused: :confused: :confused: Friedrich

    S 1 Reply Last reply
    0
    • R Ralf Friedrich Hain

      I've got my application ready and it is running perfect under my developing computer (win95), but on an other machine (winNT) it doesn't start at all!!! No error-message is shown! I think the proplem has to do with the control "Microsoft ADO Data Control, version 6.0 (OLEDB).lnk" It is a matter of different paths? "c:\windows\system\msadodc.ocx" on w95 and "c:\winnt\system32\msadodc.ocx" on NT ? I already use the MFC as a static lib. ADO 2.5 is installed on both computers. Please help me! :confused: :confused: :confused: Friedrich

      S Offline
      S Offline
      Sardaukar
      wrote on last edited by
      #2

      Try to load dynamically the component... The #import is almost always a bad idea. LoadTypeLibrary, CoCreateInstance, even old LoadLibrary can help. Or it can be a different version control that has some methods on 95 and other on NT. Trying to call the method "7" when the interface implements only "6"... By the way, application doesn't tell nothing? No crash, no "Debug", nothing? What does it mean "doesn't start at all"?

      R 1 Reply Last reply
      0
      • S Sardaukar

        Try to load dynamically the component... The #import is almost always a bad idea. LoadTypeLibrary, CoCreateInstance, even old LoadLibrary can help. Or it can be a different version control that has some methods on 95 and other on NT. Trying to call the method "7" when the interface implements only "6"... By the way, application doesn't tell nothing? No crash, no "Debug", nothing? What does it mean "doesn't start at all"?

        R Offline
        R Offline
        Ralf Friedrich Hain
        wrote on last edited by
        #3

        Sorry, I was not precise enough. I didn't use the #import, I used "Project | add | Controls | Registred Active-X controls"... (sth like that, I'm using a german visual studio) I dragged the control with the mouse to a dialog in the dialog-editor ( and a MS-Data Grid etc ) "Nothing" means, nothing happens if i double click on the Icon in Win Explorer. Just as it wasn't there. To Debug, i would have to install Visual sudio to the NT system. But I wanted to avoid it, cause it is always a matter: running on the development-computer is successfull, running on an other system fails: On another NT System with Visual Studio, the application started, the starting querie succeded, but the user-queries failed (access error). ? Thanks for your answer. Friedrich

        R 1 Reply Last reply
        0
        • R Ralf Friedrich Hain

          Sorry, I was not precise enough. I didn't use the #import, I used "Project | add | Controls | Registred Active-X controls"... (sth like that, I'm using a german visual studio) I dragged the control with the mouse to a dialog in the dialog-editor ( and a MS-Data Grid etc ) "Nothing" means, nothing happens if i double click on the Icon in Win Explorer. Just as it wasn't there. To Debug, i would have to install Visual sudio to the NT system. But I wanted to avoid it, cause it is always a matter: running on the development-computer is successfull, running on an other system fails: On another NT System with Visual Studio, the application started, the starting querie succeded, but the user-queries failed (access error). ? Thanks for your answer. Friedrich

          R Offline
          R Offline
          Ralf Friedrich Hain
          wrote on last edited by
          #4

          ... using InstallShield. It has made a setup.exe with all things which are needed. Thanks :-D Friedrich

          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