Browse By Tags

  • [Connect C++ Update 16] Using Visual Studio 2019

    Hi All, I was hoping to get started with C++ MDL development and didn't have the hard drive space or desire to uninstall my current devenv (VS2019 Pro) and then have to reinstall VS2017 along with all the same features / extensions... so long story…
  • [Connect C++] Compile Error while adding Boost library

    Hi, I'm encountering many errors while trying to include boost library inside my MDL program. More precisely I'm trying to include in my header file the IfcOpenShell libraries that have many dependencies to the boost libraries. While trying to compiling…
  • [CONNECT C++] Install Viz Studio 2015 with all C++ Features

    As I learned recently, installing a default Viz Studio 2015 does not install all C++ features. You have explicitly to select them. If that surprises you (it did me) then visit discussion groups that deal with Viz Studio to read plenty of posts about that…
  • [CONNECT] Visual Studio Versions

    MicroStation CONNECT Update 3 installs the Microsoft C++ runtime 2015 redistributable. As far as I know, we should be using Viz Studio 2013 for CONNECT C++ development. Or am I mistaken? Should we be using Viz Studio 2015 for native code?
  • Loosing header file - Debug vs Release, InRoads SS2 c++

    We try to modify sample_app for PowerInRoads SS2, c++ apps. By changing configuration, we have this behavior: header file SCadFTR.h seems to be lost ? We can build "sample_app", but, just in debug mode. Any clues on what append ? Just InRoads…
  • Need an example batch file to build Fortran and C++ in VisualStudio2013 while including libraries from VS2005 to run Microstation v8sel2.

    {Please read completely before answering "just use VS2005".} I have recently inherited a project which is mainly in Fortran77 (tens of thousands of lines), C++ (a few hundred lines), and Microstation to plot the results. It worked well as long as the…
  • Re: Can't call DLL function that makes ProjectWise API calls

    Ok, I got a test function to execute, but I'm still getting this error: Run-time error '49': Bad DLL calling convention I modified my code by splitting it into a header file and .cpp file, as follows: Header (myProject.h): namespace myProject…
  • Can't call DLL function that makes ProjectWise API calls

    Using Visual C++ (in Visual Studio 2012), I've made a DLL with a function openDoc(int projID,int docID) that calls the ProjectWise API to open a document. I'm trying to call this function from either C# or VBA, but haven't succeeded with either one…
  • How to create basic "Hello World" application for testing ProjectWise API?

    As I mentioned in http://communities.bentley.com/products/projectwise/projectwise_programming/f/342995/p/90780/259520.aspx#259520 , I'm trying to get started with a very basic application to test out the ProjectWise API. I'm going to try writing a DLL…
  • Visyal Studio versions

    I used to develop applications for Microstation using Pure MDL. Since developing is encouraged using the MicrostationAPI with Visual Studio 2005, I have the following question. I have Visual Studio 2008 and can't get Visual Studio 2005 anywhere. The cureent…
  • Procedure to build first MicroStation DLL

    Hi, I am a new bie to MicroStation SDK. I am using MicroStation V8i(select series 2). MicroStation V8i(select series 1) SDK. I have created a dll using C++. May i can know the process to build .mke and .ma files to load in…
  • [V8i C++] MicroStation V8i SELECTseries 2 MDL coding

    Hi all - new member, new to v8i I'm a programmer who created complex MDL (3d wireframe) models prior to taking an 8-year assignment in our IT group. I have also created dozens of utilities for designers to use, all using the old-style MicrostationJ…
  • Re: PORTING MDL-NATIVE

    Compile, Link or Build? alder76 said: I'm able to compile the examples with bmake but I'd like to compile them with visual studio 2008 There's more to creating an MDL or native-code application than simply compiling it. Your C or C++ source…
  • C++ clients for a .NET DLL

    C++ client implementations The question "How do I use .NET with my MicroStation application?" crops up frequently on these Forums. In an earlier post I described how to implement a .NET COM server . A COM server is compatible with VBA, C++,…
  • Re: link c++ with microstation

    arularasu said: I'm trying to work on MicroStation using C++ Create a DLL. #include MDL and MicroStation header ( .h ) files in your source code ( .h, .cpp ) so the C++ compiler can recognise MicroStation functions. Link with the static library ( …
  • Re: Native Code Compilation using Visual Studio 2005

    MicroStation and Viz Studio When building with Viz Studio, you must (a) tell the C++ compiler where to find the MDL header ( .h and .fdf ) files, and (b) tell the linker where to look for library ( .lib ) files. That may involve setting various Windows…
  • All-In-One Code Framework

    I know this is not specifically a MicroStation subject but if you're doing native code development, you'll likely find it useful. The All-In-One Code Framework site at http://1code.codeplex.com/ "delineates the framework and skeleton of most Microsoft…
  • Re: Visual Studio compiling

    Russ said: This system seems way over complicated It's not complicated, but it is definitely confusing. Here's a comparison of Visual Studio and Bentley Make that may help. Russ said: VCVarsQueryRegistry2010.mki I don…