Nathan's profileNates StuffPhotosBlogListsMore Tools Help

Blog


    September 28

    C++ Error (Save yourself a few hours)

    If you are getting an error:
    error LNK2019: unresolved external symbol __except_handler4 referenced in function "int __stdcall IsAllowed(char const *,char *,wchar_t const *,wchar_t *)" (?IsAllowed@@YGHPBDPADPB_WPA_W@Z)
    AND / OR a LNK2005 Error here is how I fixed it running Visual Studio 2005 (I don't know if all of this is necessary, but that is what I did to fix it):
    1. Open up Visual Studio 2005 Command Prompt: type echo %path%; Copy the path into notepate, make it one long line and put it into the path for your system.
    2. Open up your project properties
    3. Under Configuration Properties -> Linker -> Command Line add bufferoverflowU.lib to the Additional Parameters list
    4. Under Configuration Properties -> Linker -> Input add mfcs80ud.lib; msvcrtd.lib to your Additional Dependencies list
    5. Under Configuration Properties -> Linker -> Ignore Specific Library add msvcrtd.lib; mfcs80ud.lib

    This worked for me anyway.  I hope it helps someone!

    Nathan Zaugg