Click here to Skip to main content
15,915,093 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to get index from database(MS ACCESS) Pin
bilas1-Dec-03 19:56
bilas1-Dec-03 19:56 
AnswerRe: how to get index from database(MS ACCESS) Pin
David Crow2-Dec-03 10:01
David Crow2-Dec-03 10:01 
Generalbi-directional scrolling in CADORecordset Pin
bilas1-Dec-03 19:51
bilas1-Dec-03 19:51 
QuestionMultithread CAsyncSocket problem?? Pin
dddv1-Dec-03 18:48
dddv1-Dec-03 18:48 
GeneralRe: Multithread CAsyncSocket problem?? Pin
dddv2-Dec-03 0:38
dddv2-Dec-03 0:38 
AnswerRe: Multithread CAsyncSocket problem?? Pin
Moak2-Dec-03 0:56
Moak2-Dec-03 0:56 
GeneralRe: Multithread CAsyncSocket problem?? Pin
dddv2-Dec-03 4:38
dddv2-Dec-03 4:38 
GeneralRe: Multithread CAsyncSocket problem?? Pin
Moak2-Dec-03 5:03
Moak2-Dec-03 5:03 
it was not designed for that purpose.

it serves as asynchronous networking class: unblocking network access with events when a operation (like connect/read/write) has finished. in theory you could use it in multiple threads, but as far as I remember Microsoft's implementation was not multi thread safe (you get an assert with some functions in a debug build if you still try).

Perhaps rethink your network strategy, perhaps you can go single threaded and use CAsynSocket within one thread context (simple application code). However, the class is not very perfect it has some problems with DNS lookups (they block).
AnswerRe: Multithread CAsyncSocket problem?? Pin
victording10-Jun-07 16:21
victording10-Jun-07 16:21 
GeneralIf anyone wants too... Pin
Snyp1-Dec-03 16:21
Snyp1-Dec-03 16:21 
GeneralRe: If anyone wants too... Pin
bilas1-Dec-03 19:50
bilas1-Dec-03 19:50 
GeneralRe: If anyone wants too... Pin
Snyp2-Dec-03 12:27
Snyp2-Dec-03 12:27 
QuestionAny equivalent data stucture for CMapPtrToPtr? Pin
Anthony_Yio1-Dec-03 15:43
Anthony_Yio1-Dec-03 15:43 
AnswerRe: Any equivalent data stucture for CMapPtrToPtr? Pin
Joel Lucsy2-Dec-03 2:50
Joel Lucsy2-Dec-03 2:50 
GeneralFile Database Access Method Pin
IceBerG711-Dec-03 15:30
IceBerG711-Dec-03 15:30 
GeneralRe: File Database Access Method Pin
David Crow2-Dec-03 10:05
David Crow2-Dec-03 10:05 
GeneralRe: File Database Access Method Pin
IceBerG712-Dec-03 14:20
IceBerG712-Dec-03 14:20 
GeneralDevice Context Pin
eldar_20011-Dec-03 14:40
eldar_20011-Dec-03 14:40 
GeneralRe: Device Context Pin
Anonymous1-Dec-03 20:40
Anonymous1-Dec-03 20:40 
GeneralRe: Device Context Pin
eldar_20012-Dec-03 14:43
eldar_20012-Dec-03 14:43 
GeneralCdataGrid Pin
sdfdsfa1-Dec-03 14:00
sdfdsfa1-Dec-03 14:00 
GeneralRe: CdataGrid Pin
bilas1-Dec-03 19:47
bilas1-Dec-03 19:47 
GeneralRe: CdataGrid Pin
sdfdsfa2-Dec-03 6:41
sdfdsfa2-Dec-03 6:41 
Generaladd Wnds to an SDI Pin
Zizilamoroso1-Dec-03 13:26
Zizilamoroso1-Dec-03 13:26 
GeneralRe: add Wnds to an SDI Pin
Anonymous1-Dec-03 20:43
Anonymous1-Dec-03 20:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.