Click here to Skip to main content
15,888,170 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question_variant_t to *Byte Pin
KifayatullahKhan29-Jan-06 17:17
KifayatullahKhan29-Jan-06 17:17 
AnswerRe: _variant_t to *Byte Pin
Aamir Butt29-Jan-06 22:24
Aamir Butt29-Jan-06 22:24 
QuestionDisabling Drag/Drop in the IWebBrowser2 Control Pin
Wolfram Steinke29-Jan-06 16:45
Wolfram Steinke29-Jan-06 16:45 
QuestionBase64 encoding in Visual C++ Pin
Syazarine29-Jan-06 16:39
Syazarine29-Jan-06 16:39 
AnswerRe: Base64 encoding in Visual C++ Pin
Gavin Taylor29-Jan-06 16:57
professionalGavin Taylor29-Jan-06 16:57 
QuestionWIN32 Multithreaded Dll Pin
JRaiden29-Jan-06 14:35
JRaiden29-Jan-06 14:35 
AnswerRe: WIN32 Multithreaded Dll Pin
Gary R. Wheeler29-Jan-06 15:06
Gary R. Wheeler29-Jan-06 15:06 
GeneralRe: WIN32 Multithreaded Dll Pin
JRaiden29-Jan-06 16:13
JRaiden29-Jan-06 16:13 
Thanks for the reply Garry,
I'm actually using callbacks:
to return text from the dll to update say a label of the engines location on the gui.
dThreadCallBack is a DWORD thats stores the static members address location

void StdScanner::CallBackFunction (char *cSomeStringToSend)
{

typedef int (__stdcall* lpMyCallBack) (LPSTR szMsg);

lpMyCallBack MyCallBack;

MyCallBack = (lpMyCallBack) dThreadCallBack;
MyCallBack(cSomeStringToSend);

}
Normally this function works perfectly when outside threads, but locks up when I use it in threads.
Do you have any examples/source of generic Multithreaded Win32 DLLs (non mfc) that can interact with a gui (be it MFC or WIN32).
Raiden
AnswerRe: WIN32 Multithreaded Dll Pin
Stephen Hewitt29-Jan-06 16:41
Stephen Hewitt29-Jan-06 16:41 
QuestionHow do I get "NT domain" name under Windows 98? Pin
RadioShark29-Jan-06 9:57
RadioShark29-Jan-06 9:57 
Questionhow to send message to CCmdTarget Pin
spiritofklanawa29-Jan-06 9:45
spiritofklanawa29-Jan-06 9:45 
AnswerRe: how to send message to CCmdTarget Pin
Ryan Binns29-Jan-06 17:34
Ryan Binns29-Jan-06 17:34 
QuestionWin32 project type Pin
zon_cpp29-Jan-06 9:33
zon_cpp29-Jan-06 9:33 
AnswerRe: Win32 project type Pin
Christian Graus29-Jan-06 15:48
protectorChristian Graus29-Jan-06 15:48 
GeneralRe: Win32 project type Pin
zon_cpp29-Jan-06 23:17
zon_cpp29-Jan-06 23:17 
GeneralRe: Win32 project type Pin
Christian Graus30-Jan-06 9:15
protectorChristian Graus30-Jan-06 9:15 
QuestionRe: MDI-Opening a new document type from IDR_MAINFRAME Pin
misugi29-Jan-06 9:25
misugi29-Jan-06 9:25 
QuestionDLL crashing Pin
tansey429-Jan-06 8:48
tansey429-Jan-06 8:48 
AnswerRe: DLL crashing Pin
Stephen Hewitt29-Jan-06 11:25
Stephen Hewitt29-Jan-06 11:25 
GeneralRe: DLL crashing Pin
tansey429-Jan-06 15:33
tansey429-Jan-06 15:33 
GeneralRe: DLL crashing Pin
Stephen Hewitt29-Jan-06 15:38
Stephen Hewitt29-Jan-06 15:38 
AnswerRe: DLL crashing Pin
Prakash Nadar29-Jan-06 17:46
Prakash Nadar29-Jan-06 17:46 
General[Message Deleted] Pin
Laxman929-Jan-06 18:00
Laxman929-Jan-06 18:00 
GeneralRe: DLL crashing Pin
Prakash Nadar29-Jan-06 18:18
Prakash Nadar29-Jan-06 18:18 
GeneralRe: DLL crashing Pin
Owner drawn29-Jan-06 18:35
Owner drawn29-Jan-06 18:35 

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.