Quantcast
Channel: MicroStation Programming Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4331

Setting up VS 2017 C++ project for debugging

$
0
0

I'm trying to setup a vs 2017 c++ project to debug a MDL project I created with Microstation SDK Command Utility.

I'm using Promis.e Connect Update 10 (Latest Build). I'm not 100% sure what version of Microstation that translates to, but the add-ins I've created with VS in C# and the MDL add-ins I've created recently with bmake work as expected. I'm just trying to get debugging setup so I can take advantage of some of VS's debugging tools as I am new to C++ and just stumbling my way through at the moment.

I've got to the point of building the project and keep getting the error:

----Error C1189 #error: Data Alignment must be defined in basedefs.h

In the basedefs.h file this seems to have something to do with WinNT not being defined. I did find a previous post concerning this:

https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/182307/connect-c-setting-up-c-visual-studio-project-problems/705315#705315

but couldn't understand much of it.

I tried pre defining WinNT(Not sure I did that correctly either) and while it eliminated that error, now I've 17 new very wordy and complicated looking errors concerning memaloc and string defs of all types...

Another issue I may have is that I will be debugging this on a remote machine which I do all the time with my C# Add-ins.. just not familiar with C++ and MDL Command prompt to get this going.

Any insight will be greatly appreciated. 

Thanks

Dave


Viewing all articles
Browse latest Browse all 4331


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>