There have been a number of posts about the reasons why MFC falsely reporting memory leaks. These leaks can be seen when the osgviewerMFC example exits. I wasted a few hours trying to get rid of them, none of the suggested solutions worked for me. What did work, which I have posted here in case it is of use to others, is to list the following osg DLL names in the "Delay Loaded DLLs" field of the project's linker/input properties:
osg55-osgd.dll osg55-osgDBd.dll osg55-osgGAd.dll osg55-osgViewerd.dll osg55-osgTextd.dll John W <DIV><FONT size="1"> E-mail confidentiality. -------------------------------- This e-mail contains confidential and / or privileged information belonging to Spirent Communications plc, its affiliates and / or subsidiaries. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution and / or the taking of any action based upon reliance on the contents of this transmission is strictly forbidden. If you have received this message in error please notify the sender by return e-mail and delete it from your system. If you require assistance, please contact our IT department at [email protected]. Spirent Communications plc Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom. Tel No. +44 (0) 1293 767676 Fax No. +44 (0) 1293 767677 Registered in England Number 470893 Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United Kingdom. Or if within the US, Spirent Communications, 26750 Agoura Road, Calabasas, CA, 91302, USA. Tel No. 1-818-676- 2300 </FONT></DIV>
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

