PDA

View Full Version : Dev-C++ FreeFrame (for OpenTZT) Sample Project


Esotic
3rd January 2005, 09:39 PM
I was in the middle of typing this up and pdoom sent me a sample Dev-C++ project whose output causes OpenTZT to crash (not like mine is perfect or anything, more on that later).

Anyhow, here it is:

http://esotic.com/media/FreeFrameDevCPPPlugin.zip

The code compiles (on my computer :) under the latest Dev-C++ release:

http://sourceforge.net/project/showfiles.php?group_id=10639

Alls I did was take the CPlugin sample, import the DSP, and then edit the .DEF file to contain an alias to the plugMain.

The compiled DLL runs under OpenTZT (dare I say perfectly) the first time, and then it generates errors as OpenTZT is trying to access a .tmp copy of it for some reason (as shown by the lines from the Debug.txt).

539895687 | C:\DOCUME~1\David\LOCALS~1\Temp\TZT129E.tmp : Cannot Link/Load DLL! OMGWTFBBQ!LOL!1!!1!
539896323 | C:\DOCUME~1\David\LOCALS~1\Temp\TZT129F.tmp : Cannot Link/Load DLL! OMGWTFBBQ!LOL!1!!1!
539896395 | C:\DOCUME~1\David\LOCALS~1\Temp\TZT12A0.tmp : Cannot Link/Load DLL! OMGWTFBBQ!LOL!1!!1!
539896516 | C:\DOCUME~1\David\LOCALS~1\Temp\TZT12A1.tmp : Cannot Link/Load DLL! OMGWTFBBQ!LOL!1!!1!

Any advice is welcomed as I only partially know what I'm doing.

Don't call it a comeback,

-Esotic

Esotic
4th January 2005, 04:34 AM
I was able to work around (fix?) the .TMP problem in OpenTZT and have uploaded the latest 1.2.82 test release which you can download from:

http://sourceforge.net/project/showfiles.php?group_id=115702

At Stijn's request/behest I removed bunches of the Debug.txt statements that are superfluous.

The FreeFrameDevCPP.zip on my website has been updated (to send 10 as the Parameter type instead of FAIL) and I'm checking the OpenTZT code into CVS.

Let me know if you have issues or questions,

-Esotic

FreeFrame Sample Project with Dev-C++ Support (that works in OpenTZT)
http://esotic.com/media/FreeFrameDevCPPPlugin.zip

Dev-C++ Download Page
http://sourceforge.net/project/showfiles.php?group_id=10639

Esotic
28th January 2005, 08:50 PM
http://esotic.com/media/EsoticDevCPPSleepless.zip

and

http://esotic.com/media/EsoticDevDots.zip

Both zips include compiled DLLs (for MMX/Windows) and source (with DevCPP project).

-Esotic