KM-
I tried the article at the following link....
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpesp1/html/EWFAPI.asp
and I recieved this, have you or anyone else come across this?
ewfctrl error LNK2019: unresolved external symbol __imp__EwfMgrClose@4
referenced in function "protected: void __thiscall
CewfctrlDlg::UpdateEWFStatus(void)" (?UpdateEWFStatus@CewfctrlDlg@@IAEXXZ)
ewfctrl error LNK2019: unresolved external symbol
__imp__EwfMgrGetProtectedVolumeConfig@4 referenced in function "protected:
void __thiscall CewfctrlDlg::UpdateEWFStatus(void)"
(?UpdateEWFStatus@CewfctrlDlg@@IAEXXZ)
ewfctrl error LNK2019: unresolved external symbol
__imp__EwfMgrOpenProtected@4 referenced in function "protected: void
__thiscall CewfctrlDlg::UpdateEWFStatus(void)"
(?UpdateEWFStatus@CewfctrlDlg@@IAEXXZ)
ewfctrl error LNK2019: unresolved external symbol _XPE_Shutdown@0 referenced
in function "public: void __thiscall CewfctrlDlg::OnBnClickedShutdown(void)"
(?OnBnClickedShutdown@CewfctrlDlg@@QAEXXZ)
ewfctrl error LNK2019: unresolved external symbol _XPE_ReStart@0 referenced
in function "public: void __thiscall CewfctrlDlg::OnBnClickedReboot(void)"
(?OnBnClickedReboot@CewfctrlDlg@@QAEXXZ)
ewfctrl error LNK2019: unresolved external symbol __imp__EwfMgrEnable@4
referenced in function "public: void __thiscall
CewfctrlDlg::OnBnClickedEnable(void)" (?OnBnClickedEnable@CewfctrlDlg@@QAEXXZ)
ewfctrl error LNK2019: unresolved external symbol __imp__EwfMgrDisable@8
referenced in function "public: void __thiscall
CewfctrlDlg::OnBnClickedDisable(void)"
(?OnBnClickedDisable@CewfctrlDlg@@QAEXXZ)
ewfctrl error LNK2019: unresolved external symbol __imp__EwfMgrCommit@4
referenced in function "public: void __thiscall
CewfctrlDlg::OnBnClickedCommit(void)" (?OnBnClickedCommit@CewfctrlDlg@@QAEXXZ)
ewfctrl fatal error LNK1120: 8 unresolved externals
It compiles in debug but not in release.
Mark