Thank you for the reply. I am using Windows XP ans still facing this problem. Can u also please tell me what exactly happens during CoCreateInstance (which DLL is loaded etc)that is taking more time in the first execution? Thanx
Chirag_Saglani
Posts
-
CoCreateInstance -
CoCreateInstanceI 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
-
HTTPS and HTTPthanx for the help. Well i thought that https should be used only wen needed. (cause it is heavier than http in terms of performance) Correct me if i am wrong. Is it that both perform equally efficiently if the data returned by the server is large ????? If both are same then PROBLEM SOLVED but..... If https is heavier at all... is there another way i can switch between http and https.
-
HTTPS and HTTPI have a Web Service with 2 Web Methods. I want to call 1 by https and other by http. To get https, I have checked the "REQUIRE SECURE CHANNEL (SSL)" option in IIS. Due to this all the WebMethods of the WebService need to be called by https. And i want to call only 1 WebMethod by https. Someone please Help. Thanx
-
switching from https to http and vice versaThanx. See... Redirect will be after I get the response from the sever right ?? So this means that when i send a request to the server by https, the response will also be by https. In my case, I want the server to respond by http. See If u can help. Thanx Regards,
-
switching from https to http and vice versaHi, I am sending request to the server using an https protocol. I want the server to respond with http protocol. Is it possible and how? Chirag P. Saglani Chirag P. Saglani