Click here to Skip to main content
15,915,501 members
Home / Discussions / COM
   

COM

 
QuestionAccessing COM componenets from Java Pin
kozu5-Oct-05 8:07
kozu5-Oct-05 8:07 
AnswerRe: Accessing COM componenets from Java Pin
Carsten Leue21-Oct-05 22:45
Carsten Leue21-Oct-05 22:45 
QuestionCOM objects in VC#...client in VC++6... how??? Pin
nonothing5-Oct-05 7:55
nonothing5-Oct-05 7:55 
QuestionRegistering Proxy/stub DLL Pin
David_Leikis5-Oct-05 4:34
David_Leikis5-Oct-05 4:34 
AnswerRe: Registering Proxy/stub DLL Pin
Roger Stoltz11-Oct-05 2:31
Roger Stoltz11-Oct-05 2:31 
GeneralRe: Registering Proxy/stub DLL Pin
David_Leikis11-Oct-05 2:59
David_Leikis11-Oct-05 2:59 
GeneralRe: Registering Proxy/stub DLL Pin
Roger Stoltz11-Oct-05 3:24
Roger Stoltz11-Oct-05 3:24 
QuestionCoCreateInstance Pin
Chirag_Saglani5-Oct-05 0:46
Chirag_Saglani5-Oct-05 0:46 
I am executing the following code in VC.

-----------
HRESULT hr = CoInitialize( NULL );
hr = CoCreateInstance( CLSID_RegExp, NULL,
CLSCTX_SERVER, IID_IRegExp, (void**)&m_pIRegExp);
CoUninitialize();
---------------

I find that in the first execution(i.e. after restarting my machine) the time taken to execute this code is more than the subsequent executions.
The main time taken in case of 1st run is by CoCreateInstance

I am measuring the time taken using IBM's Rational(so I can trust their output).

Can u help me figure out the problem?
Is it that for the 1st time I run the application, some dll's are loaded in the memory which doesnot happen in the subsequent runs? Is this some funda of COM?

Please help.

P.S. Performance improvement is my main focus

Chirag Saglani
AnswerRe: CoCreateInstance Pin
Jörgen Sigvardsson5-Oct-05 2:19
Jörgen Sigvardsson5-Oct-05 2:19 
GeneralRe: CoCreateInstance Pin
Chirag_Saglani5-Oct-05 17:30
Chirag_Saglani5-Oct-05 17:30 
AnswerRe: CoCreateInstance Pin
vishalmore11-Oct-05 2:07
vishalmore11-Oct-05 2:07 
QuestionQuestion to Gurus Pin
Jagadeesh VN4-Oct-05 20:35
Jagadeesh VN4-Oct-05 20:35 
AnswerRe: Question to Gurus Pin
vishalmore11-Oct-05 2:24
vishalmore11-Oct-05 2:24 
QuestionStrange, even stranger errors with my DCOM... (Long MSG) Pin
morenz4-Oct-05 3:29
morenz4-Oct-05 3:29 
AnswerRe: Strange, even stranger errors with my DCOM... (Long MSG) Pin
morenz5-Oct-05 4:31
morenz5-Oct-05 4:31 
Questionhelp for COM ebooks Pin
rohanr2p4-Oct-05 1:58
rohanr2p4-Oct-05 1:58 
AnswerRe: help for COM ebooks Pin
morenz4-Oct-05 3:36
morenz4-Oct-05 3:36 
AnswerRe: help for COM ebooks Pin
GizzoF4-Oct-05 5:41
GizzoF4-Oct-05 5:41 
AnswerRe: help for COM ebooks Pin
Brian C Hart30-Dec-05 23:31
professionalBrian C Hart30-Dec-05 23:31 
AnswerRe: help for COM ebooks Pin
Brian C Hart30-Dec-05 23:32
professionalBrian C Hart30-Dec-05 23:32 
QuestionStore procedure access through com dll in c++ Pin
Anonymous3-Oct-05 17:15
Anonymous3-Oct-05 17:15 
AnswerRe: Store procedure access through com dll in c++ Pin
Kurt _B18-Oct-05 10:02
Kurt _B18-Oct-05 10:02 
Questionhelp req in interoperatibility of com & .net Pin
arusmemon3-Oct-05 4:17
arusmemon3-Oct-05 4:17 
QuestionCOM getting phased out ? Pin
prcontact@hotmail.com3-Oct-05 2:56
prcontact@hotmail.com3-Oct-05 2:56 
GeneralRe: COM getting phased out ? Pin
Jörgen Sigvardsson3-Oct-05 6:20
Jörgen Sigvardsson3-Oct-05 6:20 

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.