Click here to Skip to main content
15,889,335 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFormat Pin
FlyingDancer20-Jun-03 20:54
FlyingDancer20-Jun-03 20:54 
GeneralRe: Format Pin
Ryan Binns20-Jun-03 22:44
Ryan Binns20-Jun-03 22:44 
GeneralRe: Format Pin
FlyingDancer20-Jun-03 23:08
FlyingDancer20-Jun-03 23:08 
GeneralRe: Format Pin
Ryan Binns20-Jun-03 23:11
Ryan Binns20-Jun-03 23:11 
GeneralRe: Format Pin
FlyingDancer20-Jun-03 23:27
FlyingDancer20-Jun-03 23:27 
QuestionRebuild VC++ Debug Library ? Pin
Will Beattie20-Jun-03 18:40
Will Beattie20-Jun-03 18:40 
AnswerRe: Rebuild VC++ Debug Library ? Pin
Ryan Binns21-Jun-03 0:58
Ryan Binns21-Jun-03 0:58 
GeneralRe: Rebuild VC++ Debug Library ? Pin
Will Beattie21-Jun-03 1:18
Will Beattie21-Jun-03 1:18 
Thanks Ryan,

I have done heap of hunting on this problem which basically boiled down to creating a Socket in one thread and then trying to use it in another thread.

MFC does not allow sockets to be passed between threads or so it appears. I don't know if this is a bug as suggested by their bug fix "Q193101"

"SYMPTOMS
When using MFC sockets in secondary threads in a statically linked MFC Visual C++ 6.0 application, an unhandled exception occurs.

CAUSE
The reason for the unhandled exception is that an object of type CMapPtrToPtr pointer, pointed to by m_pmapSocketHandle, is never created."

I will keep trying.

cheers
Will Beattie

GeneralRe: Rebuild VC++ Debug Library ? Pin
Ryan Binns21-Jun-03 1:30
Ryan Binns21-Jun-03 1:30 
GeneralRe: Rebuild VC++ Debug Library ? Pin
Will Beattie21-Jun-03 1:46
Will Beattie21-Jun-03 1:46 
GeneralRe: Rebuild VC++ Debug Library ? Pin
Baris Kurtlutepe21-Jun-03 5:40
Baris Kurtlutepe21-Jun-03 5:40 
GeneralBeginer Visual C++ Tutorials Pin
YOUNGINS20-Jun-03 18:39
YOUNGINS20-Jun-03 18:39 
GeneralRe: Beginer Visual C++ Tutorials Pin
kochhar20-Jun-03 19:26
kochhar20-Jun-03 19:26 
GeneralArray of Pointers to Surfaces Pin
Anonymous20-Jun-03 17:52
Anonymous20-Jun-03 17:52 
GeneralRe: Array of Pointers to Surfaces Pin
Nick Parker20-Jun-03 18:12
protectorNick Parker20-Jun-03 18:12 
GeneralRe: Array of Pointers to Surfaces Pin
Michael Dunn20-Jun-03 18:14
sitebuilderMichael Dunn20-Jun-03 18:14 
Questioncan i send a popup message by programming in windows 98? Pin
Hendy_So20-Jun-03 16:59
Hendy_So20-Jun-03 16:59 
AnswerRe: can i send a popup message by programming in windows 98? Pin
Ryan Binns21-Jun-03 1:01
Ryan Binns21-Jun-03 1:01 
GeneralRe: can i send a popup message by programming in windows 98? Pin
Hendy_So21-Jun-03 22:42
Hendy_So21-Jun-03 22:42 
GeneralRe: can i send a popup message by programming in windows 98? Pin
Ryan Binns21-Jun-03 22:46
Ryan Binns21-Jun-03 22:46 
QuestionHow to enable Unicode character support in CRichEdit control Pin
Saqib Razzaq20-Jun-03 14:34
Saqib Razzaq20-Jun-03 14:34 
QuestionHow to return NULL when return type is user defined Pin
Anonymous20-Jun-03 13:07
Anonymous20-Jun-03 13:07 
AnswerRe: How to return NULL when return type is user defined Pin
nfactorial20-Jun-03 13:24
nfactorial20-Jun-03 13:24 
GeneralRe: How to return NULL when return type is user defined Pin
Hashim Saleem20-Jun-03 13:37
Hashim Saleem20-Jun-03 13:37 
GeneralRe: How to return NULL when return type is user defined Pin
nfactorial20-Jun-03 13:47
nfactorial20-Jun-03 13:47 

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.