Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. MFC & ATL + Netware problem

MFC & ATL + Netware problem

Scheduled Pinned Locked Moved C / C++ / MFC
c++cssvisual-studiotoolshelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Brian Shifrin
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups