It needs a forward declaration of void_C_Configuration_Manager class. Do as follows. class void_C_Configuration_Manager; Do it in the header.
Subrat 4708266
Posts
-
friend declaration causes undeclared identifier -
error - cannot convert parameter 3 from 'char [1024]' to 'wchar_t *'Have you tried Project properties->Configuration properties->Char set->Unicode
-
Problem in using filter in wincap libraryHi I think u have not seen the complete message that i'd posted. URL/Web Addresses Logger[^]
-
Problem in using filter in wincap libraryHi all, I need a Program to monitor network traffic and use filter to get selected URLs using winpcap library and win32 in C++. I've seen code in http://www.codeproject.com/KB/IP/URLLogger.aspx?msg=2288055#xx2288055xx but that is not working. Can anyone having the workable code to resolve my issue? Plz let me know. It's URGENT! Thanks Subrat
-
cout for japanese messagesuse wprintf() instead of printf(). likely use wide char version of cout(wcout) instead of cout
-
API to close any window using c++ win32FYI: In widows task manager we are able to 'End Task' any application.I read one article, it was written to use EndTask() API to close any app forcibly. But my compiler is flashing error.I think it doesn't exit in VS2008 express edition.
-
API to close any window using c++ win32I have tried with WM_CLOSE, but it is not working.Better if sending the code.
-
API to close any window using c++ win32Hi all, I need win32 API to close any window(ex:IE) forcibly.Lets take one scenario. Steps: 1.Install toolbar(Yahoo/Google) 2.Open IE. 3.Close IE.// Here unless until we are closing toolbar popup window we can't close browser window. But I need API to close browser window without interacting with toolbar window. Thanks...
-
HANDLE?yes.Already there in winnt.h
-
rewrite programs without gotos and breaksj = -3; int k = 0; for (i=0; (i < 3) && (j > 0); i++) { k = j + 2; if((3 == k) || (2 == k)) { j--; } else if (0 == k) { j += 2; } else { j = 0; } if(j <= 0) { j = 3 - i; } }
-
Need help in templateReally helpfull. Thanks a lot Sashoalm.
-
Need help in templateHi I am facing problem in accessing the function template written inside a class. My code is as follows. Please help me in this regard. mytemp.h class mytemp { public: mytemp(void); ~mytemp(void); template static T templateadd(T x, T y); }; mytemp.cpp template T mytemp::templateadd(T x, T y) { return (x + y); } main.cpp int _tmain(int argc, _TCHAR* argv[]) { cout<<mytemp::templateadd(10,2); // Here I am getting error: unresolved external symbol ... //Here I want to access templatedadd() of mytemp class. Please tell me What should be the statement. return 0; }
-
Convert doc/txt file to PDF using C++.I want to convert doc/txt file to PDF using C++ win32(Don't want any third party Library) console app. Final o/p exe should be used as follows. ConvertDocToPdf.exe source.doc tar.pdf Thanks & Regards,
-
Compare two icons(.gif)Hi Hamid, Thanks for your reply.But I failed to get it. In your free time plz send me the code.I think no of lines will be limited to max 10.So won't take more time. Thanks & Regards.
-
Analyze crash dump created by windbg.Hi I want to know how to analyze crash dump created by WinDbg.Please tell me the step by step methods by which one can know actually which function,Class, DLL, line no, is causing the crash. Thanks...
-
what is the difference of “class instance” and “object”?Both are same if that object is of that class. It will be different if object is a structure object.BCZ in structure bydefault data members are public where in class it is private. In C structre---------->variable C++ it will be considered as object.
-
Compare two icons(.gif)I found the code as follow.But it isn't working fine.Please tell me the necessary modifications ASAP. int main() { HANDLE hBitMap = LoadImage(0, "img.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE); BITMAP bitmap; GetObject(hBitMap,sizeof(BITMAP),&bitmap); int size = bitmap.bmHeight*bitmap.bmWidth*bitmap.bmBitsPixel/8; BYTE *lpBits = new BYTE[ size ]; GetBitmapBits((HBITMAP)hBitMap,size,lpBits ); HANDLE hBitMap2 = LoadImage(0, "img2.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE); BITMAP bitmap2; GetObject(hBitMap2,sizeof(BITMAP),&bitmap2); int size2 = bitmap2.bmHeight*bitmap2.bmWidth*bitmap2.bmBitsPix el/8; BYTE *lpBits2 = new BYTE[ size2 ]; GetBitmapBits((HBITMAP)hBitMap2,size2,lpBits2 ); int ScreenWidth = bitmap2.bmWidth; int ScreenHeight = bitmap2.bmHeight; int numOfCard = 1;int x, j, k; int cardHeight = bitmap.bmHeight; int card_line_length = bitmap.bmWidth; for( i = 0 ; i < ScreenWidth; i++ ) { for( j = 0 ; j < ScreenHeight; j++ ) { for ( k= 0; k < numOfCard; k++ ) { int tmpY = j; for ( x = 0; x < cardHeight; x++ ) { if ( memcmp(lpBits2[i][tmpY],lpBits[x], card_line_length ) != 0 ) break; // we didnt find macth of a line tmpY++; // move to next line } if ( x == cardHeight) { cout << "found"; } } } } system("PAUSE"); return 0; }
-
Compare two icons(.gif)I want to compare content of two .gif files using c++ win32 APIs. Size of two .gif files may be different, but if content is same, the our API should return true as they are same. Please reply me soon, it is very very URGENT.I have tried using LoadImage() and memcmp() APIs, but failed.If possible please give me the code. Thanks in Advance...
-
Compare two icons(.gif)Hi all I want the program to compare two .gif files using C++.If there is any win32 API then let me know. Thanks Subrat
-
Compare two icons(.gif)Hi all I want the program to compare two using C++.gif files.If there is any win32 API then let me know. Thanks Subrat