sal.h compiler errors when switching from x86 to x64?  
Author Message
Corey Clark





PostPosted: 64-Bit .NET Framework Development., sal.h compiler errors when switching from x86 to x64? Top

I have developed a simulation engine that works well in 32bit enviroment, I am trying to convert over to a 64bit enviroment using VS.NET 2005 to decrease processing time...

I can compile the project and run it when I select x86 as my target platform, but when I compile using x64 as my target platform I get the following error:

1>D:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\sal.h(226) : error MIDL2025 : syntax error : expecting a type specification or a storage specifer or a type qualifier near """

1>D:\Program Files (x86)\Microsoft Visual Studio 8\VC\include\crtdefs.h(147) : error MIDL2026 : cannot recover from earlier syntax errors; aborting compilation

I have both Windows XP Pro Win32 and Windows XP Pro x64... I have installed VS.NET 2005 and 2003 on both OS and both have the same issue, Any help on this would be greatly appreciated.

Corey Clark



.NET Development29  
 
 
Jeff Peil





PostPosted: 64-Bit .NET Framework Development., sal.h compiler errors when switching from x86 to x64? Top

Corey,

Can you provide a little more information From the error message it sounds like you've got an IDL file which is including crt headers, which doesn't make much sense. What are you building that gives this error, and do you have a simple way to reproduce this