Hey,
After following the TPC Tutorial on how to create TPC's in Purebasic, a problem exists when attempting to return a string..
It works fine in the DBP runtime, but when closing the DBP application, a windows runtime error occurs on the application with the following information;
Problem signature:
Problem Event Name: APPCRASH
Application Name: dbp_program.exe
Application Version: 1.0.0.0
Application Timestamp: 40da0041
Fault Module Name: ntdll.dll
Fault Module Version: 6.0.6001.18000
Fault Module Timestamp: 4791a7a6
Exception Code: c0000005
Exception Offset: 0006814c
OS Version: 6.0.6001.2.1.0.768.3
Locale ID: 2057
Additional Information 1: 230a
Additional Information 2: d4f87f56357114495c788637c7d3b400
Additional Information 3: 1e3c
Additional Information 4: 117ae610536fb78e12ecd24253a39eba
Now I assume this is because a string gets passed to the procedure initially which in C++ or whatever, people use CreateDestroyString to release it..
How is this possible in Purebasic?
Thanks
:: HybridTwo Sound & Music Production Studio : BinaryZoo Studios ::