Information générale
Catégorie:
Produits tierce partie
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);
}
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement