Colin Wang posted a blog about database connecting with C++ and CONNECT. It's good to see an example for that neglected corner of MicroStation!
This code using the mdlDB_api is very procedural. Not a lot different to examples published decades ago for MicroStation/J! Is an object-oriented C++ or .NET API likely to appear for database interfacing?
I used the mdlDB_ API for a number of years for PowerDraft support, all the way up to V8i. It's never seen any updates to existing bugs or functionality, AFAICT. You are much better off just using your own database code. Any existing DB framework would be faster, better documented and more stable than the old MDL Database API.
--Piers PorterAltiva Software
Piers Porter said:Any existing DB framework would be faster, better documented and more stable than the old MDL Database API
Yes: I've successfully used Microsoft ActiveX Data Objects (ADO) with both VBA and C++. .NET has its own, very useful, library of DB interfaces plus LINQ.
That's why I asked the question: What prompted Colin Wang to create that blog?
Regards, Jon Summers LA Solutions