Thanks for your answer. I tried the solutions mentioned ( /Zl is edit and
continue debug info ) and /entry without success. I am looking for stuff
from Grimes. I think the local bookstore has a copy of his .Net book maybe
that has some answers. In the mean time building an unmanaged dll and
calling it from the managed code is ok but not good answer.
"Richard Howells" wrote in message
news:200408032022.i73KMlmP027920@milliways.osl.iu.edu...
I dimly remember seeing an article - can't find it now - by Richard Grimes(?
maybe). The gist of it was that a bug in the compiler/libraries could hit
.NET programs that use the C++ STL classes.
I think the recipe was - Remove the /Zl option (that was lower case L not
numeral 1) from the compiler options and remove the /entry option from the
linker options.
I can't recall what these options do or why they fixed the (described)
problem. I have not tried it with BGL code.
I certainly dont know if they will help you - but good luck.
- Richard
-----Original Message-----
From: boost-users-bounces@lists.boost.org
[mailto:boost-users-bounces@lists.boost.org] On Behalf Of Bill Eidson
Sent: 03 August 2004 19:50
To: boost-users@lists.boost.org
Subject: [Boost-users] BGL in mangaged C++ (.Net )
Has anyone had success running the BGL from with managed C++ code? I have
code that compiles fine, but at runtime throws a .Net exception called
TypeLoadException. Googleing and documentation I have read are no help.
The graph used is a plain vanilla adjacency_list<> and the exception occurs
durring the resize operation of the vertex vector.
thanks in advance
bille
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004
---
Outgoing mail is Virus checked.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.726 / Virus Database: 481 - Release Date: 22/07/2004