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

Sigmund

@Sigmund
About
Posts
6
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • wininet
    S Sigmund

    If you get error code 87 (witch is ERROR_INVALID_PARAMETER) when calling GetLastError(), this meen that you pass some invalid argument to this function.

    C / C++ / MFC html

  • Global memory (GlobalAlloc, etc...)
    S Sigmund

    No. Memory allocated by GlobalAlloc is not visible to other process. If you want to share memory across process, i sugest that you use memory mapped files. Also, MSDN state that GlobalAlloc is not the preferred way to allocate memory. Try the heap memory function instead (HeapAlloc, HeapFree, ect,ect).

    C / C++ / MFC performance question

  • CBitmap (LoadBitmap is not working)
    S Sigmund

    Try... HANDLE LoadImage( HINSTANCE hinst, // handle to instance LPCTSTR lpszName, // image to load UINT uType, // image type int cxDesired, // desired width int cyDesired, // desired height UINT fuLoad // load options ); and set the hinst to NULL and lpszName to the filname you load,uType to IMAGE_BITMAP, fuLoad to LR_LOADFROMFILE. For other parameter and options look it up in MSDN. On success attach it (cast from HANDLE to HBITMAP).

    C / C++ / MFC graphics question

  • CBitmap (LoadBitmap is not working)
    S Sigmund

    I assume you working in MFC. Her Loadbitmap is declared as follow... BOOL LoadBitmap( LPCTSTR lpszResourceName ); BOOL LoadBitmap( UINT nIDResource ); Both tis function asume a resource ID. This resource ID can be a textvalue or UINT value. To load a bitmap from a file you can just call Win32 LoadBitmap API function (or LoadImage). On success then you attach it to the the CBitamp object.

    C / C++ / MFC graphics question

  • wininet
    S Sigmund

    Try.. BOOL HttpQueryInfo( HINTERNET hRequest, DWORD dwInfoLevel, LPVOID lpvBuffer, LPDWORD lpdwBufferLength, LPDWORD lpdwIndex ); and set dwInfoLevel to HTTP_QUERY_RAW_HEADERS or HTTP_QUERY_RAW_HEADERS_CRLF. You can se more on this function in MSDN

    C / C++ / MFC html

  • Drop Notification
    S Sigmund

    Is there somone that can help me with tip that describe how to get the foldername where a file was dropped to shell. I know how to drop a file to shell, but in my case i just want the name of targetfolder where file was dropped. The application that i develope (if i know the target folder) initiate a download from a SQLServer that download file(es) to targetfolder.

    C / C++ / MFC linux help tutorial
  • Login

  • Don't have an account? Register

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