home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Troubleshooting Netware Systems
/
CSTRIAL0196.BIN
/
attach
/
msj
/
v10n05
/
wqa0595.exe
/
FX1MBDLL.C
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-01
|
471b
|
23 lines
#include <windows.h>
#include <string.h>
#pragma hdrstop
int FAR PASCAL LibMain( HANDLE h, WORD wDS, WORD cbHeap, LPSTR lpszCmdLine )
{
char szExePath[260];
LPSTR p;
if ( cbHeap != 0 )
UnlockData(0);
GetModuleFileName( h, szExePath, sizeof(szExePath) );
p = strrchr( szExePath, '\\' );
if ( !p )
return 0;
lstrcpy( p+1, "FIX1MB.EXE" );
WinExec( szExePath, SW_SHOWMINIMIZED );
return 1;
}