I created a DLL in Modula2 with native XDS. I was able to load it with a c++ application and call a procedure that just returns an integer with no problem. When I do the same with a procedure that contains STextIO.WriteString("Test"); I get an access violation. What am I missing? Any help would be greatly appreciated.