Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Our Crystal Runtime Solution -Very Long Post
Message
From
06/10/2000 14:03:19
Victor Chigne
Inteliventas
Peru
 
 
To
06/10/2000 13:59:36
Victor Chigne
Inteliventas
Peru
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00404613
Message ID:
00426133
Views:
22
To register by implementing the following routine in your setup program or at your application's start-up:
C/C++ Version

BOOL RegistryCFX ()
{
HINSTANCE hOCX;
FARPROC pReg;

#ifdef _WIN32
hOCX = LoadLibrary("CFX32.OCX");
#else
hOCX = LoadLibrary("CHARTFX.OCX");
#endif

if (!hOCX)
return FALSE; // Could not load OCX !

pReg = GetProcAddress(hOCX,"DllRegisterServer");
if (pReg)
pReg(); // Call the registration function

FreeLibrary(hOCX);
return (pReg != NULL);
}
Previous
Reply
Map
View

Click here to load this message in the networking platform