By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

Finding assemblies from mixed mode c++ dll

P: n/a

I'm in the process of migrating a plugin to Microsoft Visio to .NET.
The plugin is a regular c/c++ dll that loads other dlls.

I have converted one of these other dlls to use managed extensions
and plan on using that dll as an interface to the new .NET code which
will be written in C#

The problem is when my managed c/c++ dll is trying to access the assembly
written in c# it looks in the Visio directory (c:\Program Files\Microsoft Office\Visio10\)
and my plugin is located in c:\myplugin\. so it does not find my c# assambly.
If I copy my assembly to the visio directory it works, but that is not an acceptable deployment

How can I make .NET look in the same directory as the calling dll instead of the directory of
the calling exe?

I'm using Visual Studio .NET 2003

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.