Click here to Skip to main content
15,886,799 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problems with drop down box Pin
Tom Wright23-Jun-03 11:34
Tom Wright23-Jun-03 11:34 
GeneralRe: Problems with drop down box Pin
Dave Bryant23-Jun-03 11:38
Dave Bryant23-Jun-03 11:38 
GeneralRe: Problems with drop down box Pin
Tom Wright23-Jun-03 11:54
Tom Wright23-Jun-03 11:54 
GeneralRe: Problems with drop down box Pin
basementman23-Jun-03 16:26
basementman23-Jun-03 16:26 
GeneralRe: Problems with drop down box Pin
Dave Bryant23-Jun-03 16:31
Dave Bryant23-Jun-03 16:31 
GeneralMAPI Pin
act_x23-Jun-03 10:07
act_x23-Jun-03 10:07 
GeneralRe: MAPI Pin
David Crow23-Jun-03 10:24
David Crow23-Jun-03 10:24 
GeneralMFC & ATL + Netware problem Pin
Brian Shifrin23-Jun-03 9:56
Brian Shifrin23-Jun-03 9:56 
I have script host embeded inside my MFC & ATL app.

It mostly reads/executes JScript code sending results back to MFC View to be displayed.

Program runs very fast when started from local drive, also I can place all scripts on shared netware volume and it will still take less then 1sec to display interface.

Trouble comes when executable is placed on netware volume. It takes 25sec to display first screen vs << 1sec local. After that everything runs fast again.

Profile lists
CWinThread::PumpMessage 27.9 seconds
AfxWinMain 31.8 seconds
IsLink 4.5 seconds
CMDIFrame::DefWindowProcA 3.5second

Not entirely unexpected as looks like system is waiting....


Numega TrueTime even more dramatic:
Application time: 0.29%
System Time : 99.71%

System Time: WaitForMultipleObjectsEx 99%
This function has been called by LoadRegTypeLib 90%
and GetFileAttribEx - 5%....

Those function called 100% by SetScriptState(SCRIPTSTATE_CONNECTED);

Have anybody seen such behaviour????

Any1 aware of any issues btw Netware and MFC & ATL?

P.S. I tried to SetCurrentDirectory to temp and it had no imact...
Compress executable with UPX... UPX unpacks file inside env "C:\TEMP" still darn 25seconds plus to start....

Any suggestions....

Thanks
Brian
GeneralDo you know HLP95EN.DLL Pin
algruber23-Jun-03 9:51
algruber23-Jun-03 9:51 
GeneralModeless MFC dialog problem in Winamp plugin dll Pin
Member 34159623-Jun-03 9:23
Member 34159623-Jun-03 9:23 
GeneralModifying WM_COMMAND to another app Pin
Fahr23-Jun-03 8:08
Fahr23-Jun-03 8:08 
GeneralFocus notification Pin
Atlence23-Jun-03 8:06
Atlence23-Jun-03 8:06 
GeneralRe: Focus notification Pin
Neville Franks23-Jun-03 11:35
Neville Franks23-Jun-03 11:35 
GeneralRe: Focus notification Pin
Atlence23-Jun-03 21:07
Atlence23-Jun-03 21:07 
GeneralRe: Focus notification Pin
Neville Franks23-Jun-03 23:26
Neville Franks23-Jun-03 23:26 
GeneralRe: Focus notification Pin
Atlence24-Jun-03 0:45
Atlence24-Jun-03 0:45 
GeneralRe: Focus notification Pin
Neville Franks24-Jun-03 12:07
Neville Franks24-Jun-03 12:07 
GeneralRe: Focus notification Pin
Atlence26-Jun-03 3:55
Atlence26-Jun-03 3:55 
GeneralRe: Focus notification Pin
Neville Franks26-Jun-03 21:32
Neville Franks26-Jun-03 21:32 
QuestionCFileDialog change directory? Pin
electronicman_x23-Jun-03 7:26
electronicman_x23-Jun-03 7:26 
AnswerRe: CFileDialog change directory? Pin
basementman23-Jun-03 7:39
basementman23-Jun-03 7:39 
GeneralRe: CFileDialog change directory? Pin
electronicman_x23-Jun-03 7:52
electronicman_x23-Jun-03 7:52 
GeneralAOL Messenger Pin
Saquib Razak23-Jun-03 6:50
Saquib Razak23-Jun-03 6:50 
GeneralRe: AOL Messenger Pin
Atlence23-Jun-03 8:14
Atlence23-Jun-03 8:14 
GeneralRe: AOL Messenger Pin
Saquib Razak23-Jun-03 10:10
Saquib Razak23-Jun-03 10:10 

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.