Page 1 of 1
error compiling mq2-20031203
Posted: Wed Dec 03, 2003 10:58 am
by deda
Getting this error trying to compile latest zip:
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
Posted: Wed Dec 03, 2003 12:51 pm
by Lax
I compiled with VS6 and VS.NET just fine, try doing a clean compile
Posted: Wed Dec 03, 2003 1:25 pm
by bob_the_builder
Same compile error
Linking...
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
VS .net 2003
I compiled the MQ2-20031128a.zip 28-Nov-2003 00:12 643k
without any issues.
Let me make sure though.
Unzip file MQ2-Latest.zip
Copy my mq2auth1.h and mq2auth2.h into mq2main directory
Open the macroquest2.dsw (I tried the macroquest2.sln also)
Verify I am set for Release
Then build
- Even tried doing Batch Build
Try this.. before doing the MQ2Main build, hit Build->Clean
Build Clean Solution
Then Build Mq2main
- Error
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
Build Clean Solution
Then Batch Build Release
- Error
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
Thanks in advance,
Bob
Posted: Wed Dec 03, 2003 1:37 pm
by Lax
Try this.. before doing the MQ2Main build, hit Build->Clean
Posted: Wed Dec 03, 2003 2:04 pm
by Schark
I get the same error in VS .NET 2003 while linking MQ2Main.dll:
EQClasses.obj : fatal error LNK1279: invalid or corrupt file: file contains invalid .sxdata contributions
Tried clean, and tried getting a fresh checkout from CVS. No luck

Posted: Wed Dec 03, 2003 3:19 pm
by dont_know_at_all
Confirmed. This is a problem.
Linker Tools Error LNK1279
invalid or corrupt file: file contains invalid .sxdata contributions
One of the input files to the linker had a .sxdata section, which contains exception handler information, but the content of the .sxdata section was invalid.
Try recompiling the module. If it still produces a file with invalid .sxdata section, then contact Microsoft Product Support Services.
Posted: Wed Dec 03, 2003 3:50 pm
by dont_know_at_all
Code: Select all
[color=red]#if 0[/color]
#ifdef CXMLSOMDocumentBase__XMLRead
REVERSE_DETOUR(bool CXMLSOMDocumentBase::XMLRead(class CXStr,class CXStr,class
CXStr),CXMLSOMDocumentBase__XMLRead);
#endif
[color=red]#endif[/color]
Add the lines in red. I have no idea why it fails...
Posted: Wed Dec 03, 2003 4:33 pm
by bob_the_builder
Downloaded
December 03 2003 18:57:05.
MQ2-20031203a.zip
Compiled correctly with no errors. Will try EXE tonight.
Bob