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
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