version 1.3, 2006/09/29 09:02:49 |
version 1.4, 2013/08/20 14:22:33 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/io/tcpf_win_mini.c,v 1.2 2006/09/26 05:50:31 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/io/tcpf_win_mini.c,v 1.3 2006/09/29 09:02:49 noro Exp $ */ |
|
|
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 60 int win_ox_launch() |
|
Line 60 int win_ox_launch() |
|
return 0; |
return 0; |
} |
} |
|
|
void win_get_rootdir(); |
|
|
|
void win_spawn_server(char *control_port_str,char *server_port_str) |
void win_spawn_server(char *control_port_str,char *server_port_str) |
{ |
{ |
char AsirExe[BUFSIZ]; |
char AsirExe[BUFSIZ]; |
Line 89 void win_get_rootdir() |
|
Line 87 void win_get_rootdir() |
|
{ |
{ |
char *slash; |
char *slash; |
|
|
GetCurrentDirectory(BUFSIZ,rootdir); |
GetModuleFileName(NULL,rootdir,BUFSIZ); |
|
slash = strrchr(rootdir,'\\'); |
|
*slash = 0; |
slash = strrchr(rootdir,'\\'); |
slash = strrchr(rootdir,'\\'); |
if ( slash ) *slash = 0; |
if ( slash ) *slash = 0; |
} |
} |