Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalconjunction with Message ...... Pin
janakiraman200027-Jun-05 19:47
janakiraman200027-Jun-05 19:47 
GeneralRe: conjunction with Message ...... Pin
Christian Graus27-Jun-05 19:54
protectorChristian Graus27-Jun-05 19:54 
GeneralMouse event in transparent aera Pin
suhongwen27-Jun-05 19:38
suhongwen27-Jun-05 19:38 
GeneralRe: Mouse event in transparent aera Pin
Rage27-Jun-05 21:19
professionalRage27-Jun-05 21:19 
GeneralRe: Mouse event in transparent aera Pin
suhongwen27-Jun-05 21:29
suhongwen27-Jun-05 21:29 
QuestionIf Else inside Switch possible ? Pin
Anonymous27-Jun-05 19:35
Anonymous27-Jun-05 19:35 
AnswerRe: If Else inside Switch possible ? Pin
Christian Graus27-Jun-05 19:55
protectorChristian Graus27-Jun-05 19:55 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 19:58
Cillieacc0rd5o427-Jun-05 19:58 
For no reason i cant get it to work though it says } missing then ; missing. So i thought my code might be wrong .

void exitfkt(void)
{
MessageBox(NULL,"Unload Dll", "Test", MB_ICONINFORMATION | MB_OK);
}

// Loading of the driver at start of the driver
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
switch(ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
int SCO_AS6(void)
{
unsigned short error;
double measure_range;
unsigned short state;
double value;

error = SCO_AS6();
if (error != SCO_ERR_OPEN_DRIVER)
{
return TRUE;
}
else FALSE;
}
break;
case DLL_PROCESS_DETACH:
atexit(exitfkt);
break;
}
return TRUE;
}
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 20:33
Cillieacc0rd5o427-Jun-05 20:33 
GeneralRe: If Else inside Switch possible ? Pin
Christian Graus27-Jun-05 20:38
protectorChristian Graus27-Jun-05 20:38 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 20:51
Cillieacc0rd5o427-Jun-05 20:51 
GeneralRe: If Else inside Switch possible ? Pin
Christian Graus27-Jun-05 20:55
protectorChristian Graus27-Jun-05 20:55 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 21:09
Cillieacc0rd5o427-Jun-05 21:09 
GeneralRe: If Else inside Switch possible ? Pin
Christian Graus28-Jun-05 13:11
protectorChristian Graus28-Jun-05 13:11 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o429-Jun-05 1:58
Cillieacc0rd5o429-Jun-05 1:58 
GeneralRe: If Else inside Switch possible ? Pin
Christian Graus29-Jun-05 11:33
protectorChristian Graus29-Jun-05 11:33 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o429-Jun-05 19:43
Cillieacc0rd5o429-Jun-05 19:43 
GeneralRe: If Else inside Switch possible ? Pin
Cilllieaac0rd27-Jun-05 22:20
sussCilllieaac0rd27-Jun-05 22:20 
GeneralRe: If Else inside Switch possible ? Pin
Christian Graus28-Jun-05 13:12
protectorChristian Graus28-Jun-05 13:12 
AnswerRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 19:56
Cillieacc0rd5o427-Jun-05 19:56 
GeneralRe: If Else inside Switch possible ? Pin
Christian Graus27-Jun-05 20:02
protectorChristian Graus27-Jun-05 20:02 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 20:08
Cillieacc0rd5o427-Jun-05 20:08 
GeneralRe: If Else inside Switch possible ? Pin
Cillieacc0rd5o427-Jun-05 21:24
Cillieacc0rd5o427-Jun-05 21:24 
GeneralRe: If Else inside Switch possible ? Pin
David Crow28-Jun-05 2:47
David Crow28-Jun-05 2:47 
AnswerRe: If Else inside Switch possible ? Pin
David Crow28-Jun-05 2:38
David Crow28-Jun-05 2:38 

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.