Home > Visual Studio > Visual Studio 2010 Unexpected Precompiled Header Error

Visual Studio 2010 Unexpected Precompiled Header Error


I am currently contributing to the Civ 5 Vox Populi. However when I try to compile, I get "unexpected precompiled header error", simply rerunning the compiler might fix this problem (it doesn't). This is supported in the operating system by the executable loader. Device Scanner Find vulnerabilities on your network. navigate here

up vote 30 down vote favorite 5 I was trying to build a simple solution involving a Windows and a Console application. for example - adobe audition. Thanks, Mark Roberts Visual C++ Compiler Team 7 years ago Reply mrk Yeah I'm going to try the reboot too. Visual c++ 预编译头和ASLR 预编译的头文件存储着编译在某时刻的"状态", 这个状态的信息可以被之后的编译器重用. 之前的15年, 编译器都是把预编译头以文件放着, 再从虚拟内存里读取, 这样有99.999%的可靠并且效率也挺好的. 不过这玩意也是架构上的一个痛点. 因为PCH文件本身包含着内部指针, 它在被重新载入的时候, 必须是写入虚拟内存的时候那个相同的地址. 所以如果PCH被之后的编译器加载的时候指针会变得不一样或错误. 复杂点说, PCH 还包括多态对象和每个多态对象自包含的虚方法表指针(virtual function table pointer -VFTP), 这个表指针, 指向了模块中的虚方法. 这样子, 当PCH中的多态对象依赖于某个特殊模块的指针表时候, 模块必须以创建PCH文件时候指针值载入. 如果模块以不同地址加载的话, PCH中的VFTP 指针 就不对了.


The patch fixed it. –Adam Bruss Dec 12 '13 at 15:07 10 Search for VS90SP1-KB976656-x86.exe found me this link –Jacob Seleznev Jan 21 '15 at 1:25 | show 2 more I couldn't build anything no matter what I did. You may download it here. I uninstalled it and the problem went away. 7 years ago Reply John Krouse Every tme I start up I get a Microsoft Visual C ++ Runtime library box pop up

So, the fix was to go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options and locate the application I was trying to use. Dismiss Notice Forum account upgrades are available for ad-free browsing. Lastly there’s a hotfix available for Visual Studio 2008. Microsoft Visual Studio 2008 Service Pack 1 No idea why.

Username: putmalk. Unexpected precompiled header Discussion in 'Civ5 - SDK / LUA' started by Putmalk, Jul 17, 2013. You saved my day Reply ↓ Leave a Reply Cancel reply Your email address will not be published. Revision Information: Revision 2: Modified applicability to more accurately detect the existence of Visual Studio 2008 Service Pack 1 and higher.

Related Resources Related Vulnerabilities None Related Patches None Superseded

Patch Scanner Find vulnerabilities on your network. Putmalk, Jul 17, 2013 #5 Putmalk Chieftain Joined: Sep 26, 2010 Messages: 2,613 Location: New York Tested in game. Wrong thread All my Civ:V mods can be downloaded from Thanks, Mark Roberts Visual C++ Compiler Team 7 years ago Reply mrk I'm seeing the same error on Win 2008.

Kb976656 Download

As collateral damage, however, it took out Microsoft Office, AutoCAD 2011-2016, and even Internet Explorer. In the past I've modified existing classes, now I'm looking to add to the DLL. Kb976656 The expansion2 dll (which is the only one I will ever mod) has solution files for 08, 10 and 12. Éa III: Sword & Sorcery TableSaverLoader: fast, easy persistence of Archive Msdn Microsoft Kb976656 To solve this problem what should I do? 7 years ago Reply ucancode Our VC++ Visualization Source Code Kit -- E-XD++ MFC Library is full builed on Visual C++6.0, and will

Are there more details about the changes in ASLR behaviour on Win7 anywhere? 7 years ago Reply Ben When will something like position independent code support be added to the PE check over here Dismiss Notice Downloads database has been migrated and re-opened! Regardless of the OS, our new fix should eliminate this issue if ASLR is the cause. We migrated it to a new CMS and gave it a new layout as well. Disable The /analyze Compiler Option If It Is Enabled.

Post #99 and #100 in the DLL thread imply that it should work, but there is no follow up from anyone to say that it actually did (but conversely there is Leave a Reply Name: : Email: : Website: Comment: Note: XHTML is allowed. Any help would be appreciated. The new random number facilities are fabulous -- the C++0x people did a great job of designing this and you guys did a great job of implementing it.

Arithmetic or Geometric sequence? We finally decided to implement our own dispatch mechanism within the PCH data structures that eliminated the virtual function tables altogether. all rights reserved.

I've restarted so many times today you would not believe it.

Should be fixed in VS-2010. There's a very good explanation on this Visual C++ Team Blog. Followed steps 1 - 11 in the "How to compile dll" page. Reply ↓ Jose Ramírez June 30, 2011 at 7:07 am Awesome.

Every one of them reported a vanilla error message "Attempt to access invalid address". Are there textual deviations between the Dead Sea Scrolls and the Old Testament? Looks like EMET can cause quite a bit of damage when you run it. weblink ls612, Jul 17, 2013 #2 Putmalk Chieftain Joined: Sep 26, 2010 Messages: 2,613 Location: New York ls612 said: ↑ I think it is because the DLL wants to have a reference

share|improve this answer edited Nov 11 '15 at 1:42 answered Dec 29 '14 at 20:46 Sia 714 add a comment| up vote 1 down vote Installing visual C++ 2008 SP1 fixed It would appear that EMET automatically puts in registry entries when it is installed, and does not remove them when it is uninstalled (no surprise there). Why is 10W resistor getting hot with only 6.5W running through it? Visual Studio 2010 is unaffected as Microsoft fixed it before release.

Would you like to answer one of these unanswered questions instead?