Click here to Skip to main content
15,905,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General4 suspects? Pin
devvvy27-Nov-02 14:47
devvvy27-Nov-02 14:47 
GeneralRe: regsvr32 failed Pin
Peak27-Nov-02 20:21
Peak27-Nov-02 20:21 
GeneralRe: regsvr32 failed Pin
devvvy27-Nov-02 20:34
devvvy27-Nov-02 20:34 
GeneralRe: regsvr32 failed Pin
Peak27-Nov-02 21:08
Peak27-Nov-02 21:08 
GeneralRe: regsvr32 failed Pin
devvvy27-Nov-02 22:58
devvvy27-Nov-02 22:58 
GeneralWhy ole automation error!!! Pin
pnpfriend27-Nov-02 10:24
pnpfriend27-Nov-02 10:24 
GeneralRe: Why ole automation error!!! Pin
Le centriste27-Nov-02 11:57
Le centriste27-Nov-02 11:57 
GeneralRe: Why ole automation error!!! Pin
pnpfriend1-Dec-02 5:40
pnpfriend1-Dec-02 5:40 
that olecli3.cpp file is not in my project. it is a mfc cpp file.
and the run time error is in InitStance() method in projectApp file. the following code is created when you create the new project with ole support and that's where i got the run time error occure. What suprised me is I got no error or anything and the program run perfectly. but next time.. I run it again. there it is, the run time error occured there
<br />
// Parse the command line to see if launched as OLE server<br />
	if (RunEmbedded() || RunAutomated())  // <font color = red> here where run time error occured. </font><br />
	{<br />
		// Register all OLE server (factories) as running.  This enables the<br />
		//  OLE libraries to create objects from other applications.<br />
		COleTemplateServer::RegisterAll();<br />
	}<br />
	else<br />
	{<br />
		// When a server application is launched stand-alone, it is a good idea<br />
		//  to update the system registry in case it has been damaged.<br />
		COleObjectFactory::UpdateRegistryAll();<br />
	}<br />

GeneralUtility Projects Pin
Anonymous27-Nov-02 10:07
Anonymous27-Nov-02 10:07 
Generaldoc/view architecture question.. Pin
trustno127-Nov-02 9:35
trustno127-Nov-02 9:35 
GeneralRe: doc/view architecture question.. Pin
Michael P Butler27-Nov-02 9:53
Michael P Butler27-Nov-02 9:53 
GeneralRe: doc/view architecture question.. Pin
Alvaro Mendez27-Nov-02 9:55
Alvaro Mendez27-Nov-02 9:55 
GeneralVC++ 6, having trouble with MS Messenger Header and Lib Pin
Fahr27-Nov-02 9:12
Fahr27-Nov-02 9:12 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Michael P Butler27-Nov-02 9:34
Michael P Butler27-Nov-02 9:34 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Fahr27-Nov-02 9:36
Fahr27-Nov-02 9:36 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Michael P Butler27-Nov-02 9:51
Michael P Butler27-Nov-02 9:51 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Fahr27-Nov-02 10:21
Fahr27-Nov-02 10:21 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Michael P Butler27-Nov-02 10:37
Michael P Butler27-Nov-02 10:37 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Fahr27-Nov-02 10:44
Fahr27-Nov-02 10:44 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Michael P Butler27-Nov-02 11:00
Michael P Butler27-Nov-02 11:00 
GeneralRe: VC++ 6, having trouble with MS Messenger Header and Lib Pin
Fahr27-Nov-02 11:02
Fahr27-Nov-02 11:02 
QuestionOwnerdraw listbox +WS_POPUP ??? Pin
CAE27-Nov-02 9:04
CAE27-Nov-02 9:04 
GeneralCDocument saving ! Pin
act_x27-Nov-02 7:52
act_x27-Nov-02 7:52 
GeneralProblem with Adding a vector to my program Pin
Jeff Patterson27-Nov-02 7:47
Jeff Patterson27-Nov-02 7:47 
GeneralRe: Problem with Adding a vector to my program Pin
Chris Losinger27-Nov-02 7:58
professionalChris Losinger27-Nov-02 7:58 

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.