Because of the incompatibility of Acad2007 and Acad2006. That is, the two
versions is not compatible in the regard of Jig. Namely, it is the class
"JigPromptOptions"
In Acad2006, it is sealed class (you can instantiate it, but not inherit
from it to create your own JibPromptOptions class). In Acad2007, it becomes
an abstract class and you must inherit from it, and AutoCAD2007 derives 5
new class from it: JigPromptAngleOptions, JibPromptDistanceOptions,
JibPromptGeometryOptions, JigPromptPointOptions and JobPromptStringOptions.
Since you used JobPromptOptions in 2006 app, which no longer
instantiate-able in Acad2007, hence, it won't run in Acad2007. You need to
re-code you Jig to use one of the JibPromptXXXXOption class.
In general, it is recommended to re-compile your ObjectARX NET API app
against Acad2007's acdbmgd.dll and acmgd.dll when move from Acad(2004-2006)
to Acad2007, in order to catch something incompatible such as this Jig
problem.
wrote in message news:5361790@discussion.autodesk.com...
i used DrawJig Sample in AutoCAD 2006 ,it is corrent.
but i used it in 2007, it can't display .
Why?