Re: Reading a file from DLL.

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Ramesh Babu (ramesh.babu_at_hp.com)
Date: 06/03/04


Date: Thu, 03 Jun 2004 10:47:46 -0700


Thanks Han.

But is it possible from the dll to know the location of the xml. I know
its possible through reflection and getting the source directory of the
dll and executing from that location. But any simpler technique where i
could get the location from the dll rather than passing it as a
parameter from the exe file.

If passing is the critieria i might have to do for all the exe file
using the dll.

Thanks in advance
Ramesh

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: How to pass object from dll to exe? error <98>
    ... But you didn't say you were passing an object, ... std exe maininjects dll into AutoCad process space (for speed reasons ... When an EXE launches, the Windows loader, loads the program into its ... Set MyDll = oAcadApp.GetInterfaceObject ...
    (microsoft.public.vb.general.discussion)
  • Re: Critical section shared betwen dll and main program
    ... I am discussing the case of dynamic DLL ... loading and passing PCRITICAL_SECTION between old version of DLL ... and an executable which was build in newer environment. ... without passing a pointer to the kernel32.dll? ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Passing LPVOID between managed to unmanaged code
    ... You can completely bypass MC++ and use P/Invoke to call the unmanaged DLL ... Neither of these two options require IntPtr. ... LPVOID as a parameter for passing the structure. ...
    (microsoft.public.dotnet.framework)
  • Re: HANDLE * Error
    ... The DLL developers recommend passing a HANDLE object using the ... On successful execution of the code 'obj' is initialised to some ... In a VC++ Windows Form Application using VS2005, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: [OT] Re: pass char* over dll-boundaries
    ... >> Passing memory from an executable to a DLL is not something that is ... your original question *was* about passing between different ... If you need a *separate* char array, ...
    (comp.lang.cpp)