|
-
Feb 4th, 2020, 07:31 AM
#1
Re: using VbTrickThreading-master examples without the typelibs for Callback and Mar
how to run createthread in activex.exe, and support usercontrols in vb6 form1.frm (by createthread show form1)
=======================
Set OBJ = Controls.Add("actexexc2.UserControl1", "UserControl1AA")
'err: 720,' actexexc2. Usercontrol1 'is not a valid control type (load by from)
========
GetMem4 ByVal ptr + hModule + 1, lpVBHeader
VBDllGetClassObject VarPtrHModule, 0, lpVBHeader, 0&, Iid, 0
'display in multithread: err: 339, part' 'or one of its attachments is not registered correctly: a file is missing or invalid
(load by Createthread)
========
GetMem4 1&, ByVal NewVBHeader_Heap + &H3C '加的,支持自定义控件
VBDllGetClassObject VarPtrHModule, 0, NewVBHeader_Heap, 0&, Iid, 0
'heap multithreading error: err: 438, object does not support this property or method
( heap by creathread)
=======================
chinese:'ERR:720,'actexexc2.UserControl1' 不是有效控件类型
'在多线程中显示:ERR:339,部件 '' 或其附件之一不能正确注册:一个文件丢失或无效
'heap多线程出错:ERR:438,对象不支持该属性或方法
Set OBJ = Controls.Add("actexexc2.UserControl1", "UserControl1AA")
Last edited by xiaoyao; Feb 4th, 2020 at 07:46 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|