Page 1 of 1
Posted: Sat Feb 08, 2003 10:54 pm
by BackupUser
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!
Posted: Sat Feb 08, 2003 11:14 pm
by BackupUser
Restored from previous forum. Originally posted by freak.
Hi, and welcome to this Forum...
I'm sorry, but I don't think that is possible. ActiveX is Opject oriented, and Purbasic can't handle this.
Timo
Posted: Sun Feb 09, 2003 12:16 am
by BackupUser
Restored from previous forum. Originally posted by tinman.
Originally posted by freak
I'm sorry, but I don't think that is possible. ActiveX is Opject oriented, and Purbasic can't handle this.
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 said
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)
Posted: Sun Feb 09, 2003 2:39 pm
by BackupUser
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!

Posted: Sun Feb 09, 2003 4:06 pm
by BackupUser
Restored from previous forum. Originally posted by fred.
It should be possible, just search for some COM examples. But it's not easy.
Fred - AlphaSND
Posted: Sun Feb 09, 2003 4:33 pm
by BackupUser
Restored from previous forum. Originally posted by freak.
All those Examples only show, how to call COM Objects, but not how to create you own Objects.
But I don't know much about all this, so I can't help.
Timo