Skip to content
Code Project
CODE PROJECT For Those Who Code

C / C++ / MFC

C, Visual C++ and MFC discussions

This category can be followed from the open social web via the handle c-c-mfc@forum.codeproject.com

111.5k Topics 465.7k Posts
  • WiX Toolset Compiler error

    help c++ tutorial announcement
    2
    0 Votes
    2 Posts
    0 Views
    L
    Without any more detail no one can guess what is wrong. You would be better posting your query on a forum dedicated to this product, since it has nothing to do with C++ per se.
  • Made of libogg ogg files can be directly through the player play?

    question
    2
    0 Votes
    2 Posts
    0 Views
    L
    Please read http://www.codeproject.com/Messages/2922875/HOW-TO-ASK-A-QUESTION.aspx[^] again, and see http://www.codeproject.com/Messages/4834174/Re-How-to-use-MFC-speex-audio-files-WAV-format-for.aspx[^].
  • about speex and ogg!

    tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Stroustrup's RAII code

    c++ com question
    4
    0 Votes
    4 Posts
    0 Views
    J
    Why doesn't he use the handle? It's for illustration purposes only.
  • 0 Votes
    6 Posts
    0 Views
    S
    How so if you don't even use the source path in your code? P.S.: More to the point, you don't call any functions to actually unzip anything! Unzopen fails, because it expects the zip file name/path, but you are passing to it the target path, which presumably is a directory, not a file at all. NMo wonder it doesn't work! Moreover, unzOpen only provides a handle to the zip file that lets you access the individual files contained within, you need to use variuous other functions to walk over the list of files, find their relative path, and extract it to the target location. GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    2 Posts
    0 Views
    L
    See http://www.codeproject.com/Messages/4834174/Re-How-to-use-MFC-speex-audio-files-WAV-format-for.aspx[^].
  • 0 Votes
    3 Posts
    0 Views
    R
    OK thank you!
  • Detect working area of primary monitor

    question workspace
    3
    0 Votes
    3 Posts
    0 Views
    L
    Hi, Make sure you are compiling with COMPILE_MULTIMON_STUBS defined and add #include <multimon.h> Best Wishes, -David Delaune
  • Grop item is looks like disabled

    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Anyone done any Web Scraping in C++/MFC

    c++ tutorial question
    5
    0 Votes
    5 Posts
    0 Views
    D
    See if NetUseAdd() helps. "One man's wage rise is another man's price increase." - Harold Wilson "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
  • HOW I can pause the timer in qt

    help question
    2
    0 Votes
    2 Posts
    3 Views
    A
    I don't think there's a native "pause" in the class. You should however, be able to use restart() to the same effect... http://qt-project.org/doc/qt-5/qelapsedtimer.html#restart[^]
  • Newbee MFC

    c++ html database com tutorial
    3
    0 Votes
    3 Posts
    0 Views
    J
    Books by Jeff Prosise have been helpful to me and many others.
  • how can i convert a QString to char* in QT

    question
    3
    0 Votes
    3 Posts
    5 Views
    S
    http://qt-project.org/faq/answer/how_can_i_convert_a_qstring_to_char_and_vice_versa[^] http://qt-project.org/forums/viewthread/4732[^]
  • The Ultimate Toolbox file watcher links are dead

    help c++ com question
    3
    0 Votes
    3 Posts
    0 Views
    D
    Read about ReadDirectoryChangesW() and FindFirstChangeNotification(). "One man's wage rise is another man's price increase." - Harold Wilson "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
  • Qtimer class in Qt

    question
    4
    0 Votes
    4 Posts
    10 Views
    S
    thank you very much my friend. you help me very much:rose:
  • 0 Votes
    9 Posts
    1 Views
    CPalliniC
    Me too. Caffeine is way more practical, though. Veni, vidi, vici.
  • MFC -Help

    c++ help
    7
    0 Votes
    7 Posts
    0 Views
    S
    No. We can't. You haven't described your problem well enough for us to properly search for it. Only you know what you need exactly, so you do the search! Besides, even if you took the time to precisely describe what you want, it would take as at least as much time to search for those links as it would take you - so why should we? Please learn to use the search function, here, on google, or on any other site that you might consider useful (e. g. MSDN). That will save everyone a lot of time - including yourself! GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto) Point in case: http://www.infoq.com/news/2014/02/apple_gotofail_lessons[^]
  • Contrast "socket API" and "WSASocket API"

    question csharp c++ visual-studio com
    8
    0 Votes
    8 Posts
    5 Views
    B
    I understand and am going with the WSA series. I am putting significant effort into this project. If you have code you don't mind sending, I will look at it. I am declaring my code as open source and will post it. Please send to user name "online" with that symbol followed by my domain bkelly then further followed by dot "ws", yes, its just that simple. Thank you for the time you spent on your reply. Thank you for your time If you work with telemetry, please check this bulletin board: www.irigbb.com
  • Get current cursor type

    help tutorial question
    5
    0 Votes
    5 Posts
    0 Views
    B
    How to check the CListCtrl's column resize cursor. I don't know that resource id.