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

dll problem... please help.....

P: n/a
Hi, Further to my last post.....

I have Borland classes which I want to use in .NET (the classes have methods
that return user defined objects), and the classes are HUGE (i.e I don't
want to re code them). I have a dll which incorporates further classes that
provides an interface to access all the methods in the Borland classes, and
the interface methods do not return anything. However we found that the
Borland generated dll does not work with MS VC++6 because the .lib file
could not be understood by MS. Therefore a MS wrapper dll was generated
which can talk to the Borland dll and can be accessed from MS VC++ 6.
However when I try and access this dll (using P/Invoke) in .NET it throws an
exception and says dll not found???? I have also tried to re-compile the
wrapper in .NET and it complains about: error C2872: 'IServiceProvider' :
ambiguous symbol???

Any suggestions.....?????

Many thanks

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.