• Welcome to World Machine Community. Please login or sign up.
 
July 23, 2019, 07:33:18 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Unable to save .tmd when using Example plugin DLLs

Started by howardzzh, May 29, 2007, 11:03:25 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

howardzzh

I was modifying the PDK examples for some plugins I am writing when I first noticed that the plugin DLLs would cause an exception if we try to save the device in a .tmd file. I am currently developing on visual studio 2005, so it is very likely to be a compatibility issue. Don't know if it helps or not, I do notice that the exceptions always occur near the vfptr (virtual function pointer). I wonder if anyone has encountered similar issues before? I'd really appreciate any help. Thanks!
Howard

takashi

May 30, 2007, 02:32:33 am #1 Last Edit: May 30, 2007, 02:55:54 am by takashi
After some tries, it seems that a saved ".tmd" file with plugin devices inside can not be loaded.
I think this issue is linked with the "save" one.
However, I never noted an exception during the save process.

World Machine says :
Quote
The world file cannot be fully loaded (perhaps due to not having one or more used plugins used to create it). Some devices may be missing.


I have made my tries with the PDK examples and I have compiled the example with Visual Studio 2005 Express Edition.
As soon as I can, I would carry out some tests.

EDIT :
Same problem as howardzzh with a personnal plugin compiled with VS2005 Express.
Takashi

Stephen

My hunch is that it has something to do with a change in the C++ stream libraries between MSVC7(2002) and 2005 -- I know microsoft made alot of changes to the standard libraries, and that would account for it happening on device load/save.

Looking into it.
-- Stephen Schmitt
- Creator of World Machine

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview