Using objects instantiated by a DLL in Basic

Keyboard macros or custom scripts

Using objects instantiated by a DLL in Basic

Postby sqykly » Mon Jan 26, 2009 9:42 am

If I Declare a DLL function that returns an instance of a class and invoke it within OOoBasic, what results can I expect? I would be somewhat surprised if the object behaved normally without any special treatment, but that would solve 99% of the problems I come here whining about =). Specifically, would I have to Declare each and every one of said object's methods? Would Basic flip its lid over a non-UNO object being stuck in its object variable? I dare not hope that any overloaded operators would be accessible.
OOo 3.0.X on Ms Windows XP
sqykly
 
Posts: 27
Joined: Mon Nov 24, 2008 8:28 am

Re: Using objects instantiated by a DLL in Basic

Postby Villeroy » Mon Jan 26, 2009 1:09 pm

Well, you are the pioneer to explore this on your own. And don't forget to tell us the results. OOo is platform independent and the built-on StarBasic language with it's Win-specific declare statement is a far cry from the early 90ies. It's a primitive loudspeaker to call the office-API, but you can not really write progams with it. All your threads in this forum confirm this private theory of mine.

Usually the "old" oooforum.org is a good source of knowlege. The "old veterans" contributed 90% of all the knowlege between 2003 to 2005. It's still in there (more or less hidden, which was one reason to start this forum).
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 27112
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to OpenOffice Basic, Python, BeanShell, JavaScript

Who is online

Users browsing this forum: No registered users and 3 guests