Help!! ADO and NT
-
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
-
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
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"?
-
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"?
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
-
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
... using InstallShield. It has made a setup.exe with all things which are needed. Thanks :-D Friedrich