Shared library string safety?

Mineko uminekorox at gmail.com
Mon Jan 13 21:50:35 PST 2014


Alright, so I FINALLY got shared libraries somewhat working 
through my program, however I have some issues transferring data 
between the shared library and the main program, the problem is 
between 
https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/utility/settings.d 
and 
https://github.com/MinekoRox/Breaker-Engine/blob/master/res/scripts/core/settings.d

The settings script is loaded by 
https://github.com/MinekoRox/Breaker-Engine/blob/master/src/breaker/utility/core.d

And, this is the error I get:
+start(string[])
Starting up the program
800600 ����B
Shutting off the program
Writing logs to disk
ERROR: Error(s) occured, check the error log
-start(string[])
+stop()
Segmentation fault (core dumped)

The 800600 is width and height, the problem is the binary output 
of what's supposed to be a string.


More information about the Digitalmars-d-learn mailing list