Restored from previous forum. Originally posted by raphael.
Hello!
Can someone give me any hints on how to code ActiveX DLLs with Purebasic for use in MS Internet-Explorer?
Is this possible at all?
Thank you!
Programming ActiveX Controls
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.

I think ActiveX is an extension/enhancement of COM (that's what the MSDN site seemed to be saying, but don't kill me as I don't know much about it). Here's a snippet from the MSDN site:
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + all updates, PB3.51, Ed3.53)
OO is just another way of programming. At it's lowest level it is still the same as any other software (calling functions), just the same as "data is data is data" as Danilo saidOriginally posted by freak
I'm sorry, but I don't think that is possible. ActiveX is Opject oriented, and Purbasic can't handle this.
I think ActiveX is an extension/enhancement of COM (that's what the MSDN site seemed to be saying, but don't kill me as I don't know much about it). Here's a snippet from the MSDN site:
The only language requirement for COM is that code is generated in a language that can create structures of pointers and, either explicitly or implicitly, call functions through pointers. Object-oriented languages such as Microsoft® Visual C++® and Smalltalk provide programming mechanisms that simplify the implementation of COM objects, but languages such as C, Pascal, Ada, Java, and even BASIC programming environments can create and use COM objects.
--
It's not minimalist - I'm increasing efficiency by reducing input effort.
(Win98first ed. + all updates, PB3.51, Ed3.53)
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by raphael.
Thank you for your answers!
So, is it possible or isn't it?
I guess ActiveX Controls aren't anything else but some kind of DLLs (exe, vbx, ocx) that can be accessed by the Class-ID returning certain values to the host program.
AFAIK COM - which is object-based - must be used as a calling convention in the host-programm but does it also imply the control has to be like this?
I mean, even VB translates to machinecode at some time...
Any other hints are greatly appreciated!
Thank you for your answers!
So, is it possible or isn't it?
I guess ActiveX Controls aren't anything else but some kind of DLLs (exe, vbx, ocx) that can be accessed by the Class-ID returning certain values to the host program.
AFAIK COM - which is object-based - must be used as a calling convention in the host-programm but does it also imply the control has to be like this?
I mean, even VB translates to machinecode at some time...
Any other hints are greatly appreciated!
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm