Tyler, Any PC that runs code that uses Boston WorkStation objects needs a license in order to run.
So you would need to install and license Boston WorkStation on those other PC's in order for your program to run. Regards, Thom Thom C. Blackwell VP, Technical Services Boston Software Systems, Inc. Phone: 866.653.5105 x807 Mobile: 508.423.8463 Fax: 508.319.3015 www.bostonsoftwaresystems.com <http://www.bostonsoftwaresystems.com/> The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. From: [email protected] [mailto:[email protected]] Sent: Friday, June 08, 2012 2:49 PM To: Talk Subject: [talkbws] Using BWS in other programming languages 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 --- 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 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
