aha.... the trouble comes from the fact that powerbasic functions use BYREF as default. So who knows what memory it was reading to try to get the variables. Once I stuck BYVAL in there all was happy.
Another DLL issue #2
BlitzMax Forums/BlitzMax Programming/Another DLL issue #2The 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.