Hi i cannot compile FileEncryptionStatus() with VC6, but can compile it with VC2005. Tried linking Advapi.dll, but it didn't work. Please help.
Thx for any help.
Printable View
Hi i cannot compile FileEncryptionStatus() with VC6, but can compile it with VC2005. Tried linking Advapi.dll, but it didn't work. Please help.
Thx for any help.
What kind of errors are you getting? You are including windows.h, right?
Ya it's a MFC app. i get 'undeclared indentifier' error ?
Post some code. You are declaring your variables before using them, right?
>> i cannot compile ... with VC6, but can compile it with VC2005
You need to download/install/use a newer Platform SDK with VC6. Or use LoadLibrary/GetProcAddress.
gg
Ok Thanx.
Put another way...
In VC6 (IIRC under Options or Settings) you can set the order VC6 uses the SDKs you have installed.
You would appear to have one old SDK from VC6 and a newer one from VC2005.
VC6 appears to be using the old VC6 one which is not working (while VC2005 is using the newer SDK that works).
You should be able to change the order of Includes, Libraries etc in VC6 to fix this problem.