Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I debug Visual Basic applications for Bentley InRoads?

0
Posted

How do I debug Visual Basic applications for Bentley InRoads?

0

Below are the steps for debugging both the In-Process and Out-Of-Process applications: In-Process (Requires MicroSoft Visual C++) • Set the Project Properties before compiling the Visual Basic DLL. • Compile to native code. • Create symbolic debug info. • No optimization. • Windows Task Manager (MicroStation and InRoads have to be open) • Go to process tab, right click ustation.exe, select debug. • VC++ opens • VC++ • Go to File > Open > startform.frm. • Now go to Project Settings > Debug tab > additional dlls and select Visual Basic DLL. • Set breakpoints in the startform.frm. • InRoads • Go to Tools > Run Macro and select Visual Basic DLL. The focus will flip back to VC++ at the breakpoint. • Use VC++ debugging commands to step through code. Out-Of-Process • All you need to do to debug an Out-Of-Process application is, use the Visual Basic debugger commands.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123