Hello,
I'm trying to link a Win32 dll with POLINK and it complains (MS link does not):
- invalid syntax near 'HeapUnlock' in module-definition file 'dkrnl32.def'
the module definition file looks quite ok and there is nothing special around the "HeapUnlock" export.
What could make POLINK so angry? I checked the file with a hex editor, but there is nothing remarkable, all lines beginning with a space, then comes the export name, then a CR/LF pair. 'HeapUnlock' is about the 290. export in the .DEF file
------------------------------------
EXPORTS
...
Heap32Next
HeapAlloc
HeapCompact
HeapCreate
HeapDestroy
HeapFree
HeapLock
HeapReAlloc
HeapSize
HeapUnlock
HeapValidate
HeapWalk
InitializeCriticalSection
...
------------------------------------