AutoCAD 2010/2011/2012 DWG Format
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
AcEdInputP ointMonito r::monitor InputPoint not called in 2011 64Bit
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
537 Views, 5 Replies
04-07-2010 06:55 AM
AcEdInputPointMonitor::monitorInputPoint() is not called in 2011-x64. Same code works in 32 Bit!
*Tony Tanzillo
Re: AcEdInputP ointMonito r::monitor InputPoint not called in 2011 64Bit
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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!
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");
AcEdInputPointMonitor::monitorInputPoint() is not called in 2011-x64. Same code
works in 32 Bit!
Re: AcEdInputP ointMonito r::monitor InputPoint not called in 2011 64Bit
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: AcEdInputP ointMonito r::monitor InputPoint not called in 2011 64Bit
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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 ...
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 ...
*Owen Wengerd
Re: AcEdInputP ointMonito r::monitor InputPoint not called in 2011 64Bit
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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 ...>>
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 ...>>
Re: AcEdInputP ointMonito r::monitor InputPoint not called in 2011 64Bit
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.

