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
  • Embedding Python in C++

    c++ python com design linux
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Visual studio

    csharp visual-studio
    3
    0 Votes
    3 Posts
    0 Views
    D
    Member 13159496 wrote: ...scientific computer on visual studio... What in the world is that? "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
  • Type struct question

    question regex performance discussion
    12
    0 Votes
    12 Posts
    0 Views
    S
    Sure, should has a struct variable name.it's a typo.
  • 0 Votes
    5 Posts
    6 Views
    S
    Thanks, but this is not serving my purpose! Thanks anyways
  • Help

    help
    6
    0 Votes
    6 Posts
    0 Views
    L
    Looks like a CRC calculation on the data block. Look at code you haven't shown us and see what becomes of m & w. You actually haven't given us enough surrounding code to be able to conclusively work it out. In vino veritas
  • Using menu key

    question
    6
    0 Votes
    6 Posts
    0 Views
    _
    Perfect ! I have just tested, and is working !! :) Thank you !
  • Find the Eigenvalues and Eigenvectors using C Language

    help
    4
    0 Votes
    4 Posts
    0 Views
    V
    this article: [Eigenvalue algorithm - Wikipedia](https://en.wikipedia.org/wiki/Eigenvalue\_algorithm) will be a good start!
  • IP address control

    tutorial
    3
    0 Votes
    3 Posts
    0 Views
    U
    after calling the Clearaddress() also its not displaying the 0.0.0.0 CWnd* pwndCtrl = GetFocus(); ((CIPAddressCtrl*)pwndCtrl)->ClearAddress(); could you please suggest
  • CFileDialog fileDlg debug assertion error

    c++ help debugging announcement
    3
    0 Votes
    3 Posts
    5 Views
    L
    Hi, Are you running this code on a Microsoft operating system older than Vista? If so... this is most likely happening because the once you hit the OK button... the window closes. The older MFC versions use the SendMessage function[^] and send a CDM_GETSPEC message[^] to the CFileDialog window and get the file name and the CDM_GETFILEPATH message[^] to get the path. You can potentially avoid this by setting the CFileDialog::m_ofn.lpstrFile[^] member to a local buffer. Best Wishes, -David Delaune
  • 0 Votes
    3 Posts
    0 Views
    U
    Thanks so much, I will work on that...
  • 0 Votes
    12 Posts
    2 Views
    L
    Chris Losinger wrote: if you try to delete/free memory in one place that was allocated in the other. You should be punished severely. In fact you probably will be when your application starts misbehaving.
  • Setting compiler name in win32.mak

    c++ help
    3
    0 Votes
    3 Posts
    0 Views
    F
    Richard I was looking at benchmarks and it seems for native x86 calls ( non windows services ) the intel compiler produces better code I think the intel compiler on a windows machine though is icl.exe for win32.make I guess as you said it has to be in the path
  • how to configure bio metric sensor to creating private pool?

    question iot tutorial
    17
    0 Votes
    17 Posts
    2 Views
    P
    Yes Now I Understood sir, The problem is in configuration and starting the WbioSrvc Thanks For the Help!
  • Cleaning non-modal dialog

    performance help tutorial question
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • 3D room source code

    graphics game-dev
    4
    0 Votes
    4 Posts
    0 Views
    R
    Look in the articles at this site, particularly in OpenGL section. I think there are a few that are about exactly what you are asking for.
  • CDateTimeCtrl in Windows 10

    help question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • CDateTimeCtrl in Windows 10

    help question announcement
    1
    0 Votes
    1 Posts
    0 Views
    No one has replied
  • Help

    help tutorial
    9
    0 Votes
    9 Posts
    0 Views
    L
    Have you tried brute forcing that cipher it's interesting, I just tried a small block :-) In vino veritas
  • Generic algorithm question

    question algorithms help
    2
    0 Votes
    2 Posts
    0 Views
    D
    Ashish Ranjan Mishra wrote: I have to distribute sweets among 3 persons let A,B, C with no 5,3,2 respectively so total 10 sweets... :confused: "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
  • calling vb ocx in 64 bit envirnoment

    2
    0 Votes
    2 Posts
    0 Views
    Richard Andrew x64R
    That depends on if the OCX is a 64-bit executable. It's most likely not. The difficult we do right away... ...the impossible takes slightly longer.