Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Subrat 4708266

@Subrat 4708266
About
Posts
30
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • friend declaration causes undeclared identifier
    S Subrat 4708266

    It needs a forward declaration of void_C_Configuration_Manager class. Do as follows. class void_C_Configuration_Manager; Do it in the header.

    ATL / WTL / STL c++ help csharp visual-studio com

  • error - cannot convert parameter 3 from 'char [1024]' to 'wchar_t *'
    S Subrat 4708266

    Have you tried Project properties->Configuration properties->Char set->Unicode

    ATL / WTL / STL help data-structures debugging question

  • Problem in using filter in wincap library
    S Subrat 4708266

    Hi I think u have not seen the complete message that i'd posted. URL/Web Addresses Logger[^]

    C / C++ / MFC help c++ com sysadmin question

  • Problem in using filter in wincap library
    S Subrat 4708266

    Hi 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

    C / C++ / MFC help c++ com sysadmin question

  • cout for japanese messages
    S Subrat 4708266

    use wprintf() instead of printf(). likely use wide char version of cout(wcout) instead of cout

    C / C++ / MFC question

  • API to close any window using c++ win32
    S Subrat 4708266

    FYI: 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.

    C / C++ / MFC c++ json

  • API to close any window using c++ win32
    S Subrat 4708266

    I have tried with WM_CLOSE, but it is not working.Better if sending the code.

    C / C++ / MFC c++ json

  • API to close any window using c++ win32
    S Subrat 4708266

    Hi 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...

    C / C++ / MFC c++ json

  • HANDLE?
    S Subrat 4708266

    yes.Already there in winnt.h

    C / C++ / MFC c++ question

  • rewrite programs without gotos and breaks
    S Subrat 4708266

    j = -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; } }

    C / C++ / MFC question

  • Need help in template
    S Subrat 4708266

    Really helpfull. Thanks a lot Sashoalm.

    C / C++ / MFC help c++

  • Need help in template
    S Subrat 4708266

    Hi 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; }

    C / C++ / MFC help c++

  • Convert doc/txt file to PDF using C++.
    S Subrat 4708266

    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,

    C / C++ / MFC c++

  • Compare two icons(.gif)
    S Subrat 4708266

    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.

    C / C++ / MFC c++ json

  • Analyze crash dump created by windbg.
    S Subrat 4708266

    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...

    C / C++ / MFC tutorial

  • what is the difference of “class instance” and “object”?
    S Subrat 4708266

    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.

    C / C++ / MFC question

  • Compare two icons(.gif)
    S Subrat 4708266

    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; }

    C / C++ / MFC c++ json

  • Compare two icons(.gif)
    S Subrat 4708266

    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...

    C / C++ / MFC c++ json

  • Compare two icons(.gif)
    S Subrat 4708266

    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

    C / C++ / MFC c++ json

  • Compare two icons(.gif)
    S Subrat 4708266

    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

    C / C++ / MFC c++ json
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups