I'm trying to Import a C file and read in a string value from inside it using Extern. It works fine with Integer's etc but when I try and use a string I just get an Unhandled Memory Exception Error.
I threw a simple example together to show what I mean:
test.bmx
test.c
Thanks,
Chris
I threw a simple example together to show what I mean:
test.bmx
Import "test.c" Extern Global myString$ = "myString" End Extern DebugLog myString
test.c
char myString[] = "testing";
Thanks,
Chris