|
-
Jan 22nd, 2022, 06:05 AM
#1
Re: c/c++ code for vb6 multithreading
Niya, VB6 supports multithreading and had supported it since 1998 year. There are two types of project - ActiveX EXE and ActiveX DLL (OCX) where your code can live in the different ST-apartments. This is the quite famous information but most of the VB6-programmers i guess never read the official help. Most of the multithreading task can be solved within VB6 but peoples want to break rules and use unsafe things in VB6 shooting themself in the foot. I still don't understand why TS wants to use it and i won't help until i get answer because i think such tasks are related to malware coding. There is no issues if you breaks the rules when you know how things works and you can bypass some things to make the code more performanced or bypass some good restrictions. But when i see the code like above - i think this is no reason to help because there is no understanding at all and it will only get worse.
Last edited by The trick; Jan 22nd, 2022 at 06:08 AM.
-
Jan 24th, 2022, 04:11 AM
#2
Thread Starter
Addicted Member
Re: c/c++ code for vb6 multithreading
 Originally Posted by The trick
Niya, VB6 supports multithreading and had supported it since 1998 year. There are two types of project - ActiveX EXE and ActiveX DLL (OCX) where your code can live in the different ST-apartments. This is the quite famous information but most of the VB6-programmers i guess never read the official help. Most of the multithreading task can be solved within VB6 but peoples want to break rules and use unsafe things in VB6 shooting themself in the foot. I still don't understand why TS wants to use it and i won't help until i get answer because i think such tasks are related to malware coding. There is no issues if you breaks the rules when you know how things works and you can bypass some things to make the code more performanced or bypass some good restrictions. But when i see the code like above - i think this is no reason to help because there is no understanding at all and it will only get worse.
Hello the Trick,
I donot know what to answer.
How can you judge me as trying to write malware or worse code.I tried to write in c/c++ the same code which you did in vb6 and
and you helped me by showing the link based on my conversation with FireHacker.Initially I did'nt even asked you for the help.
You only responded to me after which I tried and requested for help only for improvement and not anything else.
I donot bother about others who commented me since I only interacted with FireHacker ,yourself and JSVenu who really helped
me technically since my first post.
If you see the above code I am using GetModuleHandle(0) which takes instance handle of a vb6 std exe when this
dll is loaded into vb6 std exe which shows that I am considering using vb6 object instead of using msvbvm60.dll directly as you
suggested me in first post for initializing project.
Thanks
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
|