Re: mixing managed and unmanaged C++ libraries

Ray Tayek <[email protected]> Mon, 2 Apr 2007 15:21:30 -0700
Newsgroups gmane.comp.windows.devel.dotnet.cx
Message-ID <[email protected]>
At 06:41 AM 4/2/2007, you wrote:
>No response? Darn.
>
> > -----Original Message-----
> > From: Discussion relating to the specifics of the C# and
>...
> > A have a bunch of libraries which link to a DLL.  I thought
> > maybe I could set one of them to compile managed code and get
> > the whole thing to link.  So far, it gives me lots of errors.
> > Maybe I'm doing this wrong.  Is there any way I can get this
> > working without changing the settings of all the LIB projects?
> >

  i have managed to get the following to work.

nunit tests in a managed c++ dll/assembly (or whatetver m$calls it
today). pure  c++ code using c++ in another vanilla (iirc) dll. a
main program that has to be clr or something. i did this in visual
studio 2005 and do not remember the details. but it seemed to work.
the trick will be picking just the right option for each piece.

thanks


---
vice-chair http://ocjug.org/

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com