Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralChange the API in Kernel32.dll Pin
single646-Aug-04 15:06
single646-Aug-04 15:06 
QuestionWhat is a sink interface? Pin
Ian Bowler6-Aug-04 13:30
Ian Bowler6-Aug-04 13:30 
GeneralDisplaying UnInstalled Fonts Pin
P.George6-Aug-04 12:46
sussP.George6-Aug-04 12:46 
GeneralRe: Displaying UnInstalled Fonts Pin
bikram singh6-Aug-04 23:18
bikram singh6-Aug-04 23:18 
GeneralCStatic text color Pin
act_x6-Aug-04 11:49
act_x6-Aug-04 11:49 
GeneralThread in DLL Pin
aman20066-Aug-04 11:06
aman20066-Aug-04 11:06 
GeneralRe: Thread in DLL Pin
John M. Drescher6-Aug-04 11:35
John M. Drescher6-Aug-04 11:35 
GeneralRe: Thread in DLL Pin
aman20066-Aug-04 11:53
aman20066-Aug-04 11:53 
Hello John

I am creating a Win32DLL in which i am passing the address of a function like

extern "C" __declspec(dllexport) BOOL ReadCard(char *pData)
{


if(g_hPort == NULL)
{
strcpy(pData,"COM port is not opened");
return false;
}

g_hThreadRead = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)MyMSR_PortReadThreadMgr, 0, 0,&dwThreadID);

return true;
}

But this thread is created but not executing the functions. I have declared the function like

DWORD WINAPI MyMSR_PortReadThreadMgr(LPVOID param)
{

}

But it is not going to this function can you suggest me some thing

Thanks in advance
Shailesh

CeateThread(
GeneralRe: Thread in DLL Pin
bikram singh6-Aug-04 23:21
bikram singh6-Aug-04 23:21 
GeneralMFC, CView, OpenGL, and the repaint problem Pin
Scolex6-Aug-04 9:34
Scolex6-Aug-04 9:34 
Generalreducing fractions Pin
rbboothe6-Aug-04 9:15
rbboothe6-Aug-04 9:15 
GeneralRe: reducing fractions Pin
alex.barylski6-Aug-04 9:18
alex.barylski6-Aug-04 9:18 
GeneralRe: reducing fractions Pin
Scolex6-Aug-04 9:50
Scolex6-Aug-04 9:50 
GeneralRe: reducing fractions Pin
Henry miller6-Aug-04 10:08
Henry miller6-Aug-04 10:08 
QuestionON_NOTIFY -> why ON_NOTIFY_REFLECT ? Pin
FriendOfAsherah6-Aug-04 8:52
FriendOfAsherah6-Aug-04 8:52 
AnswerRe: ON_NOTIFY -> why ON_NOTIFY_REFLECT ? Pin
FriendOfAsherah6-Aug-04 19:56
FriendOfAsherah6-Aug-04 19:56 
GeneralCapture printed documents Pin
Anonymous6-Aug-04 8:50
Anonymous6-Aug-04 8:50 
GeneralNeeded - MFC Grid feature Pin
PJ Arends6-Aug-04 8:34
professionalPJ Arends6-Aug-04 8:34 
GeneralRe: Needed - MFC Grid feature Pin
Maximilien6-Aug-04 8:55
Maximilien6-Aug-04 8:55 
GeneralRe: Needed - MFC Grid feature Pin
act_x6-Aug-04 11:51
act_x6-Aug-04 11:51 
GeneralS character in front of Strings Pin
mager6-Aug-04 8:13
mager6-Aug-04 8:13 
GeneralRe: S character in front of Strings Pin
PJ Arends6-Aug-04 8:19
professionalPJ Arends6-Aug-04 8:19 
GeneralDocking windows using API Pin
Member 10134436-Aug-04 7:33
Member 10134436-Aug-04 7:33 
GeneralCatch Ctrl-C Pin
Anonymous6-Aug-04 7:04
Anonymous6-Aug-04 7:04 
GeneralRe: Catch Ctrl-C Pin
Archer2828-Aug-04 19:13
Archer2828-Aug-04 19:13 

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.