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.
This is a discussion on FileEncryptionStatus within the Windows Programming forums, part of the Platform Specific Boards category; Hi i cannot compile FileEncryptionStatus() with VC6, but can compile it with VC2005. Tried linking Advapi.dll, but it didn't work. ...
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.
Some useless programs i've wrote : slprogrammersheaven
My amature IT Blog: http://everything-geeky.blogspot.com/
My Flash games: http://flashweed.blogspot.com/
(and, sorry for my amature english in the posts)
What kind of errors are you getting? You are including windows.h, right?
Ya it's a MFC app. i get 'undeclared indentifier' error ?
Some useless programs i've wrote : slprogrammersheaven
My amature IT Blog: http://everything-geeky.blogspot.com/
My Flash games: http://flashweed.blogspot.com/
(and, sorry for my amature english in the posts)
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.
Some useless programs i've wrote : slprogrammersheaven
My amature IT Blog: http://everything-geeky.blogspot.com/
My Flash games: http://flashweed.blogspot.com/
(and, sorry for my amature english in the posts)
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.
"Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
Friedrich Nietzsche
"I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
George Best
"If you are going through hell....keep going."
Winston Churchill