Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Static Libaries in .NET

263 views
Skip to first unread message

TGF

unread,
Nov 21, 2003, 12:57:08 PM11/21/03
to
How do I add a static library (*.lib) to a .NET MC++ app?

--
TGF

Ronald Laeremans [MSFT]

unread,
Nov 21, 2003, 3:22:07 PM11/21/03
to
If that library contains native code only, you do it in exactly the same way
as for a native application. If it contains managed code then it is not
supported and will not generally work.

Ronald Laeremans
Visual C++ team

"TGF" <tf...@engr.uconn.edu[remove brackets]> wrote in message
news:ONH1rkFs...@TK2MSFTNGP09.phx.gbl...

bob holder

unread,
Nov 21, 2003, 4:05:09 PM11/21/03
to

"Ronald Laeremans [MSFT]" <ron...@online.microsoft.com> wrote in message
news:OIHoj0Gs...@TK2MSFTNGP09.phx.gbl...

> If that library contains native code only, you do it in exactly the same
way
> as for a native application.

seems reasonable.

>If it contains managed code then it is not
> supported and will not generally work.
>
> Ronald Laeremans
> Visual C++ team

Exactly how would one create a static library that contains managed code?

bob


Ronald Laeremans [MSFT]

unread,
Nov 21, 2003, 7:21:51 PM11/21/03
to
You cannot create a static library that contains managed code. Or to be more
exact, you can create one, but using it won't work. This is a (undesired)
side effect on how we currently do the mixing of managed and unmanaged code.

Ronald

"bob holder" <bob.h...@boeing.com> wrote in message
news:%2379unMH...@TK2MSFTNGP12.phx.gbl...

0 new messages