快速登录:  

Forum: VirtualDJ 8.0 Technical Support

话题: Plugin GetInfo VirtualDJ hwnd

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

How do I get VirtualDJ's HWND in an IVdjPlugin8? Previously we would use GetInfo("get hwnd", &result) with a TVdjQueryResult object, but I see that cb->GetInfo now requires a double*. Any casts I try to use tell me "invalid type conversion."
 

发表时间 Sat 04 Oct 14 @ 11:21 pm
AdionPRO InfinityCTOMember since 2006
Something like
double v;
GetInfo("get_hwnd", &v);
HWND hwnd = (HWND)(int)v;

Should work.
 

发表时间 Sun 05 Oct 14 @ 1:23 am


(陈旧帖子或论坛版块会自动关闭)