Re: [udk-dev] COM bridge from ooBasic to C++ dll with typelibrary

2007-10-17 Thread Joachim Lingner
[EMAIL PROTECTED] schrieb: Thank you for your help. Is it possible to port the example using the OLE/COM Uno bridge and still having the call in ooBasic of the function unchanged like Outval = fplus( inval) This would at least limit the changes to do the vba code during the port to

Re: [udk-dev] COM bridge from ooBasic to C++ dll with typelibrary

2007-10-17 Thread Andreas Bregas
Hi Jürgen, I actually tried the data types we use int, double, Variant_Bool. They work fine. We do not use VARIANT or SAFEARRAY to limit porting effort to other platforms. calling functions in DLLs directly from Basic doesn't have anything to do with UNO types as this functionality is much

Re: [udk-dev] COM bridge from ooBasic to C++ dll with typelibrary

2007-10-17 Thread Joachim Lingner
You can find some demo OOo BASIC code here: http://util.openoffice.org/source/browse/util/extensions/test/ole/StarBasic_OleClient/ File: oleclient.bas The files for automation component are here: http://util.openoffice.org/source/browse/util/extensions/test/ole/AxTestComponents/ -- Joachim

Re: [udk-dev] COM bridge from ooBasic to C++ dll with typelibrary

2007-10-16 Thread jjaeger
Thank you for your help. Is it possible to port the example using the OLE/COM Uno bridge and still having the call in ooBasic of the function unchanged like Outval = fplus( inval) This would at least limit the changes to do the vba code during the port to OpenOffice. Is there another way

[udk-dev] COM bridge from ooBasic to C++ dll with typelibrary

2007-10-02 Thread jjaeger
Hello, I am porting a C++ COM application that is called from Excel via VBA to application that is called from Calc via ooBasic. I am new to the OpenOffice environment and have some basic questions to learn the way ooBasic uses the OLE/COM Uno bridge. Here is my C++ example: MYSHAREDLIB_API

[udk-dev] COM bridge from ooBasic to C++ dll with typelibrary

2007-10-02 Thread jjaeger
Return Receipt Your [udk-dev] COM bridge from ooBasic to C++ dll with document: typelibrary