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
H

hatemtalbi

@hatemtalbi
About
Posts
11
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • a map Resizing a map file;
    H hatemtalbi

    Sorry, I typed ZwResizeSection in google but I didn't get any results !! please could you check the word orthography thank you

    C / C++ / MFC tutorial question

  • a map Resizing a map file;
    H hatemtalbi

    for example when I resize the file from 4KB to 8KB, I expect that MapViewOfFile() return a buffer size of 8KB but I get only 4KB !!!

    C / C++ / MFC tutorial question

  • a map Resizing a map file;
    H hatemtalbi

    Yes, I did all that. But when I call mapViewOfFile() the secon time the whole size of the maapped file !!!

    C / C++ / MFC tutorial question

  • a map Resizing a map file;
    H hatemtalbi

    Hi all, I created a map file like this : HANDLE hMap=CreateFileMapping(hFile, NULL, _dwProtect, 0, _dwSize, _strMapName); but now I need to increase its size and create a new view on it!! does someone know how to to that the right way?? Thank you so much :)

    C / C++ / MFC tutorial question

  • How to know if a pointer is valid?
    H hatemtalbi

    AfxIsValidAddress worked fine for me. Thanks a lots :)

    C / C++ / MFC help tutorial question

  • Memory buffer size
    H hatemtalbi

    that s the problem!!! it seems that the size of the file is larger than the memory buffer returned. I don't understand why :(

    C / C++ / MFC performance question

  • Memory buffer size
    H hatemtalbi

    no, _dwNbBytes == 0 ko mean kb == 1024 bytes thx

    C / C++ / MFC performance question

  • How to know if a pointer is valid?
    H hatemtalbi

    Hey, does someone know how to check if a pointer is valid (was allocated by the application and can be used without problem) or no?

    C / C++ / MFC help tutorial question

  • Memory buffer size
    H hatemtalbi

    Here it is: LPVOID data = MapViewOfFile(m_hMap, _dwDesiredAccess, 0, _dwOffset, _dwNbBytes); I need to know the size of the data buffer. I call this code after resizing a map file with 8ko but I can acess only the first 4ko :( could someone help me?!!

    C / C++ / MFC performance question

  • Memory buffer size
    H hatemtalbi

    No :( it doesn't worked for me !!! The _msize function returns the size, in bytes, of the memory block allocated by a call to calloc, malloc, or realloc. Thank you anyway

    C / C++ / MFC performance question

  • Memory buffer size
    H hatemtalbi

    Hi, Is there any way to get the size of an allocated memory buffer knowing only the its address? Thank you all :)

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