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

    .NET

    Reply
    *Maksim Sestic

    AcDbHostApplicationProgressMeter Class using .NET?

    64 Views, 2 Replies
    08-12-2005 08:41 AM

    Is there
    title="AcDbHostApplicationProgressMeter Class">AcDbHostApplicationProgressMeter
    Class
     exposed via managed ObjectARX? If not, what's the method
    for displaying and working with ACAD's native progress bar (found inside
    StatusBar) in ObjectARX 2005?

     

    Regards,

    Maksim Sestic
    Please use plain text.
    *Albert Szilvasy

    Re: AcDbHostApplicationProgressMeter Class using .NET?

    08-28-2005 05:25 PM in reply to: *Maksim Sestic

    This class isn't currently exposed via .NET
    API. Unfortunately, you will need to use P/Invoke interop to call the C++
    APIs directly.

     

    Albert


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


    Is there
    title="AcDbHostApplicationProgressMeter Class">AcDbHostApplicationProgressMeter
    Class
     exposed via managed ObjectARX? If not, what's the
    method for displaying and working with ACAD's native progress bar (found
    inside StatusBar) in ObjectARX 2005?

     

    Regards,

    Maksim
    Sestic
    Please use plain text.
    *Maksim Sestic

    Re: AcDbHostApplicationProgressMeter Class using .NET?

    09-02-2005 02:21 AM in reply to: *Maksim Sestic

    Hi Albert,

     

    I'm new to .NET and still don't know how to use
    P/Invoke interop to gain access to C++ object (class). I browsed the ADN
    KnowledgeBase for examples and found one on P/Invoking an acad.exe function via
    Declare Auto Function..., but I guess it's not enough for
    AcDbHostApplicationProgressMeter class and it's functions.

     

    How to fetch the object via P/Invoke and
    derive a new one from it? Will I be able to get it's methods too in a way to
    override them in a standard .NET fashion?

     

    Regards,

    Maksim Sestic


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


    This class isn't currently exposed via .NET
    API. Unfortunately, you will need to use P/Invoke interop to call the C++
    APIs directly.

     

    Albert


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


    Is there
    title="AcDbHostApplicationProgressMeter Class">AcDbHostApplicationProgressMeter
    Class
     exposed via managed ObjectARX? If not, what's the
    method for displaying and working with ACAD's native progress bar (found
    inside StatusBar) in ObjectARX 2005?

     

    Regards,

    Maksim
    Sestic
    Please use plain text.