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

    AutoCAD 2010/2011/2012 DWG Format

    Reply
    Contributor
    Posts: 15
    Registered: ‎04-01-2003

    AcEdInputPointMonitor::monitorInputPoint not called in 2011 64Bit

    537 Views, 5 Replies
    04-07-2010 06:55 AM
    AcEdInputPointMonitor::monitorInputPoint() is not called in 2011-x64. Same code works in 32 Bit!
    Please use plain text.
    *Tony Tanzillo

    Re: AcEdInputPointMonitor::monitorInputPoint not called in 2011 64Bit

    04-07-2010 10:01 AM in reply to: sherpa
    If you're running the same build on both 32 and 64 bit AutoCAD,
    then are you referencing the 32 bit AutoCAD assemblies or the
    64 bit assemblies?

    If it's the former, try referencing the 64 bit assemblies and see
    what what happens.

    --
    http://www.caddzone.com

    AcadXTabs: MDI Document Tabs for AutoCAD
    Supporting AutoCAD 2000 through 2011

    http://www.acadxtabs.com

    Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

    wrote in message news:6368495@discussion.autodesk.com...
    AcEdInputPointMonitor::monitorInputPoint() is not called in 2011-x64. Same code
    works in 32 Bit!
    Please use plain text.
    Contributor
    Posts: 15
    Registered: ‎04-01-2003

    Re: AcEdInputPointMonitor::monitorInputPoint not called in 2011 64Bit

    04-07-2010 11:28 PM in reply to: sherpa
    I use ObjectARX in this case. It's the same code compiled for win32 / x64.
    Please use plain text.
    Contributor
    Posts: 15
    Registered: ‎04-01-2003

    Re: AcEdInputPointMonitor::monitorInputPoint not called in 2011 64Bit

    04-08-2010 02:56 AM in reply to: sherpa
    Solved!

    There are two functions monitorInputPoint in the AcEdInputPointMonitor. One with two parameters an one with much more parameters. I used the second one. This function is not called in Acad2011 64 Bit! The first one is called - so I try to change my code ...
    Please use plain text.
    *Owen Wengerd

    Re: AcEdInputPointMonitor::monitorInputPoint not called in 2011 64Bit

    04-08-2010 06:22 AM in reply to: sherpa
    It sounds likely that your function signature matches the base class in the
    32 bit build but not in the 64 bit build.
    --
    Owen Wengerd
    President, ManuSoft <>
    VP Americas, CADLock, Inc. <>


    "sherpa" wrote in message news:6369305@discussion.autodesk.com...
    > Solved!
    >
    > There are two functions monitorInputPoint in the AcEdInputPointMonitor.
    > One with two parameters an one with much more parameters. I used the
    > second one. This function is not called in Acad2011 64 Bit! The first one
    > is called - so I try to change my code ...
    Please use plain text.
    New Member
    Kaias
    Posts: 2
    Registered: ‎07-26-2010

    Re: AcEdInputPointMonitor::monitorInputPoint not called in 2011 64Bit

    07-26-2010 06:14 AM in reply to: *Owen Wengerd

    Owen Wengerd is right. Most probably function signature doesn't match the base class.

    Check following 2 parameters:

    const AcArray<Adesk::GsMarker>&        gsSelectionMark

    const AcArray<Adesk::GsMarker>&        keyPointGsSelectionMark

     

    If you use AcArray<int> instead of AcArray<Adesk::GsMarker> then it's OK on 32-bit machine and won't match on 64-bit. Adesk::GsMarker is IntPtr which is 64-bit size on 64-bit platform while int is 32-bit.

    Please use plain text.