I have tried to create 'full' import library for kernel32.dll with Polib 6.0.1, but it shows me this message:POLIB: fatal error: Invalid syntax near 'HeapSummary' in module-definition file 'kernel32.def'.
The command line was polib /def:kernel32.def /out:kernel32.lib
And the dll comes from XP sp3. I have attached my .def file, so in any case you can compare results. Note, this .def file is designed for my current project, where the import library will be undecorated from C mangling, just raw symbol names.
Now a second report - PoLink does not search for .o and .obj files in directories specified in /libpatch. I have some customized startup object files, different for each target (gui/console) and character set.
polink.exe /LIBPATH: ... app.obj winStartupW.obj
message: POLINK: fatal error: File not found: 'winStartupW.obj'.
The file exists, its location is specified in the first /LIBPATH. But when I put the .obj file into separate static library, PoLib is not failing, does a search in all given locations.