[CONNECT C++] How to configure Connect MDL?

Hi,

I did some research on this topic on internet and Bentley web site. I did not find information I need.

I got my application compiled and generate my DLL and MA files.I have following questions:

(1) Where should copy these files?

(2) The format of config file looks like?

(3) The Config file should go to which folder?

Are there some document to talk about these?

Best,

Zhen

Parents
  • bmake

    Unknown said:
    Where should copy these files?

    The examples delivered with the SDK are a good place to look.

    For example, the bmake file for IncrementText has these lines...

    ...
    DLM_DEST        = $(mdlapps)
    ...
    MA_DEST         = $(DLM_DEST)
    ...
    #--------------------------------------------------------------------------------------
    #  Link and sign the MA
    #--------------------------------------------------------------------------------------
    "$(MA_DEST)$(MA_NAME)$(MA_EXT)"     : $(MA_RSC_FILES)
    ...

    Now you're going to ask, "Where is mdlapps defined?"  Searching the .mki files finds it in MicroStationPolicy.mki, where it's defined like this...

    mdlapps         = $(mstation)mdlapps/

    The moral is, do what the examples do!  If you write your build rules correctly, bmake puts your files where you need them.

    Configuration

    Unknown said:
    The format of config file looks like?

    Configuration files are plain text. There are plenty of config. files delivered with MicroStation that you may examine. Search for *.cfg|*.pcf|*.ucf

    It's not mandatory to have a config. file, but it can be useful.

    Unknown said:
    The Config file should go to which folder?

    The usual place is \MicroStation\config\appl

     
    Regards, Jon Summers
    LA Solutions

Reply
  • bmake

    Unknown said:
    Where should copy these files?

    The examples delivered with the SDK are a good place to look.

    For example, the bmake file for IncrementText has these lines...

    ...
    DLM_DEST        = $(mdlapps)
    ...
    MA_DEST         = $(DLM_DEST)
    ...
    #--------------------------------------------------------------------------------------
    #  Link and sign the MA
    #--------------------------------------------------------------------------------------
    "$(MA_DEST)$(MA_NAME)$(MA_EXT)"     : $(MA_RSC_FILES)
    ...

    Now you're going to ask, "Where is mdlapps defined?"  Searching the .mki files finds it in MicroStationPolicy.mki, where it's defined like this...

    mdlapps         = $(mstation)mdlapps/

    The moral is, do what the examples do!  If you write your build rules correctly, bmake puts your files where you need them.

    Configuration

    Unknown said:
    The format of config file looks like?

    Configuration files are plain text. There are plenty of config. files delivered with MicroStation that you may examine. Search for *.cfg|*.pcf|*.ucf

    It's not mandatory to have a config. file, but it can be useful.

    Unknown said:
    The Config file should go to which folder?

    The usual place is \MicroStation\config\appl

     
    Regards, Jon Summers
    LA Solutions

Children