Hello,
I need to initialize RAPI in a VC++ MFC application using Visual Studio 2005. I have included the "rapi.h" but cannot find a way to link to rapi.dll. Whenever, I try to build my project, the following errors come in my way.
1>TestDlg.obj : error LNK2019: unresolved external symbol _CeRapiUninit@0 referenced in function "void __cdecl Test(void)" ( Test@@YAXXZ)
1>TestDlg.obj : error LNK2019: unresolved external symbol _CeCloseHandle@4 referenced in function "void __cdecl Test(void)" ( Test@@YAXXZ)
1>TestDlg.obj : error LNK2019: unresolved external symbol _CeWriteFile@20 referenced in function "void __cdecl Test(void)" ( Test@@YAXXZ)
1>TestDlg.obj : error LNK2019: unresolved external symbol _CeCreateFile@28 referenced in function "void __cdecl Test(void)" ( Test@@YAXXZ)
1>TestDlg.obj : error LNK2019: unresolved external symbol _CeRapiInit@0 referenced in function "void __cdecl Test(void)" ( Test@@YAXXZ)
1>H:\Test\Debug\Test.exe : fatal error LNK1120: 5 unresolved externals
Please help me as this is quite urgent.
Regards,
Waqas Danish