GREAT!!!!. The code now works fine. Thanks for all your help. I appreciate it
Type: Posts; User: chandhru
GREAT!!!!. The code now works fine. Thanks for all your help. I appreciate it
anonytmouse,
I made the modification suggested by you. I am now facing 2 problems
1. sometimes I get only one record being printed twice (This happens first time when I build and atleast...
Thanks for all your reply guys. I have modified the same code to run through till the recordsets are printed (basically will make calls later). now all my threads are able to access the recordsets,...
I went through semaphores. I still have some doubts. The main reason I am going for multi-threading is I wanted all the 48 telephone lines to call simultaneously.
I represent each telephone line...
The problem I have is I am limited on the number of threads I need to use. I have an Intel Dialogic card with 48 lines (2 T1).
So my concept is each line is going to be a single Thread and they...
First of all I would like to Thank Fordy and anonytmouse for their great help. after inserting the modifications you mentioned in my code it finally worked.
Now I am facing a different problem....
I am sorry to be ignorant. I used both registering the interface and used streams to send my recordset object. It is compiling properly but I am getting the same runtime error "abnormal Program...
I used CoInitialize(NULL) and CoUnitialize(NULL) as the first and last statement in ThreadFunc(), still I am getting errors.
Hi,
I am creating multiple threads to access a database and retrieve records using ADO. I am getting runtime error "abnormal program termination'.
My main() function creates an Database...
I have created a Multi-threaded code, where each thread prints hello world and exits. I am using CriticalSection, to make sure only one thread access the ThreadFunc. If I dont give Sleep function, I...