Skip to content

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
  • Service only works once useing

    database sysadmin help question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    4 Posts
    0 Views
    CPalliniC
    Of course. :thumbsup:
  • Comboboxx issue in MFC

    help c++ database business announcement
    2
    0 Votes
    2 Posts
    0 Views
    L
    Amrit Agr wrote: Sometimes its getting crash Then you need to use your debugger to try and identify where the crash occurs, and why.
  • 0 Votes
    16 Posts
    0 Views
    L
    It is not "global"; You are just confusing the issue by saying that.
  • C++

    c++
    6
    0 Votes
    6 Posts
    0 Views
    _
    I guess the question is hinting type casting[^]. «_Superman_»  _I love work. It gives me something to do between weekends. _Microsoft MVP (Visual C++) (October 2009 - September 2013) Polymorphism in C
  • c langugae

    question
    2
    0 Votes
    2 Posts
    0 Views
    D
    Used with printf() if you want to print a percent sign. "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
  • Question about malloc a struct

    question graphics help
    6
    0 Votes
    6 Posts
    0 Views
    M
    Thank you for clarifying my confusion, Jochen!! :D I appreciate it.
  • .

    question adobe architecture
    10
    0 Votes
    10 Posts
    0 Views
    J
    The 18 is the RTM number from my above link. What a mess with all these different numbers for a single product :mad:
  • MFC Printing of multiple views for a single doc

    c++ tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • STL list member function(S)

    c++ question
    4
    0 Votes
    4 Posts
    0 Views
    CPalliniC
    Looks like a typo, to me.
  • A Data Structures Book Needed

    learning
    5
    0 Votes
    5 Posts
    0 Views
    A
    You are right about the copyright stuff. However, with complete respect to you and your opinion, not all people can get what they want especially if the thing related with payment(s) because they may have no money or it will cost them lots of money for me for example to buy this book for me will cost 2080 EGP so if for example, has a need for 10 books I will pay like 20800 EGP and that is lots of money for me + shipping fees, sorry for talking to much but I am trying to explain why I was asking for help from someone who may have it. Also I could have a book I do not need it or use it and a friend want it and was about buying and I give him mine so do you think it is violation in such situation?!!!. Wishing you good day :)
  • 코리아카지노≪≪NGP7。COM≫≫코리아카지노

    com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 아시안카지노≪≪NGP7。COM≫≫아시안카지노

    com
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Returning CBitmap* pointer

    graphics debugging help question
    4
    0 Votes
    4 Posts
    0 Views
    L
    Well, that is quite different from the code in your original question.
  • Change printed background color, how?

    c++ graphics question
    3
    0 Votes
    3 Posts
    0 Views
    T
    I figured it out, Richard. You have to do a FillRect(...) on the pristine CRect rcl = pInfo->m_rectDraw (in OnPrint()). That should happen before the printer thread is started. Thanks.
  • stl set bug ?

    c++ help question
    2
    0 Votes
    2 Posts
    0 Views
    A
    hi, I have the same problem. how to solve this ?
  • 0 Votes
    6 Posts
    0 Views
    U
    Thanks guys for the help.
  • help creating a COM/ATL wrapper for a USB Scanner for VB6

    help tutorial c++ com
    2
    0 Votes
    2 Posts
    0 Views
    L
    Quite possibly yes, but it is impossible to be sure. You would need to collect some decent debug information in order to be certain why the crash occurs.
  • 0 Votes
    3 Posts
    0 Views
    D
    Matthaeus Jumpertz wrote: You should be able to copy/paste the code into a project, only issues being with the sound and text. :laugh: "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
  • Capture Screen whenever the display is updated

    csharp c++ tutorial
    2
    0 Votes
    2 Posts
    0 Views
    J
    Vijjuuu. wrote: (c++ or c# or any other technology) 0. those are not technologies, they are languages. 1.Capturing the screen is easy http://blogs.msdn.com/b/dsui_team/archive/2013/03/25/ways-to-capture-the-screen.aspx[^] http://stackoverflow.com/questions/5069104/fastest-method-of-screen-capturing[^] There are other ways, just google for "win32 api capture screen" 2. when screen is updated - this is pretty much close to impossible to find out - at least I don't know of a way to do it. The way you can do it is to simply have a timer, capture when the timer is triggered - and if you wish, compare with former screen (bitmap). 3. I'm not sure what you're trying to achieve, since there may be other ways to find out "when screen is updated" depending on your actual needs - perhaps you might be only interested in a specific window(s)? It would be a smart choice to minimize the area you're capturing, since that can indeed take a while and it's not really a good idea to to it too fast (not to mention - what if the user has a few monitors, and/or high resolution ones) 4. If you're just trying to learn programming, I suggest you take an easier task. Best, John -- LogWizard Meet the Log Viewer that makes monitoring log files a joy!