Click here to Skip to main content
15,922,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: connect to mysql 4.1.17 from VS.NET c++ Pin
2249174-Jul-05 6:48
2249174-Jul-05 6:48 
Questiondisplaying dialog box in sdi or mdi window? Pin
sayup4-Jul-05 3:46
sayup4-Jul-05 3:46 
AnswerRe: displaying dialog box in sdi or mdi window? Pin
M.Mehrdad.M4-Jul-05 4:37
M.Mehrdad.M4-Jul-05 4:37 
AnswerRe: displaying dialog box in sdi or mdi window? Pin
Jose Lamas Rios4-Jul-05 6:14
Jose Lamas Rios4-Jul-05 6:14 
GeneralHELP: Visual studio .NET compilation error Pin
Member 20930494-Jul-05 3:43
Member 20930494-Jul-05 3:43 
GeneralRe: HELP: Visual studio .NET compilation error Pin
PJ Arends4-Jul-05 9:27
professionalPJ Arends4-Jul-05 9:27 
Generalquestion about macro define Pin
HeartFriend4-Jul-05 2:41
HeartFriend4-Jul-05 2:41 
GeneralRe: question about macro define [edited] Pin
Jose Lamas Rios4-Jul-05 3:11
Jose Lamas Rios4-Jul-05 3:11 
Macros don't work at runtime; they are processed before compilation. Try something like this instead:

void func (UINT nOperation)
{
   switch (nOperation)
   {
      // [edited - Thanks DavidCrow] case default:
      default:
         break;
 
      case OPERATION_1:
         fun1(spObj, nParam);
         break;
 
      case OPERATION_2:
         fun2(spObj, nParam);
         break;
 
      case OPERATION_3:
         fun3(spObj, nParam);
         break;
   }
}



--
jlr
http://jlamas.blogspot.com/[^]
GeneralRe: question about macro define Pin
David Crow4-Jul-05 11:22
David Crow4-Jul-05 11:22 
GeneralRe: question about macro define Pin
Jose Lamas Rios4-Jul-05 13:14
Jose Lamas Rios4-Jul-05 13:14 
GeneralRe: question about macro define Pin
S. Senthil Kumar4-Jul-05 5:01
S. Senthil Kumar4-Jul-05 5:01 
QuestionHow to detect the dll or exe from the address(memory) of its function? Pin
saravananvv4-Jul-05 2:32
saravananvv4-Jul-05 2:32 
GeneralDebugging VC++ 7 Code Pin
manjums2002@yahoo.com4-Jul-05 2:28
manjums2002@yahoo.com4-Jul-05 2:28 
GeneralRe: Debugging VC++ 7 Code Pin
Cedric Moonen4-Jul-05 2:34
Cedric Moonen4-Jul-05 2:34 
GeneralNon-blocking reading of input Pin
Cedric Moonen4-Jul-05 2:25
Cedric Moonen4-Jul-05 2:25 
GeneralRe: Non-blocking reading of input Pin
M.Mehrdad.M4-Jul-05 6:12
M.Mehrdad.M4-Jul-05 6:12 
GeneralRe: Non-blocking reading of input Pin
badal_akr4-Jul-05 21:20
badal_akr4-Jul-05 21:20 
GeneralPrint-Layout View implementation Pin
Maverick4-Jul-05 2:08
Maverick4-Jul-05 2:08 
GeneralRe: Print-Layout View implementation Pin
Jack Puppy4-Jul-05 2:31
Jack Puppy4-Jul-05 2:31 
GeneralRe: Print-Layout View implementation Pin
Maverick4-Jul-05 15:49
Maverick4-Jul-05 15:49 
GeneralRe: Print-Layout View implementation Pin
Maverick5-Jul-05 3:05
Maverick5-Jul-05 3:05 
GeneralRe: Print-Layout View implementation Pin
Jack Puppy5-Jul-05 4:25
Jack Puppy5-Jul-05 4:25 
GeneralLOGON Problem Pin
M.Mehrdad.M4-Jul-05 1:18
M.Mehrdad.M4-Jul-05 1:18 
GeneralRe: LOGON Problem Pin
2249174-Jul-05 1:36
2249174-Jul-05 1:36 
GeneralRe: LOGON Problem Pin
M.Mehrdad.M4-Jul-05 2:21
M.Mehrdad.M4-Jul-05 2:21 

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.