Hi,
I have Windows 10 with Microstation Connect Update 12 and SDK Update 12 and Visual Studio 2017. I have 2 issues:
Cannot open source file "-config-eccp.h"
error directive: Data Alignment must be defined in basedefs.h
I have configured the correct Include Directories and Library Directories.
Can anyone tell me what am I doing wrong?
2. Once an app is loaded, it won't unload and I have to exit Microstation and get back in to unload it.
Dilip Bhandarkar
Hi Dilip,
Dilip Bhandarkar said:I have 2 issues:
Please follow community rules and best practices. When there are more issues, split them into separate posts!
Dilip Bhandarkar said:When I try to debug Visual Studio tries to build the app and fails
It's not clear how do you configure Visual Studio project and in what environment (from SDK shell or separately?) and setting (there are hundreds of settings) it is started. To debug MicroStation application (both native and managed) it's recommended to load the application and to attach to MicroStation process.
Dilip Bhandarkar said:Once an app is loaded, it won't unload and I have to exit Microstation and get back in to unload it.
Please post a new question for this question. Before it, search existing discussions, I rememeber it was asked and discussed already several times. You also have to specify whether you work with native or managed code, because they behave differently.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Jan,
I solved it. When I was "Attaching to Process", I had not set to Native Code and Managed Code. It was set to Automatic.
Thanks.
Please cancel my subscription as I have retired.