Referencing an Exe from another Exe

  • Thread starter Thread starter Nice Chap
  • Start date Start date
N

Nice Chap

I know this is NOT possible in Visual Studio but some how Sharp Develop can
do it !! any thoughts...
 
Nice Chap said:
I know this is NOT possible in Visual Studio but some how Sharp Develop can
do it !! any thoughts...

From a technical standpoint that should not be a problem, but it stands
against the concept of /libraries/, which are not executables.
 
Herfried said:
From a technical standpoint that should not be a problem, but it
stands against the concept of /libraries/, which are not executables.

It's a shame though.

I have an .exe application which calls into various plug-in DLLs. It
provides an instance of a class within the .exe so that the plug-ins can
query properties from the application and invoke methods upon it.

In VB.NET I am unable to early-bind to this object as I can't reference the
..exe. Instead I have to either late-bind (which I'd really rather not do) or
move my classes to a separate .DLL, which will fragment my application.

Is there a work-around for this?
 
Oenone said:
It's a shame though.

I have an .exe application which calls into various plug-in DLLs. It
provides an instance of a class within the .exe so that the plug-ins can
query properties from the application and invoke methods upon it.

In VB.NET I am unable to early-bind to this object as I can't reference
the .exe. Instead I have to either late-bind (which I'd really rather not
do) or move my classes to a separate .DLL, which will fragment my
application.

Is there a work-around for this?

VS 2005 ("Whidbey") will support references to executable files.
 
I presume the Exe will be treated as a library of types rather than an
executable. What I mean is, CLR may not 'run' the referenced exe but allow
us to create instances of types within the referenced exe.
 
Nice Chap said:
I presume the Exe will be treated as a library of types rather than an
executable. What I mean is, CLR may not 'run' the referenced exe but allow
us to create instances of types within the referenced exe.

Yes, by setting a reference to an EXE file in VS 2005 the EXE file will be
treated as a library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top