I created an .MA application and corresponding dll using Visual Studio 14.0.
When launching MicroStation CE version 10.16.00.80, I specify a specific configuration (-wu<config>) on the command line which contains the entry MS_DGNAPPS indicating that my application should be loaded at startup.
Works great.
So far, so good.
On a different PC, I have the very same version of MicroStation but at startup it gives me error 193 (the OS could not load myappl.dll).
I did some googling and this error should indicate that I'm trying to load a 32 bit DLL, which is not true (I checked it with DUMPBIN /HEADERS).
Within MicroStation I tried to load the MDL manually (Ribbon Design/Utilities/MDL applications). It does show me my custom applications but when trying to load one of them, I get the very same error.
I'm quite sure I'm missing something stupid but I can't figure out what it is.
Thanks,
Robert
Hi Robert Kock,
MicroStation CONNECT (and respective SDKs) Update 12 thru 16 require Microsoft Visual Studio 2017 (MSVC 14.1) vs. VS2015 (MSVC 14.0). Ref: MicroStation CONNECT SDK Requirements.
Do you notice the issue if re-compiling with the required VS 2017?
It is worth noting in the near future when MicroStation CONNECT Update 16.1 releases Microsoft Visual Studio 2019 (MSVC 14.2) will be the default toolset required.HTH,Bob
Robert Hook said:when MicroStation CONNECT Update 16.1 releases Microsoft Visual Studio 2019 (MSVC 14.2) will be the default toolset required [for C++]
What are the .NET requirements for Update 16.1?
Regards, Jon Summers LA Solutions
Hi Jon Summers,
Unless something changes, it looks like we are still requiring and supporting Microsoft .NET Framework 4.6.2; that Microsoft supports beyond April 26, 2022 (the date lesser framework versions/releases loose support on).
HTH,Bob