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

Declare Function mdlDialog_completionBarOpen in stdmdlbltin.dll not working in CONNECT

$
0
0

Hi!

So I'm trying to move our vba scripts from old v8i to Connect edition. Most of the things work just fine but when I'm trying to run a script which is using

Private Declare PtrSafe Sub mdlDialog_completionBarUpdate Lib "stdmdlbltin.dll"
(ByVal dbP As Long, ByVal msgText As String, ByVal percentComplete As Long)

Private Declare PtrSafe Function mdlDialog_completionBarOpen Lib "stdmdlbltin.dll"
(ByVal messageText As String) As Long

Private Declare PtrSafe Sub mdlDialog_completionBarClose Lib "stdmdlbltin.dll"
(ByVal dbP As Long)

Microstation gives me an error telling me that it didnt find an entrypoint for mdlDialog_completionBarOpen in stdmdlbltin.dll .

Usually I would have looked into the mdl documentation and would hopefully find some Declare statements at the bottom of the page telling me that there is another lib or that I have used wrong types. But I couldn't find the mdl docs (which makes sense as mdl is gone, right?).

Inside the MicrostationAPI documentation I found the function so I know it still exists. So my question is: which Lib should I use for Declare in VBA? Or better: how would I be able to look that up by myself? Or if it is just the wrong types: how could I look up the argument and return types that VBA Declare is expecting for each function?

As always I would be really glad if someone could help me with that stuff.

Regards
Stephan


Viewing all articles
Browse latest Browse all 7260

Trending Articles



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