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

Export C++ class from a Borland DLL and use it in Microsoft VC

P: n/a
Hi All,

I'm new of this group and I do not know if this is the correct group
for my question.
I have a DLL with its export library (.lib) wrote in Borland C++ 6. In
borland everything is OK and I am able to include the lib and use the
class that i have exported creating an instance with new etc... I
would like to export this class in microsoft VC++ using the same .lib
file. Obviously it doesn' t work.

Is it possible to generate or convert the import library into a
compatible format?

Thank you in advance

Fabry

Sep 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"Fabry" <fa************@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
| Hi All,
|
| I'm new of this group and I do not know if this is the correct group
| for my question.

Please post VC questions to the microsoft.public.dotnet.languages.vc NG.

| I have a DLL with its export library (.lib) wrote in Borland C++ 6. In
| borland everything is OK and I am able to include the lib and use the
| class that i have exported creating an instance with new etc... I
| would like to export this class in microsoft VC++ using the same .lib
| file. Obviously it doesn' t work.
|
| Is it possible to generate or convert the import library into a
| compatible format?
|

Recompiling the source using VC+?

Willy.


Sep 28 '06 #2

P: n/a
Hi Willy,

Yes I am tring to recompile the code also using microsoft IDE in order
to provide a generic library for many users.

Thanks

Fabry

Willy Denoyette [MVP] ha scritto:
"Fabry" <fa************@gmail.comwrote in message
news:11**********************@h48g2000cwc.googlegr oups.com...
| Hi All,
|
| I'm new of this group and I do not know if this is the correct group
| for my question.

Please post VC questions to the microsoft.public.dotnet.languages.vc NG.

| I have a DLL with its export library (.lib) wrote in Borland C++ 6. In
| borland everything is OK and I am able to include the lib and use the
| class that i have exported creating an instance with new etc... I
| would like to export this class in microsoft VC++ using the same .lib
| file. Obviously it doesn' t work.
|
| Is it possible to generate or convert the import library into a
| compatible format?
|

Recompiling the source using VC+?

Willy.
Sep 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.