mani sabri пишет: > Dll doesn't crash or ... everything works fine but there is no shell! Can > anybody help? If your main program is Windows GUI you need to explicitly create console with Win32 API (AllocConsole function) and then attach it to your program. http://msdn2.microsoft.com/en-us/library/ms682010(VS.85).aspx