Quote Originally Posted by The trick View Post
I'll answer later don't have time right now.
for my testing,activex.exe can support createthread。but can't add usercontrol on form2.frm。 I can make standard exe first,add usercontrols to forms,than change to activex.exe。
now only can add usercontrol by code "controls.add(*)".
maybe activex.exe is a special format pe code exe。it's sta thread?createthread by a standard dll api (vbdll.dll ) ,so can't use Global variables when running in createthread。
without standard dll ,it's only can run once createthread,when run the second times,crashed!mabe need some hake code for change vb header?

but it There must be a way to support. .(like excel must be can support createthread)

only vb6 make more question, like not support standard createthread.
Microsoft engineers left too many issues at the time and gave up vb6 without handling them.