I am trying to get Visual Studio 2010 Express working with compiling the 'basic' sample. I did this by copying the sample files into a new VS DLL project and removed the existing files. I turned off precompiled headers (because of the errors the stdafx.h/cpp was giving me). I have added the MDL include directory and the library directory to their appropriate sections in the project config.
Now when compiling I am getting an error:
1>c:\program files\bentley\microstation v8i (selectseries 1)\microstation\mdl\include\bentleytype.h(72): fatal error C1189: #error : define the Int64 types
My questions are this: are you supposed to compile the DLL within the VS IDE? Is the creation of the .ma file to be done using bmake?
Trying both ways of compiling out, using the Microstation developer shell, I attempted at building the basic sample as-is using bmake. It incorrectly assumes VS2005 and is unable to find it. I pass bmake the dBUILD_WITH_VS2010 parameter and now it complains it is unable to find the VCVarsQueryRegistry2010.mki file.
This system seems way over complicated.
Unknown said: Just note that I suggest that you install older versions of Visual Studio before the newer (including all required Service Pack) otherwise you might have some problems.
Just note that I suggest that you install older versions of Visual Studio before the newer (including all required Service Pack) otherwise you might have some problems.
Should have asked earlier :(
Thanks,Jörg
Joerg,
As Jon said you could probably use both Windows XP (x86) or Windows 7 (x64) without any problem, but I guess you are better using the newer Windows 7 (x64).
As for installing multiple versions of Visual Studio on the same computer it is quite possible (I have four on my computer). Just note that I suggest that you install older versions of Visual Studio before the newer (including all required Service Pack) otherwise you might have some problems.
Thanks,
Mathieu
Unknown said:True, I'm using Win7 64bit Enterprise for both MDL (using VS2005) and .NET addin (using VS2010) without any problem.
Are you using two different VisualStudio versions on one machine ?
True, I'm using Win7 64bit Enterprise for both MDL (using VS2005) and .NET addin (using VS2010) without any problem.
So I would go with Win7 just because XP support will be gone pretty soon (no more security updates).
Joerg Teresniak said:Which Windows version would you recommend for MicroStation plugin development, XP (x86) or 7 (x64)?
Either is fine. You're building a 32-bit DLL, and the Microsoft compilers & linkers work in both.
Unknown said:Note that MicroStation V8i SELECTSeries 3 is build using Visual Studio 2005. So if you want to develop a plugin for MicroStation V8i SELECTSeries 3 you must use Visual Studio 2005, not Visual Studio 2010.
While that's true for C++ development, if you're developing a .NET application then you're decoupled from MicroStation's binary interface, because a .NET addin runs in the .NET runtime.
Regards, Jon Summers LA Solutions
Which Windows version would you recommend for MicroStation plugin development, XP (x86) or 7 (x64) ?
Hi Kaitraktion,
MicroStation V8i SELECTSeries 3 is not yet available. There is an early access program currently active (see communities.bentley.com/.../default.aspx).
Note that MicroStation V8i SELECTSeries 3 is build using Visual Studio 2005. So if you want to develop a plugin for MicroStation V8i SELECTSeries 3 you must use Visual Studio 2005, not Visual Studio 2010.
Thanks for the info. We are working with Version V8i Selected Series 2 08.11.07.446. I suppose thats not SS3. Where could we download the SS3.
In our Bentley account i only found this version 08.11.07.443. For further questions ill open a new thread.
Regards, Kai
The point cloud API is available to developers in MicroStation V8i SS3. It's in the Bentley::Ustn::PointCloud interface of the MicroStationAPI.
Here are some notes about Viz Studio and the MicroStationAPI .
Please start a new thread if you want to discuss the point cloud API.
We would like to develope a plugin for microstation, so i think this would be a .dll file and in VS 2010 we work with C++. We need to access pointclouds for our project. Due to the support this is only possible with the C++ API of Microstation.
Thus it should be #1.