Boost logo

Boost Users :

From: Bill Eidson (bill_eidson_at_[hidden])
Date: 2004-08-03 16:43:03


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" <richard_at_[hidden]> wrote in message
news:200408032022.i73KMlmP027920_at_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 don’t know if they will help you - but good luck.

- Richard

-----Original Message-----
From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Bill Eidson
Sent: 03 August 2004 19:50
To: boost-users_at_[hidden]
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_at_[hidden]
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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net