/[rdesktop]/sourceforge.net/trunk/seamlessrdp/ServerExe/main.cpp
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/seamlessrdp/ServerExe/main.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1058 by astrand, Wed Aug 31 15:36:59 2005 UTC revision 1059 by astrand, Tue Mar 7 15:07:19 2006 UTC
# Line 3  Line 3 
3  //  //
4    
5  #include <windows.h>  #include <windows.h>
6    #include <stdio.h>
7    
8  #include "resource.h"  #include "resource.h"
9  #include "hookdll/hook.h"  #include "hookdll/hook.h"
10    
11    #define snprintf _snprintf
12    
13  //  //
14  // some global data  // some global data
15  //  //
# Line 262  int WINAPI WinMain( HINSTANCE hInstance, Line 265  int WINAPI WinMain( HINSTANCE hInstance,
265              CloseHandle( procInfo.hThread );              CloseHandle( procInfo.hThread );
266          } else {          } else {
267              // CreateProcess failed.              // CreateProcess failed.
268              Message( "Unable to launch the requested application" );              char msg[ 256 ];
269                snprintf( msg, sizeof( msg ), "Unable to launch the requested application:\n%s", process );
270                Message( msg );
271          }          }
272      } else      } else
273          // we are launching without an app, therefore we will show the system tray app and wait for the user to close it          // we are launching without an app, therefore we will show the system tray app and wait for the user to close it

Legend:
Removed from v.1058  
changed lines
  Added in v.1059

  ViewVC Help
Powered by ViewVC 1.1.26