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
F

Fareed Rizkalla

@Fareed Rizkalla
About
Posts
147
Topics
62
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Read-Only ComboBox
    F Fareed Rizkalla

    I've been trying to find of a working sample, but no luck! I only managed to find MFC samples. If someone knows how to get one in place by logic or a sample for it in Windows API code.

    C / C++ / MFC c++ json tutorial

  • programing
    F Fareed Rizkalla

    C is not widely used anymore. C++ is a superset of C. You can code programs similar to C in C++. Go to http://msdn.microsoft.com/, select Desktop and learn!

    C / C++ / MFC

  • FILETIME / WinAPI
    F Fareed Rizkalla

    I'm telling my problem, and asking for a possible cause! If you don't have AM/PM in a time format you assumed it's using the 24 hour format. I was mapping files on my drive, when I suddenly found a deviation between the time listed in Explorer and my output. It seemed to occur randomly and it was related to time during AM and only files related to the OS, not the files which I had created which were also during the same period AM. Is this clearer?

    C / C++ / MFC question

  • FILETIME / WinAPI
    F Fareed Rizkalla

    You haven't read my problem, maybe took a good look than a glimpse at it! FileDetails is Structure used in FindFile function.

    FILETIME UTCTime = FileDetails.ftCreationTime;
    FILETIME LocalTime;

    FileTimeToLocalFileTime( &UTCTime, &LocalTime);

    SYSTEMTIME HumanReadableForm;
    FileTimeToSystemTime(&LocalTime, &HumanReadableForm);

    C / C++ / MFC question

  • FILETIME / WinAPI
    F Fareed Rizkalla

    I understand the FILETIME structure and how data is stored. However I called a Filename's attributes and retrieved the time/date attributed to it. Then calling FileTimeToLocalFileTime function converts from UTC to LocalTime. However I'm seeing a weird anomaly, it appeared to occur on the 24 hour conversion. Time during the day (AM) was missing an hour, but on special folders by located for Windows. Even files located in the root I created during the day were correctly timed? :doh:

    C / C++ / MFC question

  • VS2010 & SDK 7.1
    F Fareed Rizkalla

    Does anyone know if I can make the SDK 7.1 directories the default instead of using the SDK 7.0! :^) I know that you can configure them on each solution, but it is very boring to set them on each solution. Or should I copy and replace files of 7.0A with 7.1. :rolleyes: (Might even free up some disk space in the process)

    C / C++ / MFC

  • String
    F Fareed Rizkalla

    wcscat_s keeps throwing an error that the string isn't null terminated! :S

    C / C++ / MFC data-structures question

  • String
    F Fareed Rizkalla

    If I assign a string to a variable. char* t = "Hello World!"; Doesn't this string get a fixed array with a null terminator at the end?

    C / C++ / MFC data-structures question

  • Extract numbers from string
    F Fareed Rizkalla

    Read from right - to - left. Check if digit and set position for the left most digit. Deduct position from length and then you can get the length of your string.

    C / C++ / MFC question

  • RegGetValue / Win32
    F Fareed Rizkalla

    I thought does was an old function available since Windows 2000. Any idea how to get a previous older function?

    C / C++ / MFC graphics help

  • RegGetValue / Win32
    F Fareed Rizkalla

    Gave a program for a friend to test, as soon as he launched he was notified with this error. The procedure entry point RegGetValueW could not be located in the dynamic link library ADVAPI32.dll. I went back to the drawing board only to find out that it is only called after the user has interacted with the program. So it's not something I'm doing during startup of the application!

    C / C++ / MFC graphics help

  • CreateWindow / CreateWindowEx
    F Fareed Rizkalla

    What is the difference between CreateWindow and CreateWindowEx? I know of the extra functionality provided by using the CreateWindowEx, but is their any difference in performance. Is my program missing out on any other speed or interaction functionality by using the older CreateWindow function?

    C / C++ / MFC performance question

  • making a win32 dll project (visual studio) on a 64 bit machine
    F Fareed Rizkalla

    You can run 32 bit on 32 or 64 bit machine. However 64 bit has to run on a 64 bit machine ONLY!

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

  • System Hooking
    F Fareed Rizkalla

    I'm trying to monitor clicks in any web browser (might settle for one browser as a default to base my code). Since it's my first attempt, I've been reading a bit but appreciate any suggestions on the topic. Most hook examples are dll's that are hooked to a process. I thought of using the services to load the dll and hook it to the process. Since it would not bring down my main application.

    C / C++ / MFC

  • Unsigned/Signed
    F Fareed Rizkalla

    So a value declared int in C++. Is signed. However if I choose unsigned and assigned a negative value. It should be zero. Instead I get a large value, based on the most significant bit being 1 (representing the sign value). And whatever was the original value being assigned is deducted from that value. So -0, if nothing is to be deducted. Someone should it be doing this?

    C / C++ / MFC c++ question

  • STL / Custom Linked List
    F Fareed Rizkalla

    Big-O-Notation!?

    C / C++ / MFC performance c++ data-structures question

  • re:looking for winsock listener tcp c++ example that supports multiple potential clients
    F Fareed Rizkalla

    Well their are differences between implementations of the Windows version and *nix. Here is the link

    C / C++ / MFC question c++ sysadmin tutorial

  • STL / Custom Linked List
    F Fareed Rizkalla

    Which is better writing my own custom Linked List class or using STL? Which is better not just from the point of speed, but also memory usage?

    C / C++ / MFC performance c++ data-structures question

  • Retrieve TreeView Selected Item
    F Fareed Rizkalla

    TVITEM* Selected; TreeView_GetItem( HandleforTreeList, Selected); Fails saying uninitialized variable!

    C / C++ / MFC tutorial question

  • Retrieve TreeView Selected Item
    F Fareed Rizkalla

    But that returns an HTREEITEM, can't find any details on this structure on MSDN.

    C / C++ / MFC tutorial question
  • Login

  • Don't have an account? Register

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