Changeset 16173
- Timestamp:
- Apr 27, 2001, 10:19:56 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified tags/trunk/src/ole32/regsvr32.cpp ¶
r11583 r16173 1 /* $Id: regsvr32.cpp,v 1. 3 1999-09-20 20:38:20 davidrExp $ */1 /* $Id: regsvr32.cpp,v 1.4 2001-04-27 20:19:56 sandervl Exp $ */ 2 2 /* 3 3 * … … 20 20 #include <string.h> 21 21 #include <ctype.h> 22 22 #include <heapstring.h> 23 23 24 24 // ====================================================================== … … 184 184 static HRESULT load_object(void) 185 185 { 186 hdlObject = CoLoadLibrary(szFile, 1); 186 LPOLESTR libnameW = (LPOLESTR)HEAP_strdupAtoW(GetProcessHeap(), 0, szFile); 187 hdlObject = CoLoadLibrary(libnameW, TRUE); 188 HeapFree(GetProcessHeap(), 0, libnameW); 187 189 if (hdlObject == 0) 188 190 return report_err(S_FALSE, "Failed to load '%s'", szFile);
Note:
See TracChangeset
for help on using the changeset viewer.