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 0.52 seconds.

  1. Replies
    6
    Views
    803

    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...
  2. 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...
  3. Replies
    20
    Views
    3,043

    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...
  4. Replies
    13
    Views
    1,113

    Re: Re-vamped MSDN

    upper_bound
    lower_bound

    Putting msdn upper_bound to google search instantly brought this up.
  5. 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...
  6. 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...
  7. 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...
  8. Replies
    13
    Views
    1,389

    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...
  9. 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...
  10. 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...
  11. Replies
    10
    Views
    1,018

    Re: MSXML send issues

    0x800c0008-error-code
  12. Re: Dcom Interface No such interface supported after migration to X64

    It looks like you do COM registration in a different environment. You need to understand the effect of WOW64 and bitness of your binary modules.

    32-bit modules run in separate Windows subsystem...
  13. Replies
    15
    Views
    4,247

    Re: can i convert HBITMAP to istream?

    Vinay, please note that your issue has nothing to do with saving bitmap to IStream. No good typically comes from trying to hijack an already existing thread, neither for you nor for other people who...
  14. Re: Dynamic Library: Do you need to export variables of a class?

    You just go right to MSDN DLLs in Visual C++ and start right there, I would say. The first answer you are to look up for is not how, but why you need to put a code to DLL. In case you have no real...
  15. Re: Dynamic Library: Do you need to export variables of a class?

    The more fancy contemporary C++ becomes, the worse effects it causes to dynamic linkage. The old-school C++ from 90s was bearable with certain limitations, not many. Templates have caused a serious...
  16. Replies
    20
    Views
    5,898

    Re: Using web services from MFC

    I have a strong suspicion that you have no idea what web service is. Web services have nothing to do with browsers. As to browsers, those are capable of rendering "images, jpg, bmp, etc." with no...
  17. Re: What should one learn in C++ to develop programs like yahoo messenger ?

    Anything can be done if you are skilled enough in C++ and know enough about "web programming" whatever you think it is. It's just a matter of time, money and desire to get job done the way you want...
  18. Re: how to start a MFC.exe using a windows service Application?

    You definitely have an error somewhere in your code. :)

    Now getting serious. What is your plan here? You show us no code, neither MFC nor service app. So how do you expect us to help? By...
  19. Re: Changing the color of elements - Win API

    Bitmap-based brush might help. Please note that you are to draw the bitmap with the entire control border, including all the style effects, e.g. bevels, round corners, etc.

    Per my experience,...
  20. Re: Changing the color of elements - Win API

    You might use a "control" approach instead and place an empty border-less custom-colored static control on the main window for achieving exactly the same result. A zero-cost benefit would be no need...
  21. Replies
    1
    Views
    999

    Re: Keyboard input and TranslateMessage

    Hardly you can find information here more than MSDN provides. Definitely keyboard driver, localization tables and Windows core are involved in keypress translation, but this sort of information looks...
  22. Replies
    8
    Views
    1,793

    Re: Important question

    I just gave you a hint how you could avoid using if-else construct. Whether or how you will use the hint, it's totally up to you.

    All that your if-else cases do is finding right index in...
  23. Replies
    8
    Views
    1,793

    Re: Important question

    What I gather from your code is that syndrome bits make the index in decodedBits minus 1.


    0 0 1 = 1, 1 -1 = 0
    0 1 0 = 2, 2 -1 = 1
    0 1 1 = 3, 3 -1 = 2
    etc.
  24. Replies
    5
    Views
    1,217

    Re: on events

    The main difference is between PeekMessage(PM_NOREMOVE) and GetMessage(). PeekMessage() just peeks into message queue and lets you quit when the queue is empty. GetMessage() does not return until a...
  25. Replies
    13
    Views
    1,881

    Re: Using PsSetCreateProcessNotifyRoutineEx

    No you don't. User space app has no control on foreign process creation. You get to kernel level to have one. This is what all anti-virus software does with no exception. This is a very basic Windows...
Results 1 to 25 of 2000
Page 1 of 80 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)