Issues Instantiating Automation Object
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.
1005 SW 18th Ave
Homestead, FL 33034
D 610 358-6391
C 305 807-6067
F 305 847-0295
General Weathering Inqiry Mailbox
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:firstname.lastname@example.org