FileEncryptionStatus

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. ...

  1. #1
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    363

    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.
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

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

  3. #3
    Android
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    363
    Ya it's a MFC app. i get 'undeclared indentifier' error ?
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

  4. #4
    Registered User carrotcake1029's Avatar
    Join Date
    Apr 2008
    Posts
    398
    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,669
    >> 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
    Join Date
    Mar 2004
    Location
    Kurunegala Colony, Sri Lanka, Sri Lanka
    Posts
    363
    Ok Thanx.
    Some useless programs i've wrote : slprogrammersheaven
    Youtube: http://www.youtube.com/user/geekyzine
    My amature IT Blog: http://everything-geeky.blogspot.com/
    My Flash games: http://flashweed.blogspot.com/

    (and, sorry for my amature english)

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21