A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Performance and Maintainance of Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Performance and Maintainance of Windows Vista A forum for performance and maintenance tasks in Windows Vista. (microsoft.public.windows.vista.performance_maintainance)

Performance problem in Vista Windows explorer if /SWAPRUN:NET is seton an executable.



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 9th 09, 10:09 AM posted to microsoft.public.windows.vista.performance_maintenance
patrick.vancauteren
external usenet poster
 
Posts: 2
Default Performance problem in Vista Windows explorer if /SWAPRUN:NET is seton an executable.

I have rather big executables (about 25-35 MB). Because I want my
users to easily execute my application, I don't want them to install a
bunch of DLL's, just xcopy-install is OK for me (and my customers).
Because my software is often run from a network drive, and my
customers' networks are not always reliable, I link my executables
using the /SWAPRUN:NET option. This guarantees that the whole EXE is
loaded in memory before the application starts, and prevents crashes
if the network connection is dropped while my application is running.
This worked fine so far, BUT ... under Windows Vista, if a network
folder has lots of such executables (10, 50, 100, ...) then opening
this folder in the Windows explorer takes a lot of time (minutes!).
Especially, the visualization of the executables' icons takes a lot of
time. This problem did not appear on Windows XP.
Today, I found out that the problem is caused by the /SWAPRUN:NET
option. If I remove this linker option (or disable this flag with
EDITBIN), than the Vista Windows explorer immediately shows all icons.
Disabling this flag is not really an option (see reasons above).
Is there another way to tell Vista that it should not load the
complete executable file if it only needs to show the icon (or other
version information) in the explorer?

Thanks,
Patrick
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:56 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.