1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

How to make File Copy Protect using WIN32

Discussion in 'C' started by Guru_Angadi, Mar 12, 2012.

  1. Guru_Angadi

    Guru_Angadi New Member

    Joined:
    Mar 12, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hello..

    I have created a file using Core WIN32 & code is like this : HANDLE hFile = CreateFile("E:\\FileName123.txt", GENERIC_READ,0,0,OPEN_ALWAYS, FILE_ATTRIBUTE_READONLY, 0);
    This will create a file with name FileName123 in E:Drive.

    My question is: When it will create the file in E:Drive, it must become Copy Protect. That is., File should not copy to other location.

    Please can u suggest any solution for this ..

    Thanks..
     
  2. Exquisite

    Exquisite New Member

    Joined:
    Aug 5, 2011
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    xxx
    cnt get u right.
     

Share This Page