New multi threading tool...have problem with code, need help.
OK, after quite a while away I have finally finished a new an improved multithreading technique.
I have created an app (DLL) called vbGateway.
This allows you to communicate between threads using Send data (Synchronous) and Post Data (Asynchronous)
I would love for people to hack my code and find bugs and/or improvements.
The follwoing is a list of steps that need to be done to test this DLL.
Download and extract zip to a folder
Open vbGateway.vbp and compile to DLL
Open up project1, in the demo folder
Reference vbGateway and then compile project1
Launch 2 instances of project1.exe
Copy and past the hWnd text box from one instance to the childhWnd textbox in the other instance...and vis versa
Click send and post data buttons
When receiving the data I have made the client hang for 500 ms. this is to demonstarte the PostData method as the sending client is still free and gains code execution staright away after posting message.
The data, a byte array, that is sent can be anything from text, like in the demo, to the byte array of an entire file, tis up to you what you send.
Comments most welcome.
Woka
Last edited by Wokawidget; Apr 15th, 2004 at 09:59 AM.