Search code examples
c++windowslicensinghardware-interfacec++builder-6

Development of Station Licence in Borland C++ Builder 6


I am using Borland C++ Builder 6 to design a Station Licence mechanism for a Windows application.

I have read that a Station Licence is bound to unique hardware information of the computer the application is running on.

What hardware information can I use?

How can I get this information using C++Builder 6?

Does C++Builder 6 have an encryption library?


Solution

  • I have to agree with @drescherjm. The C++ Builder 6 is more that 14 years old. You can get the starter edition of latest compiler for free from Embarcadero's Website.

    What hardware information could I use ??

    The hardware info that you can use is the motherboard serial number wich can be obtained using WMI. See this post and this.

    How can I get this information using "Borland C++ Builder 6" ??

    Follow the links above. You have to use COM which C++ Builder 6 was able to use.

    "Borland C++ Builder 6" has any encriptation library ?

    No. But you can use OpenSSL. Here is the instruction for using it. You can also use the Windows Cryptography API.

    Keep in mind that C++ Builder 6 will not run on any computer that has Vista or newer. Get the starter edition of latest compiler. It will create 32 bit windows app which sounds like is all you need.

    Sam