Recent Posts

Pages: [1] 2 3 ... 10
1
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by John on September 17, 2018, 06:31:46 AM »
It is an ActiveX DLL. I think I need to import the typelib for v-table (dual interface) access.
2
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by AlyssonR on September 17, 2018, 06:12:32 AM »
I suspect that might only be available when you create an ActiveX DLL, as below
3
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by John on September 15, 2018, 09:56:15 AM »
I'm trying to make the OLD OCX a dual interface but unable to find the checkbox that does so. No luck in the project properties.

The Oxygen Basic DLLC extension module supports a COM direct interface. I'm trying to get the Online Dictionary example to work as a non-iDispatch automation server. I'm using DLLC to prototype the direct interface and once it works, a generic include/library for O2 can be created. (removing SB from the picture)

4
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by John on September 14, 2018, 01:55:03 PM »
It's going to be really hard for Microsoft to kill off COM/OLE automation as it is the skeleton of Office. People count on it gluing their world together.

VB6 may be unsupported but VBA is alive and well. COM/OLE automation is used extensively under VBA. (Excel, Word, Outlook, ..., QuickBooks desktop, Crystal Reports, the list goes on and on)

5
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by AlyssonR on September 14, 2018, 01:53:03 AM »
Impressive - but when COM/OLE was first developed, machines were much slower.

Remember that a lot of software suffers from bloat - and saving a few clock cycles here and there on a few thousand program threads will take a program from glacial slowness to cold-rice-pudding.

Of course, there's also the Oooooh!  SHINY! NEW! effect that has developers running like lemmings toward the latest and greatest tool (.NET springs to mind here), regardless of whether it is a necessary change or not.

IMHO, COM/OLE was an excellent software device that was dropped for no good and enduring reason - it is more flexible in many ways than the more recent process interfacing API. Certainly, it is better encapsulated for use.
6
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by John on September 12, 2018, 08:40:16 AM »
The VB6 OCX based Online Dictionary loads instantly. You would never know it's not a compiled application.
7
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by AlyssonR on September 12, 2018, 01:32:44 AM »
Hard Core Win/API coders are all known to be crazy  ;D

COM/OLE was originally designed to simplify inter-process communications. Why re-invent the wheel every time you want to do something - and then have to re-re-invent it when a new version of Windows does something different?

If it's a performance-critical application, I can see it, but for most users? A few milliseconds on a screen-load isn't even enough to focus on the next page of data input. We wait longer for a web page to load up.

8
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by John on September 11, 2018, 10:58:26 AM »
According to the hard core WinAPI coders, COM/OLE automation is for pussies. I on the other hand value my time and try to give my clients their money's worth by working on their requirements and less on pre-project framework creation.
9
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by AlyssonR on September 11, 2018, 01:30:17 AM »
As to what BASICs support COM/OLE - I have no idea.

Most could, but how many do?
10
Scripting Languages / Re: Script BASIC - VB6 OCX Forms
« Last post by John on September 10, 2018, 08:30:26 AM »
+1

Any others?

I'm trying to get Charles Pegge (Oxygen Basic author) to create a similar CallByName interface as what we have working with Script BASIC. It would be great to have a BASIC compiler support OCX forms (created with VB Classic or VB.NET) as well as having an interpretive solution.

I never did get a response to what BASIC languages support COM/OLE automation.  :(

Pages: [1] 2 3 ... 10