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

RE: [V8i C] C API for getting values of configuration variables without using VBA?

$
0
0

[quote user="SassafrasSoftware"]VBA seems like a really old technology... "As of July 1, 2007 Microsoft will no longer offer VBA distribution licenses to new customers."[/quote]

Take whatever Microsoft says about VBA with a large pinch of salt.

Microsoft Office 2010 introduced the first 64-bit Office implementation.  Along with that implementation came VBA 7 in 32-bit and 64-bit variants. Whatever Microsoft said in 2007 they ignored three years later.

MicroStation V8i includes 32-bit VBA 6.4; MicroStation CONNECT includes 64-bit VBA 7.1.

VBA is supported in the version of MicroStation you're using right now and the next-generation of MicroStation.  If you like using MicroStation VBA (or Office VBA) then carry on using it in the knowledge that it's supported by Microsoft and by Bentley Systems.

[quote user="SassafrasSoftware"]I was hoping to find a way strictly using C - such as a registry or WMI query[/quote]

For many years MicroStation has had the MicroStation Development Library (MDL).  MDL is an implementation of the C language.  These days we prefer to write C++ and use the C++ build tools provided with Visual Studio.  The MDL is huge and contains a configuration variable API.

MicroStation does not store configuration variables in the Windows registry, neither will a WMI query get you anywhere.

To investigate further, start by downloading the MicroStation SDK, which is available in the usual way for SELECT subscribers from the Bentley Systems' fulfullment site.


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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