• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk GIS Design Server

    Reply
    Member
    Posts: 3
    Registered: ‎09-23-2002

    Trying to get access to acadVisualizationEngine causes access Violation

    82 Views, 1 Replies
    07-25-2002 07:31 PM
    Hi,

    im trying to develop an customized vba addin for Adesk map
    with that I can execute object rules.

    I used the example from model engine api help, if I don't
    start with the generic application (only map 5) and do the
    connect to GIS server by myself it works fine.

    But unless I work with the Generic Application (get the session via AeExExchange) Map raises the access violation.


    Can anyone tell me what the problem is?

    Thanks in Advance,

    Thomas
    Please use plain text.
    *[Autodesk], Richard Horrocks

    Re: Trying to get access to acadVisualizationEngine causes access Violation

    08-07-2002 05:56 AM in reply to: tluxa
    Hi Thomas,

    when you run the Generic application a sequence of
    components are loaded, included the ObjectRules Engine, and from your
    application looks that you are loading the ObjectRules Engine again, so that can
    cause problems. Also if you try to load an application from Tools>Macro, you
    have to handle it as a different session.

    You don't have problems in AutodeskMap, because
    nothing is loaded.

    Is recommended that any implementation that you
    want to do using the GenApp be done inside the GenApp code..

     

    Thanks

     


    style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    Hi,

    im trying to develop an customized vba addin for Adesk map
    with that I
    can execute object rules.

    I used the example from model engine api help, if I don't
    start with
    the generic application (only map 5) and do the
    connect to GIS server by
    myself it works fine.

    But unless I work with the Generic Application (get the session via
    AeExExchange) Map raises the access violation.


    Can anyone tell me what the problem is?

    Thanks in Advance,

    Thomas

    Please use plain text.