Hi
I was testing the use of Valentina Database with Xailer via COM but it doesn't come packaged as as OCX file but rather as a DLL. So can such a COM object be imported into Xailer the way an ActiveX type can be?
It sure is nice to see a class created automatically for ActiveX controls. It would be nice if this could be done with COM objects in the DLL format.
Regards,
Simon White
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Valentina Database via COM
-
- Mensajes: 30
- Registrado: Dom Mar 08, 2009 3:24 am
Valentina Database via COM
Simon,
> I was testing the use of Valentina Database with Xailer via COM
> but it doesn't come packaged as as OCX file but rather as a DLL.
Well, an OCX is simply executable code, that can be contained into a DLL,
OCX, or any other file extension. However, OCX and DLL are the most used
extensions for OCX.
> So can such a COM object be imported into Xailer the way an
> ActiveX type can be?
>
> It sure is nice to see a class created automatically for ActiveX
> controls. It would be nice if this could be done with COM objects
> in the DLL format.
ActiveX components (OLE automation server) and ActiveX controls (OCX) are so
far different things, althought both are OLE related. Xailer can create a
class to use an ActiveX control, because typelib information is a must in
any OCX. But ActiveX components doesn't contain typelib information, so it's
not possible to create such classes.
If that component is indeed an OCX, then you only need to register it (by
using regsvr32.exe) and it will appear in the list shown by Xailer's IDE.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> I was testing the use of Valentina Database with Xailer via COM
> but it doesn't come packaged as as OCX file but rather as a DLL.
Well, an OCX is simply executable code, that can be contained into a DLL,
OCX, or any other file extension. However, OCX and DLL are the most used
extensions for OCX.
> So can such a COM object be imported into Xailer the way an
> ActiveX type can be?
>
> It sure is nice to see a class created automatically for ActiveX
> controls. It would be nice if this could be done with COM objects
> in the DLL format.
ActiveX components (OLE automation server) and ActiveX controls (OCX) are so
far different things, althought both are OLE related. Xailer can create a
class to use an ActiveX control, because typelib information is a must in
any OCX. But ActiveX components doesn't contain typelib information, so it's
not possible to create such classes.
If that component is indeed an OCX, then you only need to register it (by
using regsvr32.exe) and it will appear in the list shown by Xailer's IDE.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 30
- Registrado: Dom Mar 08, 2009 3:24 am
Valentina Database via COM
Well I did register it using Regsvr32 and it said it succeeded but it does not show in the list of activeX controls so in that case I guess it must be an ActiveX component.
> Simon,
>
>> I was testing the use of Valentina Database with Xailer via COM
>> but it doesn't come packaged as as OCX file but rather as a DLL.
>>
>
> Well, an OCX is simply executable code, that can be contained into
> a DLL, OCX, or any other file extension. However, OCX and DLL are
> the most used extensions for OCX.
>
>
>> So can such a COM object be imported into Xailer the way an
>> ActiveX type can be?
>>
>> It sure is nice to see a class created automatically for ActiveX
>> controls. It would be nice if this could be done with COM
>> objects in the DLL format.
>>
>
> ActiveX components (OLE automation server) and ActiveX controls
> (OCX) are so far different things, althought both are OLE related.
> Xailer can create a class to use an ActiveX control, because
> typelib information is a must in any OCX. But ActiveX components
> doesn't contain typelib information, so it's not possible to create
> such classes.
>
> If that component is indeed an OCX, then you only need to register
> it (by using regsvr32.exe) and it will appear in the list shown by
> Xailer's IDE.
> Simon,
>
>> I was testing the use of Valentina Database with Xailer via COM
>> but it doesn't come packaged as as OCX file but rather as a DLL.
>>
>
> Well, an OCX is simply executable code, that can be contained into
> a DLL, OCX, or any other file extension. However, OCX and DLL are
> the most used extensions for OCX.
>
>
>> So can such a COM object be imported into Xailer the way an
>> ActiveX type can be?
>>
>> It sure is nice to see a class created automatically for ActiveX
>> controls. It would be nice if this could be done with COM
>> objects in the DLL format.
>>
>
> ActiveX components (OLE automation server) and ActiveX controls
> (OCX) are so far different things, althought both are OLE related.
> Xailer can create a class to use an ActiveX control, because
> typelib information is a must in any OCX. But ActiveX components
> doesn't contain typelib information, so it's not possible to create
> such classes.
>
> If that component is indeed an OCX, then you only need to register
> it (by using regsvr32.exe) and it will appear in the list shown by
> Xailer's IDE.