Changeset 11330
- Timestamp:
- Aug 28, 1999, 9:38:15 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/peldr/pe.cpp ¶
r11315 r11330 1 /* $Id: pe.cpp,v 1. 7 1999-08-26 07:48:14sandervl Exp $ */1 /* $Id: pe.cpp,v 1.8 1999-08-28 07:38:15 sandervl Exp $ */ 2 2 3 3 /* … … 77 77 HMODULE hmodPMWin = 0, hmodKernel32 = 0; 78 78 WINEXCEPTION_FRAME exceptFrame; 79 ULONG curdisk, curlogdisk, flength = CCHMAXPATH;80 79 81 80 rc = DosLoadModule(exeName, sizeof(exeName), "PMWIN.DLL", &hmodPMWin); … … 125 124 szCmdLine++; 126 125 127 DosQueryCurrentDisk(&curdisk, &curlogdisk);128 DosQueryCurrentDir(curdisk, &fullpath[3], &flength);129 fullpath[0] = 'A' + (curdisk-1);130 fullpath[1] = ':';131 fullpath[2] = '\\';132 strcat(fullpath, "\\");133 strcat(fullpath, exeName);134 WinExe->setFullPath(fullpath);135 126 WinExe->setCommandLine(szCmdLine); 136 127
Note:
See TracChangeset
for help on using the changeset viewer.