Re: Difference between F5 et running directly the debug exe



When you run an object in debug mode (F5) objects aren't cleared by the
GC in the same way that they are when you run the release version. The
reason being that they are kept alive so you can do things like view
them in the debugger and check what there values are etc... This
probabally has a lot to do with your problem.

caveat: *i'm a complete novice, what i say may be completely wrong...*

HTH Gary.

Antoine P. wrote:

Hello there -
I've got the following problem: my C# app (an .exe using different
dlls) has a different behaviour regarding the way I launch it.
The right behaviour when I press F5 from Visual C# Express, and the
wrong when I launch the exe file from the bin\debug directory.
What's the difference between the 2 calls ? This is the same .exe !
Are dll loaded differently ?
The difference is an object which becomes empty for an unknown reason.

Thanks!
Antoine.

.



Relevant Pages

  • Re: shell problem
    ... launched at boot that will launch your GPS application? ... <apellerin AT adeneo DOT adetelgroup DOT com> ... to use map application softwarein SD card as shell.Map ... software(a exe file) in SD card.And if there is other way to customize ...
    (microsoft.public.windowsce.platbuilder)
  • how to produce cross-platform exe file?
    ... In linux system, I can launch the app by this commmand: ... I can launch the app by this command: ... I want to make a exe file, so that by double clicking the exe file, ...
    (Debian-User)
  • Re: Complete Newbie
    ... file on the same CD that the exe file is on. ... Create your form and add the buttons you want to use to launch the files. ... Dim filename As String ... If no viewer is registered for the file type, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: c:windowsprefetch ?
    ... seeing what is created in the prefetch folder) that the hash that is used is ... same location then the hash will be the same and when you launch the new ... I was using a program that is simply one .exe file (no install necessary, ... for all occurences of this .exe file on my system and saw that it came up ...
    (microsoft.public.windowsxp.configuration_manage)