查看单个帖子
旧 2009-04-13, 01:43 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】propertymanagerpage feedback events

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?
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)