Re: Get Filename of base exe

Tech-Archive recommends: Fix windows errors by optimizing your registry



GetExecutingAssembly.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com

"James Sleza" <james.sleza@xxxxxxxxx> wrote in message news:eNGTrPVLJHA.2760@xxxxxxxxxxxxxxxxxxxxxxx
Hello

I have a DLL and an EXE. Is it possible to get the exe name & path which is refering to the DLL?
I've tried GetCallingAssembly but this is only showing me the DLL name, not the exe name.

Thanks

.



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: Shortcut Localization
    ... So far it looks like the DLL option so far is the best ... LNK files do ... Chris Tacke, Embedded MVP ... This is why %CE1% etc exists in the INF file. ...
    (microsoft.public.pocketpc.developer)
  • Re: Shortcut Localization
    ... LNK files do ... It can all be done in a single DLL that is used for all locales, ... Chris Tacke, Embedded MVP ... This is why %CE1% etc exists in the INF file. ...
    (microsoft.public.pocketpc.developer)
  • 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)