When u say a Win32 application, its understood that its a C program and not C++ program. Strictly speaking, MFC calls cannot be made from Wni32 program. If still u wanna use, go to project setting and specify 'Use MFC' Rahul
Rahul200676
Posts
-
how to use MFC in a win32 prog -
Name ManglingName mangling is a technique used by the compiler. Each compiler can have different algorithm for name mangling. I don't think its possible to prevent name mangling. Rahul
-
operator= understanding problemTo understand the concept of = operator, take the scenario, i = j = k; In this k should be assigned to j and then j should be assigned to i. This is the reason, why we make the return type of the =operator as reference and not by value. If you are passing by value, u will have problem, if u have a pointer data member and u are allocating new memory and don't have a copy constructor. By using return by reference you are actually saving on time as well as memory. Rahul
-
Can someone help with varible type problemHi, The variable rate is only one byte long, where as the first parameter type of sprint is char*, hence its giving u error. Try with rate as a char array. Rahul