Process/thread work and API fix into network APIs

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
1999-11-02 14:42:09 +00:00
parent d9b77fb236
commit 909b4f08a1
2 changed files with 13 additions and 13 deletions

View File

@@ -65,17 +65,17 @@ bool wxGetHostName(
#if wxUSE_NET_API
char zServer[256];
char zComputer[256];
unsigned short nLevel = 0;
unsigned long ulLevel = 0;
unsigned char* zBuffer;
unsigned short nBuffer;
unsigned short* pnTotalAvail;
unsigned long ulBuffer;
unsigned long* pulTotalAvail;
NetBios32GetInfo( (const unsigned char*)zServer
,(const unsigned char*)zComputer
,nLevel
,ulLevel
,zBuffer
,nBuffer
,pnTotalAvail
,ulBuffer
,pulTotalAvail
);
strcpy(zBuf, zServer);
#else
@@ -160,7 +160,7 @@ bool wxShell(
SData.PgmTitle = PgmTitle;
SData.PgmName = zShell;
// sInputs = "/C " + rCommand;
sInputs = "/C " + rCommand;
SData.PgmInputs = NULL; //(BYTE*)sInputs.c_str();
SData.TermQ = 0;
SData.Environment = 0;