[CONNECT C++] File HelloWorld.ma does not contain MDL application HELLOWORLD

Installed Powerdraft CONNECT on same machine where is Microstation CONNECT Edition developement environment and now all MDL apps which compiled before without issues compiles with this error - "file does not contain MDL application".

Parents Reply
  • Removing this from resource file did the trick

    Is DllMdlApp defined in another resource file? If so, then presumably you previously had a duplicate resource warning?

    If not, then I don't understand how your app. can work.  The DllMdlApp resource tells MicroStation what to do when you key-in mdl load HelloWorld.  It reads the .ma file that contains that resource, and when it finds DllMdlApp it loads the named DLL.  Without that information, MicroStation doesn't know that it should load your HelloWorld DLL into memory.

     
    Regards, Jon Summers
    LA Solutions

Children