几何尺寸与公差论坛

 找回密码
 注册
查看: 638|回复: 0

【转帖】propertymanagerpage feedback events

[复制链接]
发表于 2009-4-13 13:43:55 | 显示全部楼层 |阅读模式
propertymanagerpage feedback events
just thought i would double-check here before i set this in stone, as there is no official documentation in sw regarding it;
like the get preview bitmap functions, the handler passed into the createpropertymanagerpage has to be a handle to an in-process class to recieve the event callbacks does it not? i would presume it would have to be for it to work. using an out-of-process .net application i can create a page only by passing nothing in as the handle, but if i pass in a handle to the class i get an invalid cast error, which suggests it is returning -1, which would indicate an invalid address that has been caught. if i create a plugin in-process .net application i can pass in the class fine.
given those two situations i would say the calling function has to be run in-process, and so this is what i am documenting in my book, but i would like your feedback before doing this in-case someone has found a way around this?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 09:12 , Processed in 0.034610 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表