on ‎2020 Sep 02 6:33 PM
Hello,
I am working with Visual Studio 2019 Community Edition Version 16.7.2
I have referenced the SapBusinessOneSDK.dll inside a Console Application to access SAP B1 vis DI API and I am not able to inspect the Sap B1 COM Objects while debugging.

This are the project properties of the mentioned Console App in the Debug Section:

And this are the Visual Studio Options relevant to Debugging:

How should I proceed?
Thank you.
Request clarification before answering.
Hi Jean Pierre,
i got it, you'll have to add the attribute [STATThread] on you main function.
[STAThread]
static void Main(string[] args)
{
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 51 | |
| 29 | |
| 20 | |
| 10 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.