General information
Category:
Third party products
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only