Cenedese at indel.ch
Wed Sep 10 02:28:05 CDT 2003
Quite old mail, but I just started to work on it again :)
At 16:07 15.07.2003 +0900, Dmitry Timoshkov wrote:
>> I don't think I link without relocation records, but I couldn't find that setting
>> anyway. Where in VC6 would I have to change this? I can only see the
>> base address, so I thought it's always relocatable. As there was never a
>> problem in Windows I didn't think much about it. I only made sure that the
>> exe and the needed dlls are all on different addresses so in case of a crash
>> I know where it happened.
>.exe's produced by the MS linker are not relocateable by default. In order
>to make them relocateable you can either add '/fixed:no' to the linker
>command line, or add the string '#pragma comment(linker, "/fixed:no")'
>to one of your sources.
Thanks, that did help. Actually the #pragma led to a linker crash in
Release mode :) But entering the setting to the linker command line did work.
But I guess I better set the link address to something else anyway.
More information about the wine-devel