|
-
Jan 30th, 2020, 12:55 PM
#11
Re: using VbTrickThreading-master examples without the typelibs for Callback and Mar
mabe it's good,I saw this piece of code earlier, but I don't know what it's for.I'll test it tomorrow.
The best method is still inseparable from the assembly code support. After all, the programming tools are upgraded, and finally they run as assembly code.
Use createthread to directly call the function address, and add vb initialization inside the function process, which is equivalent to the cdecl mode dll, which requires the user to initialize and reclaim memory and unload the com object.
vbcreatethread is a simple wrapper that handles automatically, equivalent to stdcall calls
chinese:最好的方法还是离不开汇编代码支持,毕竟编程工具升级,最后还是变成汇编代码运行。
直接用createthread调用函数地址,函数过程里面加vb初始化,相当于cdecl方式dll,需要用户初始化和回收内存,卸载com对象。
vbcreatethread 是一个简易包装,自动处理,相当于stdcall调用
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
|