TaskDialog Specified Cast not Valid

TaskDialog Specified Cast not Valid

dave.wolfe
Advisor Advisor
812 Views
3 Replies
Message 1 of 4

TaskDialog Specified Cast not Valid

dave.wolfe
Advisor
Advisor

As the other mentioned in the comments sections of the article below, I am getting a specified cast is invalid on the line td.Show(). Does anyone have any ides?  I've tried the blank method, and passing in the main window handle with no success.

 

http://adndevblog.typepad.com/autocad/2012/07/taskdialog-with-progress-bar.html

 

Dave Wolfe
Isaiah 57:15

EESignature

Plant 3D Wish list

0 Likes
813 Views
3 Replies
Replies (3)
Message 2 of 4

hgasty1001
Advisor
Advisor

Hi,

 

Try passing an owner argument to the call function, like this: td.Show(Application.MainWindow.Handle)

 

Gaston Nunez

0 Likes
Message 3 of 4

dave.wolfe
Advisor
Advisor

I tried that.

Dave Wolfe
Isaiah 57:15

EESignature

Plant 3D Wish list

0 Likes
Message 4 of 4

Balaji_Ram
Alumni
Alumni

Sorry for the delay.

 

It appears to be an API problem on 64 bit systems. We have brought this to the notice of the engineering team and they will prioritize this request.

 



Balaji
Developer Technical Services
Autodesk Developer Network

0 Likes