Issues Instantiating Automation Object
Hi Lesley,
We had a similar issue but in the opposite direction. We used an ActiveX control issued by a device manufacturer with Studio 5.1 without issue. When we moved to Studio 8, the control stopped working. After troubleshooting the program with the Omnis engineering team, we learned the ActiveX was built with older libraries that Studio 8 could no longer see. Studio 8 is built with a newer version of Visual Studio—2015, I believe—so it’s worth a shot to see if it can recognize your control.
Alex
> On Mar 20, 2018, at 13:28, Lesley F Jacques via omnisdev-en <omnisdev-en@lists.omnis-dev.com> wrote:
>
> Hello everyone,
>
> I am trying to set up an interface between a Color Measuring instrument and my Omnis Library. We use this instrument to take measurements of color. The data come into Omnis via a USB port and are stored in the Database.
>
> I am already using the manufacturers USB port driver for another different instrument with success.
>
> This newer instrument is a Byk gardner Acquire Quantum EFX Plus, and is supported by an External DLL object which has been supplied to me.
>
> The instructions to register the files are as follows, and when run I get a successful registration. The DLL’s are stored in the C:WindowssysWOW64 folder.
>
> C:WindowsMicrosoft.NETFrameworkv4.0.30319regasm.exe /codebase /tlb BykMiniEFXDataInterface.dll
>
> Once registered the object appears in the Studio automation library.
>
> According to instructions supplied to me, the external DLL files have to be placed in the same folder as the Omnis.exe file, I have tried them in other folders but in this case I simply get a file not found error. Apparently they can only be ‘seen’ by omnis if they are in the main folder.
>
> QFXObj is a local object variable of subtype bykinterface etc;
> When I instantiate the object by using QFXObj.$createobject() Omnis just thinks for a second as it loads it and then shuts down completely.
>
> We have postulated that Omnis Studio 6.02 may not be compatible with the 4.0 .NET framework since all of the documentation we have refers to the 2.0 .NET framework?
>
> We would welcome any ideas or suggestions from the group.
>
> thank you
>
> Lesley
>
>
>
> Lesley Jacques
>
> 1005 SW 18th Ave
> Homestead, FL 33034
> D 610 358-6391
> C 305 807-6067
> F 305 847-0295
> DAx 8-102-6391
> Lesley.f.jacques@axaltacs.com<mailto:Lesley.f.jacques@axaltacs.com>
> General Weathering Inqiry Mailbox
> Weathering@axaltacs.com<mailto:Weathering@axaltacs.com>
> Website<www.axaltacs.com/corporate/en_US/products-customers/services/weathering-systems.html>
> Outdoor Weathering is the Standard by Which
> All Other Weathering Tests are Judged.
>
>
>
>
> This communication is for use by the intended recipient and contains information that may be Privileged, confidential or copyrighted under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system. Unless explicitly and conspicuously designated as “E-Contract Intended”, this e-mail does not constitute a contract offer, a contract amendment, or an acceptance of a contract offer. This e-mail does not constitute a consent to the use of sender’s contact information for direct marketing purposes or for transfers of data to third parties.
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com