Converting Trial to Full Version

Get Full Version

The trial version of Virtual Serial Port Control has some limitations such as a time trial. Once you have purchased the license, a license key will be sent to you to unlock the software for full use.

All possible payment ways are accepted (credit cards, purchase orders, checks, mail, phone, fax orders, wire transfer).
Get Full Version Online

Using Licensed Version

Important! After Virtual Serial Port Control license order you will receive unique license key-code which will allow you to lift all restrictions of component use and distribution with your developed application. The use of registration key depends from development environment. In any case you have to save above key-code to ftvspc.lic file and replace the same trial file within folder where Virtual Serial Port Control was installed to. Usually ftvspc.lic file has to be placed within WINDOWS\SYSTEM32 folder. Also we suggest you to read this MSDN Licensing ActiveX Controls article to understand details of described below licensing ways.

Microsoft Visual C++

If you use MFC

1) Add component in form.

2) MFC wizard creates files with IDispatch wrapper classes for the component interfaces.

3) Find below method within ftvirtualserialport.h file

BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
{
	return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey);
}

4) Replace value of bstrLicKey from NULL to your received registration key-code.

BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = "Your license key-code")
{
	return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey);
}

If you don't use MFC

Create class instance using IID_IClassFactory2 interface and enter your received registration key-code as below:

if (SUCCEEDED(CoGetClassObject(CLSID_FTVirtualSerialPort, CLSCTX_INPROC_SERVER, NULL,
		IID_IClassFactory2, (LPVOID *)(&pClassFactory))))
{
	HRESULT hr;
	_bstr_t bstr = "Your license key-code";

	IFTVirtualSerialPort *sp;
	hr = pClassFactory->CreateInstanceLic (NULL, NULL, IID_IFTVirtualSerialPort, bstr, (void**)&sp);
}

Microsoft Visual Basic

In fact licensing process in the Microsoft Visual Basic goes without developer participation. Microsoft Visual Basic itself retrieves component registration key during project compilation and embeds it to the exe file of your developing application. So to use licensed version of Virtual Serial Port Control you have to:

1) Replace trial ftvspc.lic file, within folder where Virtual Serial Port Control was installed, by licensed file.

2) Recompile your project.

3) Place component to the folder together with your application and Virtual Serial Port Control will be registered at first start of your application.

Borland Delphi

Borland Delphi itself retrieves component registration key during component importing and embeds it into TVIRTUALSERIALPORTLib_TLB.pas file. So to use licensed version of Virtual Serial Port Control you have to:

1) Replace trial ftvspc.lic file, within folder where Virtual Serial Port Control was installed, by licensed file.

2) Go to Borland Delphi menu: Component -> Install Packages

3) Delete all files with FTVIRTUALSERIALPORTLib names within Borland User Component

4) Recompile your project.

5) Import Virtual Serial Port Control ActiveX again to save your new license key.