Displaying 1 result from an estimated 1 matches for "lnk1107".
Did you mean:
lnk1104
2010 Oct 19
2
Creating a Windows import lib from R.dll (x64)?
...hine:X86 R.dll
There are two issues under x64:
1. Older version of pexports crash when applied to an x64 R.dll.
The work-around is to use one of the newer versions that have
been fixed (pexports-9.44, say).
2. When lib is applied to an x64 R.dll it complains as follows:
R.dll : fatal error LNK1107: invalid or corrupt file: cannot read at 0x318
This happens even when the /def:R.exp parameter is left out, for
example, with lib /out:Rdll.lib R.dll.
Any tips would be much appreciated.
Thanks,
Dominick
[[alternative HTML version deleted]]