Click here to Skip to main content
16,005,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Multiple line in MessageBox Pin
Cedric Moonen10-Apr-03 1:27
Cedric Moonen10-Apr-03 1:27 
GeneralProblem in adding text to a progress bar Pin
summo9-Apr-03 21:22
summo9-Apr-03 21:22 
GeneralRe: Problem in adding text to a progress bar Pin
Cedric Moonen9-Apr-03 21:48
Cedric Moonen9-Apr-03 21:48 
GeneralRe: Problem in adding text to a progress bar Pin
Anonymous9-Apr-03 21:59
Anonymous9-Apr-03 21:59 
GeneralRe: Problem in adding text to a progress bar Pin
Anonymous9-Apr-03 22:01
Anonymous9-Apr-03 22:01 
GeneralVC++.NET for Palm OS Pin
Anonymous9-Apr-03 20:47
Anonymous9-Apr-03 20:47 
GeneralNamed Pipe, and Security for CreateProcessAsUser Pin
Paul Farry9-Apr-03 20:46
professionalPaul Farry9-Apr-03 20:46 
GeneralCannot run my ADO program in Win 95 Pin
Toni789-Apr-03 19:55
Toni789-Apr-03 19:55 
I am writing a program which runs just fine in the computer where I am developing it. The OS is Windows XP. Since I wanted someone else to see my program I tried to run it on an old laptop that I have which runs on Windows 95. Unfortunately I got an error generated with _com_error which says:
Error Number: 0x80040154
Error Message: Class not registered.
I fixed this error by installing DCom95 and MDAC 2.5 Service pack 3 because they were required for windows 95.
However I get another error which says:
Error Number: 0x80004002
Error Message: No such interface supported.


This is part of the code
// Initialize the COM environment
if( FAILED( hr = ::CoInitialize( NULL ) ) )
{
_com_issue_error( hr );
}

// Create a connection with the database
// THE FIRST TIME THE PROGRAM WOULD FAIL RIGHT HERE
if( FAILED( hr = m_pConn.CreateInstance( __uuidof( Connection ) ) ) )
{
_com_issue_error( hr );
} // end if

m_pConn->Open(L"Provider=Microsoft.Jet.OLEDB.3.0;\
Data Source=SomeDbFile.mdb;",
L"", L"", adOpenUnspecified );

// NOW IT FAILS RIGHT HERE
// Create an instance of Command
if( FAILED( hr = m_pCmd.CreateInstance( __uuidof( Command ) ) ) )
{
_com_issue_error( hr );
} // end if

Besides installing DCOM95 and MDAC Is there anything that I can do to to make the program run in Windows 95?


none
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic9-Apr-03 23:38
Zdeslav Vojkovic9-Apr-03 23:38 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Toni7810-Apr-03 18:58
Toni7810-Apr-03 18:58 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic10-Apr-03 21:28
Zdeslav Vojkovic10-Apr-03 21:28 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Toni7810-Apr-03 22:35
Toni7810-Apr-03 22:35 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic10-Apr-03 23:56
Zdeslav Vojkovic10-Apr-03 23:56 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Toni7811-Apr-03 21:57
Toni7811-Apr-03 21:57 
GeneralRe: Cannot run my ADO program in Win 95 Pin
Zdeslav Vojkovic13-Apr-03 22:25
Zdeslav Vojkovic13-Apr-03 22:25 
GeneralNeed Help on Tab Ctrl Pin
kyoshiro9-Apr-03 19:44
kyoshiro9-Apr-03 19:44 
GeneralRe: Need Help on Tab Ctrl Pin
Cedric Moonen9-Apr-03 20:10
Cedric Moonen9-Apr-03 20:10 
GeneralRe: Need Help on Tab Ctrl Pin
Joan M9-Apr-03 20:44
professionalJoan M9-Apr-03 20:44 
GeneralSwitch statement and while loop Pin
Aaron Knox9-Apr-03 19:08
Aaron Knox9-Apr-03 19:08 
GeneralRe: Switch statement and while loop Pin
Joaquín M López Muñoz9-Apr-03 19:41
Joaquín M López Muñoz9-Apr-03 19:41 
GeneralRe: Switch statement and while loop Pin
Aaron Knox10-Apr-03 2:57
Aaron Knox10-Apr-03 2:57 
GeneralDate Time Picker problem Pin
rohit.dhamija9-Apr-03 18:25
rohit.dhamija9-Apr-03 18:25 
GeneralRe: Date Time Picker problem Pin
JohnJ9-Apr-03 19:44
JohnJ9-Apr-03 19:44 
GeneralProblem with SetWindowPos() function Pin
julia20009-Apr-03 17:34
julia20009-Apr-03 17:34 
GeneralRe: Problem with SetWindowPos() function Pin
Nish Nishant9-Apr-03 18:23
sitebuilderNish Nishant9-Apr-03 18:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.