This is basically what's happening: if I use a macro instead of a procedure for ProcA or if I just include the line instead of using ProcA everything is fine. But it crashes every time I use Str() inside of a procedure like this.
I can't use a macro in this case because I need ProcA to return a value.
ABBKlaus, would you be so kind as to inspect the ASM and tell me if there is anything suspicious at work here? The code should be compiled to a threadsafe Tailbite library to produce the effect (in theory, at least).
Code: Select all
Procedure ProcA()
String.s=Str(12) ; can be any number
EndProcedure
ProcedureDLL ProcB()
ProcA()
EndProcedure