Hello everybody,
Has anybody used BWS in a different programming language? BWS has a few
documents on it in their Knowledge Base and I have BWS working in C#. I'm able
to compile and run a C# program that interfaces with BWS to automate Meditech
Magic.
But I'm having difficulty publishing this C# project to other PCs. I'm unsure
if BWS needs to be fully installed on any machine that this C# program would
run on. If I try running the program on a machine that doesn't have BWS, I get
this error:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the
COM class factory for component with CLSID
{B3C8BD01-99F3-42A8-B07F-7D94E68053D5} failed due to the following error:
80040154 Class not registered (Exception from HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG)).
But I've also tried running it on another machine that has BWS (runtime
license) installed and I get this error:
System.InvalidCastException: Unable to cast COM object of type
'System.__ComObject' to interface type 'BostonWorkStation70.BostonWorkStation'.
This operation failed because the QueryInterface call on the COM component for
the interface with IID '{8C8144EF-ADB7-48FD-A5BB-6E55B8382B3E}' failed due to
the following error: No such interface supported (Exception from HRESULT:
0x80004002 (E_NOINTERFACE)).
Just wondering if anybody has experience with this and had any tips. The code
(which compiles fine) I'm using is something like:
using BostonWorkStation70;
...
BostonWorkStation bwsi;
...
bwsi = new BostonWorkStation();
...
Regards,
Tyler Nielson
Applications Analyst
I.S. Department, Saratoga Hospital
This e-mail communication and any attachments may contain
confidential and privileged information for the use of the
designated recipients named above.
If you are not the intended recipient, you are hereby notified
that you have received this communication in error and that
any review, disclosure, dissemination, distribution or copying
of it or its contents is prohibited. If you have received this
communication in error, please notify Saratoga Hospital
immediately by e-mail at [email protected] and
destroy all copies of this communication and any attachments.
--- To post a message to this list, send mail to: [email protected] You are
currently subscribed as: [email protected] Unsubscribe in the
customer center on our website:
http://www.bostonworkstation.com/customer_center/virtual_user_group_talk.aspx