Re: Some MM challenge musings

Dennis
Date: 02/10/05


Date: Thu, 10 Feb 2005 15:43:30 -0500

A additional comment on the usage of FastMove.pas

If the main application ( *.exe ) using Fastmove.pas loads a *.dll which also uses
FastMove.pas all is fine except when both the *.exe and the *.dll are built with
"packages" enabled. In this case the second instance of FastMove.pas which gets loaded
from the *.dll takes over the RTL pointers to the remapped first instance in the *.exe and
everything gets very unstable when the dll gets unloaded or the *.exe is shutdown.

Something should be done to the Fastmove.pas unit initialization code to try and recognise
that another instance of FastMove.pas has already remapped itself into the RTL and not
doing anything if found.

Dennis Passmore
Ultimate Software, Inc.



Relevant Pages

  • Re: Editors
    ... some strip them on exe files by default. ... "preferred base address" and, yup, relocations are completely ... DLL files, though, aren't loaded into their own address space but are ... EXE's "entry-point", though, is not "special" in that it's just an ...
    (alt.lang.asm)
  • Re: DLL pass vector by value crash
    ... The prototype for testfunc is a by-value copy, so it has to make a copy of the value. ... Are you using static linking for either the .exe (if so, it probably won't work correctly, ... clearly using the shared CRT DLL for the DLL you are constructing. ... no crash occurs in either config. ...
    (microsoft.public.vc.mfc)
  • Re: DLL pass vector by value crash
    ... stack of the exe and may allocate default member element on the exe heap. ... If this is a dangerous situation, the simple app I set up calling testFunc() ... in a dll did not crash. ... msvcr90.dll!free and access the source code of free.c. ...
    (microsoft.public.vc.mfc)
  • Re: Releasing my VB.NET app over the intranet
    ... of the primary EXE and when compiled I am copying the contents ... the directory and open a browser on the web server and type ... > another dll, we need to put the dll in the same directory, so that the clr ... > The executable will be downloaded to the assembly download cache on the ...
    (microsoft.public.dotnet.framework)
  • Re: My.Settings Questions
    ... I finally figured it out after playing with ConfigurationManager and RoamingUserANdLocal stuff to get the application user.config. ... Duplicated it but the ended just the one in the DLL since it is self contained and used properties to all the EXE to setup if it needs too. ... Should the EXE has the My.Settings and prepare the login form before doing a ShowDialog or can I do this in the Loginform class Load event by passing My.Settings to the constructor? ...
    (microsoft.public.dotnet.languages.vb)