Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to control LEDs using Parallel Port and Turbo C? Pin
transoft14-Dec-09 4:35
transoft14-Dec-09 4:35 
QuestionRect Pin
kumar sanghvi14-Dec-09 2:29
kumar sanghvi14-Dec-09 2:29 
AnswerRe: Rect Pin
CPallini14-Dec-09 2:56
mveCPallini14-Dec-09 2:56 
GeneralRe: Rect Pin
kumar sanghvi14-Dec-09 17:39
kumar sanghvi14-Dec-09 17:39 
GeneralRe: Rect Pin
loyal ginger14-Dec-09 18:02
loyal ginger14-Dec-09 18:02 
GeneralRe: Rect Pin
kumar sanghvi14-Dec-09 18:37
kumar sanghvi14-Dec-09 18:37 
GeneralRe: Rect Pin
Cedric Moonen14-Dec-09 21:04
Cedric Moonen14-Dec-09 21:04 
QuestionFailed to initialize COM library error Pin
Le@rner14-Dec-09 1:22
Le@rner14-Dec-09 1:22 
Hi all,

I have made a exe using VS-2008.
I am trying to run that exe on another pc which not having VS-2008 inatalled on it (having OS - win xp with sp3), in my exe i have initialised COM using this code.

hres =  CoInitializeEx(0, COINIT_MULTITHREADED); 
    if (FAILED(hres))
    {
        AfxMessageBox(_T("Failed to initialize COM library") );
		return;                  // Program has failed.
    }


But every time i run my exe on this machine it gives "Failed to initialize COM library".

Do i need to install anything extra on this machine...

Or what other problem there might be?

Can anybody help me in this...

Thanks in advance

To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.

AnswerRe: Failed to initialize COM library error Pin
CPallini14-Dec-09 1:38
mveCPallini14-Dec-09 1:38 
AnswerRe: Failed to initialize COM library error Pin
Durga_Devi14-Dec-09 2:07
Durga_Devi14-Dec-09 2:07 
GeneralRe: Failed to initialize COM library error Pin
CPallini14-Dec-09 2:17
mveCPallini14-Dec-09 2:17 
AnswerRe: Failed to initialize COM library error Pin
transoft14-Dec-09 3:59
transoft14-Dec-09 3:59 
QuestionDrawText Pin
kumar sanghvi14-Dec-09 0:32
kumar sanghvi14-Dec-09 0:32 
AnswerRe: DrawText Pin
CPallini14-Dec-09 0:42
mveCPallini14-Dec-09 0:42 
GeneralRe: DrawText Pin
kumar sanghvi14-Dec-09 0:54
kumar sanghvi14-Dec-09 0:54 
GeneralRe: DrawText Pin
CPallini14-Dec-09 0:59
mveCPallini14-Dec-09 0:59 
GeneralRe: DrawText Pin
kumar sanghvi14-Dec-09 1:02
kumar sanghvi14-Dec-09 1:02 
GeneralRe: DrawText Pin
CPallini14-Dec-09 1:29
mveCPallini14-Dec-09 1:29 
QuestionDSN Creation through SQLConfigDataSource() funciton Pin
Durga_Devi14-Dec-09 0:17
Durga_Devi14-Dec-09 0:17 
AnswerRe: DSN Creation through SQLConfigDataSource() funciton Pin
Moak14-Dec-09 0:46
Moak14-Dec-09 0:46 
GeneralRe: DSN Creation through SQLConfigDataSource() funciton Pin
Durga_Devi14-Dec-09 1:14
Durga_Devi14-Dec-09 1:14 
GeneralRe: DSN Creation through SQLConfigDataSource() funciton [modified] Pin
Moak14-Dec-09 1:47
Moak14-Dec-09 1:47 
GeneralRe: DSN Creation through SQLConfigDataSource() funciton Pin
Durga_Devi14-Dec-09 1:59
Durga_Devi14-Dec-09 1:59 
QuestionRe: DSN Creation through SQLConfigDataSource() funciton Pin
David Crow15-Dec-09 3:14
David Crow15-Dec-09 3:14 
QuestionControls are erased when dragging a dialog Pin
m_mun14-Dec-09 0:15
m_mun14-Dec-09 0:15 

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.