Discussion:
How to create a library that can be called by Visual C++ 2009 Express Edition
(too old to reply)
Johnson
2009-10-05 15:41:09 UTC
Permalink
I have created a C++ application with Visual C++ 2008 Express Edition,
and now I want to hide some codes into a library, then call this library
within the C++ application.

I think I can only create Class Library with Visual C++ 2008 Express
Edition, which will be managed codes. If I do so, I will encounter the
problem as calling managed C++ codes from unmanaged C++ codes, which is
far from easy. Any suggestion please?

For example, can I develop the library with other free tools/IDEs such
as Eclipse and gcc, or Borland C++? This way I will have a unmanaged C++
library. please help.

Thank you in advance!

Johnson
Victor Bazarov
2009-10-05 15:52:14 UTC
Permalink
Post by Johnson
I have created a C++ application with Visual C++ 2008 Express Edition,
and now I want to hide some codes into a library, then call this library
within the C++ application.
I think I can only create Class Library with Visual C++ 2008 Express
Edition, which will be managed codes.
What makes you think that? AFAIUI, you should be able to create a
"regular" Windows DLL.
Post by Johnson
[..]
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Wayne A. King
2009-10-06 01:26:23 UTC
Permalink
Post by Johnson
and now I want to hide some codes into a library, then call this library
within the C++ application.
Are you looking to create a static lib or a dynamic lib (dll)?

Note that the Express Edition includes lib.exe which is the Library
Manager.

Feature matrix

http://msdn.microsoft.com/en-us/library/hs24szh9.aspx

LIB Reference

http://msdn.microsoft.com/en-us/library/7ykb2k5f.aspx

- Wayne

- Wayne A. King
***@rogers.com

Loading...