locked
SimulateSAS / SASLIB RRS feed

  • Question

  • Hi all,

    I'm using VS2008 and have included the securedesktopclient.lib and RpcRT4.lib in the project.

    When I call SimulateSAS i get the error:

    Error    1    error LNK2001: unresolved external symbol "void __cdecl SimulateSAS(int)" (?SimulateSAS@@YAXH@Z)    SASLIBCAD.obj    SASLIBCAD


    Source Code:

    #pragma comment(lib, "securedesktopclient.lib") 
    #pragma comment(lib, "RpcRT4.lib") 
    #include <stdafx.h> 
    #include <windows.h> 
     
    VOID SimulateSAS(BOOL fAsUser); 
     
    int _tmain(int argc, _TCHAR* argv[]) 
        SimulateSAS(true); 
        return 0; 


    Would someone be so kind as to point out the very simple mistake i'm making?


    Many thanks




    Friday, February 27, 2009 9:18 PM

All replies