Skip to Content
0
Former Member
May 11, 2004 at 10:40 PM

UI SDK with C# - problems implementing the ToolBarCtrl example

118 Views

I've been implementing the UI SDK samples in C#. They have all worked fine except for the ToolBarCtrl sample. When the SBO_Application.MenuEvent fires, I get the following exception: "query interface for SAPbobsCOM.IRecordset failed" whenever the oRecordSet MoveNext, MoveFirst, MoveLast, MovePrevious methods are called. Further experiments with this code raise an exception whenever an object/interface in SAPbobsCOM are called from Application.MenuEvent.

Is anyone else experiencing the same problem in C# or know of a solution around this?