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
Z

zon_cpp

@zon_cpp
About
Posts
164
Topics
87
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • crash in memory heap allocation - windows 7 - Unicode project
    Z zon_cpp

    i guess that my problem is not in size of memory allocation. However, i will check it. but, is any other reason?

    Zo.Naderi-Iran

    C / C++ / MFC help question csharp c++ visual-studio

  • crash in memory heap allocation - windows 7 - Unicode project
    Z zon_cpp

    but my project compile and run in windows 2003 sever without any heap corruption! what difference between windows 2003 and windows 7 ?

    Zo.Naderi-Iran

    C / C++ / MFC help question csharp c++ visual-studio

  • crash in memory heap allocation - windows 7 - Unicode project
    Z zon_cpp

    Hi, what is difference between windows 7 and windows 2003 sever in memory heap allocation? i have a project in visual studio 2008 C++ with using Unicode for character setting. my project run in 2003 sever without any problem. but when i run it in windows 7, my project is breaked on a "memory allocation" line in code, like:

    int i_size = 50;
    wchar_t* wch = new wchar_t[i_size];

    with this error message: this maybe due to a corruption of the heap, which indicate a bug in my.exe or any of the Dlls it has loaded. please help me.

    Zo.Naderi-Iran

    C / C++ / MFC help question csharp c++ visual-studio

  • to send message to console exe
    Z zon_cpp

    Hi, i have a console project. then an console exe. i want in another project(dlg project), to execute this console exe. i execute it with calling ShellExecute() function. now, i want to send some messages to this exe.(to send message from dlg to console) how do i do it? i don't have any hWnd of console exe in dlg project! please help me.

    Zo.Naderi-Iran

    C / C++ / MFC question help

  • LANGID to wstring
    Z zon_cpp

    hi, how to convert LANGID to wstring?

    Zo.Naderi-Iran

    C / C++ / MFC tutorial question

  • CListCtrl
    Z zon_cpp

    in OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult) event of CListCtrl

    void CMyList::OnNMCustomdraw(NMHDR *pNMHDR, LRESULT *pResult)
    {
    LPNMLVCUSTOMDRAW pLVCD reinterpret_cast(pNMHDR);
    switch(pLVCD->nmcd.dwDrawStage)
    {
    case CDDS_ITEMPREPAINT:
    if(pLVCD->nmcd.dwItemSpec == 1) // if it is specified row
    {
    pLVCD->clrTextBk = RGB(235,235,235);
    // and doing other
    }
    break;
    }
    }

    Zo.Naderi-Iran

    C / C++ / MFC tutorial question

  • LANGID
    Z zon_cpp

    hi, how do i get a list of LANGID in array? i want initialize an array with LANGIDs (for example i do this in a loop).

    int count; // = ? number of LANGID
    WORD* arr = new WORD[count];
    // now how do id initialize this array completely?

    please help me

    Zo.Naderi-Iran

    C / C++ / MFC question data-structures help tutorial

  • index of HTREEITEM item?
    Z zon_cpp

    when user click on item of Tree view. for example 3th item: how do i get (3) numeral index this item?

    Zo.Naderi-Iran

    C / C++ / MFC question database help tutorial

  • index of HTREEITEM item?
    Z zon_cpp

    hi! how do i get counter of item (index of item in CTreeCtrl) with its HTREEITEM ? for example: user selects 3th item of CTreeCtrl. in code, with GetSelectedItem() function we have HTREEITEM of item. but index of it?(in this example 3) please help me...

    Zo.Naderi-Iran

    C / C++ / MFC question database help tutorial

  • SelectItem of CTreeCtrl
    Z zon_cpp

    Hi! how do i select 3th item of a CTreeCtrl? SelectItem() function needs HTREEITEM of specified item, but i have index of item (for example 3th item) please help me...

    Zo.Naderi-Iran

    C / C++ / MFC question database help tutorial

  • index of member of a map?
    Z zon_cpp

    hi, how do i know index of an iterator of a map?

    map::iterator it = mymap.find(3);

    i want to know index of 'it' in mymap???

    Zo.Naderi-Iran

    C / C++ / MFC question database

  • detect memory leak
    Z zon_cpp

    hi, how do i detect memory leak, in a win32 console project?

    Zo.Naderi-Iran

    C / C++ / MFC question performance

  • setDllDirectory in x64 project
    Z zon_cpp

    Hi, how can i use SetDllDirectory function in my project, to compile in x64 configuration manager platform? define _WIN32_WINNT as 0x0502 ???? where i define it?

    Zo.Naderi-Iran

    C / C++ / MFC question workspace

  • last data in dde
    Z zon_cpp

    i found my answer, myself. i should call DdeClientTransaction function again (with XTYP_REQUEST for wType) after calling DdeClientTransaction with XTYP_ADVSTART.

    Zo.Naderi-Iran

    C / C++ / MFC sysadmin help

  • last data in dde
    Z zon_cpp

    hi, i write a program that is a dde client. i want to get last data in dde server (that was sent previously), when my dde client connect to dde server. with calling the DdeClientTransaction function , with XTYPE_ADVSTART: the dde client receive data when they changing in dde server, but just in connection time, i don't have last data of server. until data changes! please help me.

    Zo.Naderi-Iran

    C / C++ / MFC sysadmin help

  • SHFileOperation in win XP?
    Z zon_cpp

    oh, thank you and excuse me my problem solved. its problem was in VS 2005. with VS 2008, it is ok. thanks

    Zo.Naderi-Iran

    C / C++ / MFC question help

  • SHFileOperation in win XP?
    Z zon_cpp

    hi what is the note of using SHFileOperation function in win XP? my program work correctly in vista but in XP it is crashed! please help me

    Zo.Naderi-Iran

    C / C++ / MFC question help

  • full path of a process
    Z zon_cpp

    it is ok, thank you

    Zo.Naderi-Iran

    C / C++ / MFC question help

  • full path of a process
    Z zon_cpp

    no, only include psapi.h

    Zo.Naderi-Iran

    C / C++ / MFC question help

  • full path of a process
    Z zon_cpp

    i include the psapi header:

    #include psapi.h

    but it is an error : unresolved externals ?

    Zo.Naderi-Iran

    modified on Thursday, December 9, 2010 6:39 AM

    C / C++ / MFC question help
  • Login

  • Don't have an account? Register

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