![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | microsoft doesn't support dotnet "plugins" good enough if my program is an .exe application and I need to reference external assemblies, no problem. I can embed my manifest as resource 1. But if my program is itself a "plugin," that is a dll that gets loaded to another .exe program, there's problems. I can still reference the external assembly via resource identifier 2, but if it is a com oriented external assembly I have to either modify the hosting .exe application's resource manifest, use regsvr32, or I have to play around with activation contexts. thoughts? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: microsoft doesn't support dotnet "plugins" good enough One idea: (if you have any control in the other exe) Provide an interface (ahead of time) to the other .exe. Then you can provide any number of concretes versions of the interface. Then instantiate via Reflection. http://sholliday.spaces.live.com/Blo...842A!126.entry See the Reflection example. "alexl" <alextheblade@xxxxxx> wrote in message news:d10ee2bb-8466-44c4-bb8f-03b708ae39c2@xxxxxx Quote: > if my program is an .exe application and I need to reference external > assemblies, no problem. I can embed my manifest as resource 1. But if > my program is itself a "plugin," that is a dll that gets loaded to > another .exe program, there's problems. I can still reference the > external assembly via resource identifier 2, but if it is a com > oriented external assembly I have to either modify the hosting .exe > application's resource manifest, use regsvr32, or I have to play > around with activation contexts. thoughts? |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Exception calling "CreateInstance" with "2" argument(s): for Microsoft.Update.UpdateColl | PowerShell | |||
| New Problem - "From" Address format in "Microsoft Communities" | Live Mail | |||
| "microsoft help and support has stopped working" | Vista General | |||
| interesting "issue" or "bug" with psobjects when calling DOTNET framework stuff | PowerShell | |||