Hi Khai Binh,

On Wed, 2005-03-23 at 17:51 +0100, Khai Binh Duong wrote:
> Hi,
> 
> what purpose does this constructor method have? It is called during the
> init phase of OpenSG.

It's used to create the prototype instance, which is copied to create
all other instances.

> I ask, because this constructor of an self created FieldContainer causes
> indirectly
> a debug assertion failed in MS C++ from type :
> _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)

I haven't seen that before, but it sounds like the common Heap mismatch
problem. You have to make sure that all the DLLs used in your program
use the same runtime lib (MT or not, debug or not), or you will have
real trouble avoiding these errors.

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Announcements:   http://lists.sf.net/lists/listinfo/opensg-announce



-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to