CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2004
    Posts
    15

    Lightbulb Accessing already loaded C# dll in VC++

    Hi,

    I have created a plugin ( dll ) in C#, which is actually loaded by an application.
    actually this dll is the person who talks to the application.

    So whenever the application starts up the dll is automatically loaded by the application.

    I have return all the functions like getting information from the application inside the dll.

    So my requirement is.....

    I have a Exe which should actually call the functions of the dll loaded by the application.

    Simply I want to access the dll which is already loaded by another application, without loading it again.

    Very Urgent, Please give me a solution as quick as possible...

    Thanks in Advance.

  2. #2
    Join Date
    Dec 2003
    Location
    Montreal
    Posts
    58

    Re: Accessing already loaded C# dll in VC++

    From what I understand of your requirements, you want the exe to call methods in your DLL and use some data that the other exe has set?

    Then use .NET Remoting to talk from application to application in this case, or named shared memory would be another option (if they are on the same computer).

  3. #3
    Join Date
    Mar 2004
    Posts
    15

    Lightbulb Re: Accessing already loaded C# dll in VC++

    Hi CJ1,

    Can you please tell me about this in brief...........

    ->named shared memory
    ->.NET Remoting to talk from application to application

    Where do I get a sample for this?

  4. #4
    Join Date
    Aug 2004
    Posts
    10

    Re: Accessing already loaded C# dll in VC++

    Hi
    Go to www.thecodeproject.com and search "Remoting".You will find lot of GooooD atrticles and code samples there.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured