Re: DLL Load issue



George <George@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Your idea of using IPC is good. My situation is, I am developing a
plug-in only (COM DLL) and for other 3rd application to load. I can
not control the behavior of other applications, and I can only change
the code of the COM DLL.

You can write both a DLL plugin and an EXE server. This third party app
will load your COM DLL and call its methods. The DLL in turn will create
an instance of the EXE server and forward all calls to it. The DLL
doesn't maintain any data itself, the out-of-proc server maintains all
the necessary state on behalf of all the DLL clients. Since all the
copies of the DLL are talking to the same process, they all effectively
share data.
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925


.



Relevant Pages

  • Re: running a service/driver/application upon startup
    ... debug version of the image is too large to load onto the device. ... I ran dumpbin/exports on the finger dll and saw the required function names: ... > theories as to why it's not getting loaded but just doing 'services load ...
    (microsoft.public.windowsce.embedded)
  • RE: binding failure on 3rd party assembly - works in Debug, not in
    ... and in Release build regasm also fails trying to load ... it works in Debug builds. ... I have 5 different x64 versions of this dll. ... Use this to trace the file system behaviors of your applicaiton. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Unable to load custom driver on WinCE 6
    ... I'm trying to make and load a simple DLL on WinCE 6 by following the ... I've made a subproject at PB project to include the simple DLL ... At the target device, the mydriver.dll file is in the Windows ... I wrote a simple application to load the driver dynamically ...
    (microsoft.public.windowsce.embedded)
  • Re: Cannot activate sbcl
    ... but I think what happens is that Windows sees that your executable has a DATA section that might overlap a DLL's address space then it would reallocate that DLL to different address space. ... VirtualAlloc dynamically in your code is that your program and all its ... What can be done here is to have many tiny executables with different BSS sections in them, which then load a bigger executable in the form of a DLL. ...
    (comp.lang.lisp)
  • Re: DLL load should be easy, but errors
    ... But I cant load even the simple DLL I ... Just supply the exe with the path to the DLL I showed. ... foreach (Type typ in types) ... 'typ.GenericParameterAttributes' threw an exception of type ...
    (microsoft.public.dotnet.languages.csharp)