Code: Select all
#include "ComObj.hpp"
#include "GdPicture_NET_9_TLB.h"
void unlock()
{
_LicenseManagerPtr oLicenseManager;
oLicenseManager = (_LicenseManagerPtr)CreateComObject(CLSID_LicenseManager);
BSTR bstrTest = ::SysAllocString(L"YOUR_LICENSE_KEY");
oLicenseManager->RegisterKEY(bstrTest);
::SysFreeString(bstrTest);
bstrTest = NULL;
}
Code: Select all
#include <WTypes.h>
Set8087CW(0x133f);
Note: To import the SDK in the ActiveX Palette: Components / Import Component... / Import ActiveX Control / Select GdPicture.NET / select Generate Component Wrappers / Install to a new Package / use GdPicture as package name / Finish.
If you have any question just let reply this ticket!