CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Igor Vartanov

Page 1 of 80 1 2 3 4

Search: Search took 1.85 seconds; generated 25 minute(s) ago.

  1. Re: Noob question: Don't know how to build this.

    The clue is mingw and make. The first is the environment for the second. But this topic is totally out of Visual C++ Programming.
  2. Re: Noob question: Don't know how to build this.

    Ridiculous or not, this is the recommended and native way from OS vendor. All the alternatives originated from GNU world back in the days had an indisputable advantage: those were free while VS was...
  3. Re: Noob question: Don't know how to build this.

    First you say the code is yours and your IDE is Red Panda, which has a debugger of its own. Then you say the Panda is to be made working with MSVC PDB all of a sudden. I wonder, where MSVC comes from...
  4. Re: Noob question: Don't know how to build this.

    Forget about development for Windows or learning Windows development on such a constrained workstation. Whatever situation you're in, there's no point to torture yourself such a tricky way.
  5. Replies
    2
    Views
    636

    Re: MFC mouse click coordinates

    Did you take a look at Scribble in MS samples?
  6. Replies
    1
    Views
    596

    Re: Crash via COM method call

    You seem to have no idea what you're doing. So, first of all you have to show us more code how exactly you call the method on the client, especially how you initialize all the params.

    Second,...
  7. Replies
    5
    Views
    1,760

    Re: library function call

    The best option is to use instruments you're familiar with. If there's no any, there is no option but start experimenting with something.

    When it is about multi-threading, it's not a problem to...
  8. Replies
    5
    Views
    1,760

    Re: function call in background

    AfxBeginThread calls CWinThread::CreateThread internally, which one in its turn calls CRT _beginthreadex. So any of those could be used equally successful. As you may guess, std::thread does call the...
  9. Replies
    12
    Views
    9,481

    Re: control task handler

    https://learn.microsoft.com/en-us/windows/win32/controls/wm-vscroll


    Your dialog gets nothing because it has no relation to the scroll bar.
  10. Re: Creating a link lib when you've only the DLL available

    Well, to my knowledge it never was that simple. Calling conventions __cdecl and __stdcall had their own pattern each when it was about export name mangling for x86 architecture. The present x64...
  11. Replies
    5
    Views
    1,184

    Re: MFC and MySQL

    You need to make sure you're blaming the real culprit. Cramming hundreds of thousands of rows into a plain list control seems not much reasonable to me altogether. List control gets extremely slow...
  12. Replies
    5
    Views
    1,184

    Re: MFC and MySQL

    Your recordset does not include "Address" field. Try aliasing it:


    SqlString = L"SELECT n.firstname, n.lastname, n.middlename, a.address AS Address \
    FROM names as n, address...
  13. Replies
    6
    Views
    1,718

    Re: stop a thread

    A little sample to demonstrate the approach (see my previous message)
    36047
  14. Replies
    6
    Views
    1,718

    Re: stop a thread

    To be able to stop cleanly, your thread function (RunThread, I guess) must be designed to be interruptible, which means it must loop in predictably short cycles and do some checking on every cycle if...
  15. Replies
    6
    Views
    1,261

    Re: A nice surprise (re: name-mangling)

    Linking C++ code depends on presence of symbolic names. In its turn, the presence of the names that to be resolved depends on two factors. First, the scheme of name mangling, which is typically...
  16. Re: How to pass int return type function in ON_COMMAND of BEGIN_MESSAGE_MAP

    Yep, ON_COMMAND() macro expects the function to look like


    afx_msg void func();




    The the only way to satisfy the compiler is to give it what it wants. In other words, you either change...
  17. Replies
    20
    Views
    5,260

    Re: Read from excel file

    C:\Program Files\Common Files\System\ado

    06/13/2019 03:22 AM <DIR> .
    06/13/2019 03:22 AM <DIR> ..
    07/13/2009 11:50 PM 14,610 adojavas.inc
    07/13/2009 11:50...
  18. Replies
    13
    Views
    2,051

    Re: Re-vamped MSDN

    upper_bound
    lower_bound

    Putting msdn upper_bound to google search instantly brought this up.
  19. Replies
    2
    Views
    2,810

    Re: Padding between text and radio button

    Radio button is a standard control. Which API does not provide any means for tweaking the space between the dot and its label. Actually, this is what standard is really about.

    You want to freely...
  20. Re: [RESOLVED] CreateToolHelp32Snapshot and listing Services under Svchost.exe... How

    From MSDN:


    It doesn't matter how you allocate. It may be malloc()/calloc() or LocalAlloc() or new(), whatever you want. What does matter is deallocation. It must correspond to the way of...
  21. Re: [RESOLVED] CreateToolHelp32Snapshot and listing Services under Svchost.exe... How

    Task Manager reliance upon the undocumented API does not guarantee the API immutability. Task Manager is a system app that changes along with the Windows core, and MS is not obliged to keep it...
  22. Replies
    13
    Views
    4,222

    Re: Sending WM_KEYDOWN from OnKeyDown

    This message is never sent and must not be. The message is posted to the window by kernel as the result of processing user input. You want this message be received by window, you synthesize user...
  23. Re: How to add resource files to executable in VS2017

    There's no shortcut. You definitely have to get the knowledge enough to understand the concept prior to getting to "even more complicated stuff".

    As to embedding image to exe, try to review this...
  24. Re: Difference between Visual C++ and Non Visual C++?

    There is no such a thing like "general C++". There are programming language C++ and product Visual C++.

    As a language, C++ is versioned and thus complies to a number of standards reflecting...
  25. Replies
    10
    Views
    1,600

    Re: MSXML send issues

    0x800c0008-error-code
Results 1 to 25 of 1995
Page 1 of 80 1 2 3 4





Click Here to Expand Forum to Full Width

Featured