Thread: FileEncryptionStatus

  1. #1
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470

    FileEncryptionStatus

    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)

  2. #2
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    Posts
    404
    What kind of errors are you getting? You are including windows.h, right?

  3. #3
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470
    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)

  4. #4
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    Posts
    404
    Post some code. You are declaring your variables before using them, right?

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    >> 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

  6. #6
    Android geek@02's Avatar
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    470
    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)

  7. #7
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    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

Popular pages Recent additions subscribe to a feed