Show Bid Request
VB Thread Project
Bid Request Id: 47701
|
|
|
Description:
This is for SERIOUS VB programmers ONLY. It should only take several hours to complete. The code should work on a Window NT/2000/XP. The code should be 100% VB "Standard EXE" solution and only calls standard windows DLL. I do not want a C++ DLL or ActiveX of any type. I want it so that I can cut and paste the code into an existing VB project.
The coder should have already work with 100% VB thread solutions before prior to bidding or have a background in C++ threads. Attached is the screenshot of an existing test project that we have already developed. What the existing test project does is creates a thread given a start function and runs the function. The problem is that we need to be able to pass arguments and get the return value off the function (which doesn't currently work). The winning coder will be given this test project and add the missing parts.
The details of this project is just 4 parts; they are: - pass 5 string type arguments to the function (ThreadStringFunction) on a createThread call (or equivalent calling convention) - add a boolBusy As boolean variable in the clsThread and assign values to it based on the class state
For example the boolBusy may use the Declare Function WaitForSingleObject Lib "kernel32" (ByVal hHandle As Long, ByVal dwMilliseconds As Long) As Long Public Const INFINITE = &HFFFF ' Infinite timeout ... boolBusy = True lngRet = WaitForSingleObject(lngTHandle, INFINITE) boolBusy = False ...
This way I can be able to call the thread, start it and the sit in a while loop until the thread is done. Something like
While objThread.boolBusy = True Then ' do something Wend
It will be up to the coder to figure what windows system function is best. The WaitForSingleObject seem to take a very long time and run the CPU to 100% when we tested it.
- add a functionReturnValue As Variant variable in the clsThread and assign values to it based when the threaded function returns. So functionReturnValue = ThreadStringFunction(...) - setup a test sub routine to prove to me the thread works in the background during a blocking function call such as a Msgbox call
Timeline First 3 days: code and test the VB thread. At the end of the 3 days the coding should be all done. After the first 3 days, the code MUST be sent to me for review. The next 2 days will be used to fix any problems.
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Coder will not resell/used/distribute any documents and source code that was used in the creation of this project.
3) Coder will delete/destroy all documents and source code related to this project within 90 days of completion.
4) Complete ownership and distribution copyrights to all work purchased.
Platform:
Windows NT/2000/XP
Special Conditions / Other:
Deadline: The total time the coder will have to do this project is 5 days from when the bid is accepted. Do not bid if you can't deliver within this timeframe.
Sub routine and function should be used where appropriate and commenting is a must, enough that a non-programmer reading it should know what the code should do.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
|
This bid was accepted by the buyer!
|
$50 (USD)
|
Feb 12, 2003 4:22:40 AM EDT
|
9.88
(Excellent)
|
|
|
Yes, I am familiar with the problem. I have a solution which I have been using for some time which runs in VBA in excel. I used it to have an Excel spreadsheet run another app (exe) with parameters and wait for a result. We also resolved the 100% CPU problem
For 50 USD it's yours |
|
|
|
|
|