writing to stdout from c crashes in ide

BlitzMax Forums/BlitzMax Programming/writing to stdout from c crashes in ide

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Its a scripting engine im working on, its using printf to print its output...

I think i found the error btw. i register native functions, and it seems using a c function defined via an extern block and calling it from c (or assembler which i am realy doing) is what bugs.

If i register it via C it works perfectly, so its something the extern block does to the signature of the function perhaps?

<edit> this just gets wierder and wierder, if i put a Print anywhere in max code before calling any c code, it works!