Does anyone have experience with Interop for BWS? I'm trying to get started by 
running the .NET example solution and am getting a ComException when creating 
the BostonWorkstation70.BostonWorkstation object.

System.Runtime.InteropServices.COMException was unhandled
  ErrorCode=-2147221164
  Message=Retrieving the COM class factory for component with CLSID 
{A34F13B1-C8A8-4249-A5DF-2D840C1D5960} failed due to the following error: 
80040154.
  Source=Bss9
  StackTrace:
       at Bss6.Bss9.ObjectScript() in C:\Bss70\Bss9.NET\Bss9\Bss9\Bss9.vb:line 
11
       at Bss6.Bss9.cmdObject_Click(Object sender, EventArgs e) in 
C:\Bss70\Bss9.NET\Bss9\Bss9\Bss9.vb:line 61
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons 
button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, 
Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at 
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32
 dwComponentID, Int32 reason, Int32 pvLoopData)
       at 
System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 
reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 
reason, ApplicationContext context)
       at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       at 
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[]
 commandLine)
       at Bss6.My.MyApplication.Main(String[] Args) in 
17d14f5c-a337-4978-8281-53493378c1071.vb:line 81
       at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ExecutionContext.Run(ExecutionContext 
executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
  InnerException:

Environment is Windows 7 64bit. I've tried to create a new solution and set the 
Build Platform target to x86 with the same result.

-Rob

---  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   

Reply via email to