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

Frank Seidler

@Frank Seidler
About
Posts
7
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Recursive CFileFind problem [modified]
    F Frank Seidler

    Hi! You are missing 1 file per call to countfiles(). Simply move the while to the bottom of the loop to solve this.

    if ( f.FindFile(LPCTSTR(strDir)))
    {
    do
    {
    ...
    }
    while ( f.FindNextFile() );
    }

    Regards Frank

    C / C++ / MFC css help question

  • Problem with WaitForSingleObject
    F Frank Seidler

    Hello, WaitForSingleObject takes a handle as first argument. You are passing a pointer to a CWinThread. Changing your code to

    WaitForSingleObject( m_pcThread1->m_hThread, INFINITE );
    WaitForSingleObject( m_pcThread2->m_hThread, INFINITE );

    should solve your issue. Regards Frank

    C / C++ / MFC help question

  • Identifying Memory leak location
    F Frank Seidler

    You can set a breakpoint when the memory is allocated. Take the number in curly braces and set it like this: _crtBreakAlloc = 159399; The debugger will break in, when the n-th memory block is allocated. see: http://msdn.microsoft.com/en-us/library/w2fhc9a3%28VS.80%29.aspx Regards Frank

    C / C++ / MFC question performance

  • ATL: WM_MOUSELEAVE
    F Frank Seidler

    Hello, this is a MS design feature. You need to call TrackMouseEvent prior to receive a WM_MOUSELEAVE-Message. See: http://msdn.microsoft.com/en-us/library/ms645615%28VS.85%29.aspx for more info. Kind regards Frank

    ATL / WTL / STL c++ question

  • Using Zend library in vc++
    F Frank Seidler

    Hi, there is a tool to generate wrappers to call C/C++ from PHP and other script languages called SWIG ( see: http://www.swig.org[^] ). I've used it a few times to generate wrappers for perl. Hope this helps. Frank

    C / C++ / MFC php c++ tools tutorial

  • Need to call (ODBC) Data Source Administrator dialog screen while installing my MSI .( in VS 2005)
    F Frank Seidler

    Hi Jain, the ODBC Adminstrator dialog is a control panel applet named ODBCCP32.CPL. It is found in %WINDIR%\system32. The dialog is opened with control.exe like this. C:\Windows\System32\control.exe ODBCCP32.CPL Regards Frank

    C / C++ / MFC visual-studio help

  • FindFirstChangeNotification() results in "The network BIOS command limit has been reached."
    F Frank Seidler

    Hi, a quick look at the code shows that the handle will not be closed. From MSDN: When the handle is no longer needed, it can be closed by using the FindCloseChangeNotification function. So I guess the error will show up after the loop has been executed a few times? Regards Frank

    C / C++ / MFC sysadmin question c++ 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