dll problem in C#

J

Jason Huang

Hi,


In my company, we used to use Visual Basic in our old application, and it's
OK 'cause the VB will encapsulate all the needed DLLs into that application.
So the application runs well on all our clients who has different versions
of Microsoft Office.
Now, we are developing our new Window Forms application using C#.Net.
Saying that I develop my applicaion on my Windows XP + Office 2000
environment, but the application won't run on a client who has Windows XP +
Office 2003.
Is it possible that we encapsulate all needed DLLs in our application so
that all our clients can run well?
Thanks for help.


Jason
 
T

Tasos Vogiatzoglou

Jason,

The main issue is that when you import a COM object to a managed
assembly an interop layer is created that is directly "bound" to the
version of the dlls you have.

If you want to support different appilcations but multiple builds are
not acceptable you 'll have to create the wrappers yourself.

Regards,
Tasos
 

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

Top