Message Boards

 Is it possible to create some other WSLINK instead of stdlink with WSMain function?The following WSTP code I tested with mathematic 10.0 and it didn't work: std::cout<<"this is a test message."<
 Are you creating an installable MathLink program?If yes, and if you followed the structure shown for the main/WinMain functions in the examples (e.g. addtwo.c) precisely, then this error likely indicates that your program is crashing. It's hard to tell why without a complete example.What I can say with certainty though is that using the name stdlink has absolutely nothing to do with this, and there is no relationship between iostreams (std::cout`) and MathLink/WSTP.