Skip to Content
0
Former Member
Apr 08, 2008 at 03:48 PM

GetDICompany() shared connection Windows form

65 Views

Hey All,

I am having some issues with using the GetDICompany shared connection when running it inside my addon. I have an addon that creates a new thread to run a windows form and I pass it the connection to the B1 Client SAPbouiCOM.Application object. That windows form then uses the SAPbouiCOM.Application to call GetDICompany when it needs the company object. If we run a lot of data through our windows form or leave it for long periods of time we get B1 client freeze ups and then the application stops working.

Anyone seen these types of issues before? Has anyone used the GetDICompany from a windows form inside a B1 addon?

Here is the error message we get:

ERROR 6 CommerceManager.frmMain - System.Runtime.InteropServices.COMException (0xFA0A1EFC): Internal error (100000004) occurred  [131-183] - 
   at SAPbouiCOM.CompanyClass.GetDICompany()

Thanks,

Curtis