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.
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.
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
What kind of errors are you getting? You are including windows.h, right?
Ya it's a MFC app. i get 'undeclared indentifier' error ?
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
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.
GameJolt: https://gamejolt.com/@KasunL
Game Development Youtube: https://is.gd/XyhYoP
Amateur IT Blog: http://everything-geeky.blogspot.com/
(and, sorry for my amateur English)
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