CreateThread problem
I want to create a thread for a SUB (procedure) which will open a connection & recordset based on the parameters passed to the SUB. I had created a thread which works fine, but without any paramter. But now I want to create a thread which will pass the parameter to the SUB & then it executes.
Declare Function CreateThread Lib "kernel32" (lpThreadAttributes As Any, ByVal dwStackSize As Long, ByVal lpStartAddress As Long, lpParameter As Any, ByVal dwCreationFlags As Long, lpThreadID As Long) As Long
What is the use of "lpParameter"? Can anyone pls explain me how to use it in the API call.
Thanx in advance
[637 byte] By [
daftaryyog] at [2007-11-20 10:27:52]
