DWF

DWF

Reply
Contributor
geotavros
Posts: 15
Registered: ‎03-27-2012
Message 1 of 2 (661 Views)
Accepted Solution

ReadContentDefinition sample crashes on getContent() with default test file

661 Views, 1 Replies
02-06-2013 05:41 AM

The 7.7 toolkit sample crashes on line:

DWFContent* pContent = pContentManager->getContent();

 

The file I'm using is the default one 3DPublishOut.dwf. I also tried custom files. 

Windows 7 x64. I've downloaded DWFToolkit-7.7-bin-win32.zip and used Visual Studion 2008 to build the sample. 

 

BTW, when I open the sample project I get a bunch of errors of loading projects DWF Core Library, DWFToolkit etc. Thus those projects are marked with grey color. Nevertheless the sample builds fine. Just crashes. 

The problem was in default project configurations. Specifically wrong DLL versions were used for the sample. So after some time of struggling with it you can solve the problem and it doesn't crash. 

Contributor
geotavros
Posts: 15
Registered: ‎03-27-2012
Message 2 of 2 (640 Views)

Re: ReadContentDefinition sample crashes on getContent() with default test file

02-18-2013 04:49 AM in reply to: geotavros

The problem was in default project configurations. Specifically wrong DLL versions were used for the sample. So after some time of struggling with it you can solve the problem and it doesn't crash. 

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!