Visitor Messages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramcbe
    New Member
    • Jun 2009
    • 1

    hello, i have seen your post in this forum.i am very new to vc++. u also wrote this same code in this forum i saw.
    TCHAR* GetPIDValue(TCH AR*);
    TCHAR* GetPIDValue(TCH AR* lpszSourceDir)
    {// For example, suppose the msi is located on a CD in the folder "\Setup\MySetup .msi".
    // The user is running the CD in the D: drive.
    // lpszSourceDir will have a value of "D:\Setup\" .
    // Note that the trailing slash is included!

    // TO DO: Concatenate key file path, example lpszSourceDir + "MyKeyFile. dat"
    // TO DO: Read key file from source media
    // TO DO: Code decryption algorithm for key file
    // For this example, simply return a literal PID key of format <### - #######>
    return "123 - 4567890";}
    It is not working properly in my install.i have another problem how can i attach mykeyfile.dat.p lease help me...how can i use this code for my serialnumber.
    thanks in advance,i am expecting ur help.pls.
Working...