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
A

ahmad_ali

@ahmad_ali
About
Posts
13
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Initializing structure with pointers to char arrays - bug
    A ahmad_ali

    There maybe be several bugs, but I believe you should remove the []:

    ypedef struct DataRecordTAG
    {
    char *cPrompts; // prompt text
    char *cEmulate; // emulate input
    char *cEntry; // response

    char cTEST;
    int iIndex;
    }

    C / C++ / MFC help performance c++ hardware data-structures

  • how to speed up data transfer between client and server in Winsock
    A ahmad_ali

    If your connection is faster, then yes. In general, to achieve maximum performance, you will need a high performance protocol and I am not sure the Send API you are referring to falls into that category. Typical characteristics for high performance protocols are: * UDP based * Packet loss tolerant * Latency tolerant You may have to write your own protocol, or Google for "high performance open source UDP file transfer" and you may find something. Regards

    C / C++ / MFC sysadmin json performance tutorial question

  • How can I fix memory leaks with CMFCVisualManager?
    A ahmad_ali

    Hello! I cannot offer any specific advice, but if you install Visual Leak Detector finding the root cause of your problem will be MUCH easier. Regards

    C / C++ / MFC question c++ debugging performance help

  • Visual C++ 2008 mis-compiling
    A ahmad_ali

    Yeah the error message is unbelievably stupid and that you almost need to be an IT expert to find what DLL is actually missing just makes it worse.

    C / C++ / MFC c++ question announcement delphi graphics

  • how to get ip address of a host
    A ahmad_ali

    Hi! One of the few solutions that work relibaly are based on establishing a connection to some external website (e.g. google.com) and then checking the ip address of the local endpoint. Example: http://stackoverflow.com/questions/2674314/get-local-ip-address-using-boost-asio[^]

    C / C++ / MFC question sysadmin help tutorial

  • Retriving Data from Map
    A ahmad_ali

    According to this page http://www.cplusplus.com/reference/stl/map/[^] map supports bidirectional iterator. This means you could start from map.end() and then use the operator-- to obtain the last element.

    C / C++ / MFC question

  • Application crashes on one user account but works fine on another user account.
    A ahmad_ali

    Unless there is a compiler bug (very unlikely) you have a bug in your code that only shows up with optimizations on. Likely this is some kind of memory allocation bug. Impossible to say without seeing your code.

    C / C++ / MFC c++ algorithms performance

  • Current login user?
    A ahmad_ali

    Use GetUserName to get the user ID. Use GetUserNameEx(NameDisplay, ...) to get the full user name. http://msdn.microsoft.com/en-us/library/aa916702.aspx[^]

    C / C++ / MFC question

  • How to get rid of the following Error...
    A ahmad_ali

    You cannot switch on a string because the string is not an integral type. Integral means "simple" types such as int, long, short, char, ... You can achieve the same behavior using if ... else if if(str=="A") { } else if(str=="B") { } ...

    C / C++ / MFC help tutorial

  • browse ...
    A ahmad_ali

    Google does not use VC++. It is asp/jsp/java/javascript. Web browsers do normally not permit execution of VC++ generated binary code.

    C / C++ / MFC help question

  • browse ...
    A ahmad_ali

    Google for 'freeaspupload' Regards

    C / C++ / MFC help question

  • Memo datatype gives error in Recordset
    A ahmad_ali

    I'm not sure how to fix your problem with Memo, but if you change it to OLE Object it will work. OLE Object can store CByteArray so you can insert any binary data, not just text. // in recorset header file CByteArray m_MyKey; // in recordset cpp file DoFieldExchange() RFX_Binary(pFX, _T("[MyKey]"), m_MyKey);

    C / C++ / MFC help c++ database

  • Errors Using CMap Collections
    A ahmad_ali

    You probably cause data corruption somewhere else in your code. How do you allocate the LPCTSTR that you insert?

    C / C++ / MFC debugging 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