Document Type: TechNote
Product(s): MicroStation
Version(s): All
Original Author: Bentley Technical Support Group
Legacy Document Number: 8122
Compiling a MicroStation 95/MicroStation SE MDL application in Windows 95 or Windows NT. These are simplified directions, for more complete instructions see the MDL Programmer's Guide available on your delivered CD.
To compile the MDL application, "YOURAPP" (substitute your application name here), do the following:
Note: The file directory shown is valid if MicroStation is installed using the default directories. If you have used a different directory to install MicroStation, adjust the paths accordingly.
Add the mdl\bin directory to the path for example: Set path=%path%;C:\win32app\ustation\mdl\bin | (path to BMAKEWIN.EXE) |
Set the MS environment variable for example: Set MS=C:\win32app\ustation | (path to MicroStation) |
Set the BMAKE_OPT environment variable for example: Set BMAKE_OPT=-IC:\win32app\ustation\mdl\include | (path to MDL.MKI) |
Note: In the BMAKE_OPT line above, that is a minus sign and uppercase i ( -I ) with no spaces from BMAKE_OPT to the end of the line. |
cd\...\YOURAPP
bmakewin -a YOURAPP.MKE
The following method is not recommended on a regular basis but will work to temporarily compile applications on your own machine.
MDL load YOURAPP
(substitute your application name here). This should load the application.MicroStation Desktop TechNotes and FAQs
Bentley Technical Support KnowledgeBase
Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!