#include "datadll.h" int FAR PASCAL WinMain(HINSTANCE,HINSTANCE,LPSTR,int) { MessageBox(NULL,"test2 started","",MB_OK); getInstanceRTLData()->foo=27; MessageBox(NULL,"test2 has referenced rtl data","",MB_OK); getInstanceRTLData()->boo=32; MessageBox(NULL,"test2 is going to terminate","",MB_OK); return 0; }