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

Search:

Type: Posts; User: OReubens

Page 1 of 80 1 2 3 4

Search: Search took 0.19 seconds.

  1. Re: Hook SendMessage for background processes

    memory mapped files won't do you any good unless you create both programs or you inject code in the process that isn't yours.

    even in that case you still need to rebase any pointers because the...
  2. Replies
    4
    Views
    451

    Re: how use the printer?

    if you don't change anything, then the printer is set to MM_TEXT mapping mode, which means your coordinates are printer pixel coordinates since printers are typically considerably higher DPI than a...
  3. Replies
    13
    Views
    563

    Re: Does BeginPaint() erase the background?

    And I corrected you. Sayign it doesn't, and that's exactly how it's supposed to be.

    BeginPaint() does not EVER under any surcumstances erase or paint anything.

    BeginPaint causes an...
  4. Replies
    2
    Views
    286

    Re: WiFi Serial Module

    They work like oldschool modems.
    So any reference you find on modems will work for you.

    a modem (wifi device) is either in command mode in which case anything you send to the modem is...
  5. Thread: GPS Maps

    by OReubens
    Replies
    2
    Views
    798

    Re: GPS Maps

    Topology, trigonometry, coordinate transformations/projections, cartography. In various amounts depending on what you actually want to get at.
  6. Replies
    13
    Views
    563

    Re: Does BeginPaint() erase the background?

    like I said, neither WM_ERASEBKGND nor WM_PAINT actually do paint anything at all unless:

    * you're using the default handler for WM_ERASEBKGND (or calling DefWindowProc in that case), which...
  7. Re: overriding == operator in order to test equality of two pointers

    you have a map with AStarNodePair* as key, so it compares pointers, not object instances. You can't overload member comparison with a pointer, because there is never a AstarNodePair-pointer-class...
  8. Re: 64 bits application using Visual Basic 6 AciveX controls

    if all your changes are the same, apply it through the interface once, then copy/paste.

    if the changes are different on each template, then. I gues you're stuck with doing it via the interface.
  9. Re: Need opinion about proposal to set up a e-platform

    Without having an exact description of what each of those does...
    I would say those timeframes are extremely optimistic.
  10. Re: Hook SendMessage for background processes

    WM_SETTEXT (and many other windows messages) do NOT send data such as strings, structures, ... THey only send pointers to data.

    Pointers from one process have no meaning in another process. So...
  11. Re: Programs run on wired network slower than that of wireless

    the issue you describe is highly indicative of being a latency issue.

    ANd that in turn is a result of having your app designed as a sequence of blocking events.
    something like:
    start query, wait...
  12. Re: Web API: Disable default XML and JSON formatters for a specific type ?

    issue resolved.

    Instead of adding the new formatters tot the list of formatters in the config object, I am now inserting them at the front of the MediaTypeFormatterCollection.

    in...
  13. Replies
    13
    Views
    563

    Re: Does BeginPaint() erase the background?

    WM_PAINT does not, EVER erase the background on it's own.

    neither does WM_ERASEBKGND for that matter. it's the default implementation of WM_ERASEBKGND that does. if you override and return 0,...
  14. Re: [win32] - avoid flicker and do a correct redraw

    :thumb:

    and this is what I've been saying all along. use a SINGLE paint to screen.

    in the previous ones you still had
    -> paint everything black
    -> paint image on top of black

    put that in...
  15. Replies
    13
    Views
    563

    Re: Does BeginPaint() erase the background?

    not in a position to actually try this atm, but knowing petzold, he's probably spot on.


    1) WM_PAINT isn't usually "sent" or "posted" to a window, but is rather a flag in the message queue that...
  16. Re: 64 bits application using Visual Basic 6 AciveX controls

    if you know what you're doing...

    Open the .rc file as source, and edit it as text. other than that. Nope.
  17. Replies
    4
    Views
    260

    Re: Converting 32-bit into 64

    No, I'm saying you need to LOOK UP the actual prototype for this function and match it accordingly. I only made some suggestions where there are likely mismatches, but it's entirely possible that...
  18. [RESOLVED] Web API: Disable default XML and JSON formatters for a specific type ?

    I have a Web API 2 based webservice
    it has a lot of API's returning various types that all get returned via the normal xml and json formatters.
    ok so far.

    I have a couple api's that return a...
  19. Re: [win32] - avoid flicker and do a correct redraw

    yes, but that may or may not cause correct painting... painting the background may be a necessary process. Failure to erase the background can cause "old stuff" to remain on screen and not go away....
  20. Replies
    32
    Views
    1,285

    Re: stl map of vectors

    using break to exit a loop and return right away is a clean design approach. If the style guide objects to it, maybe you should ask your team WHY it's a bad thing.
    Dragging conditionals into your...
  21. Re: Problem while converting from 32-bit to 64-bit

    Also quite "easy": you cannot use a platform SDK that predates Win64 to produce Win64 code.

    Update to a newer platform SDK (might be tricky to find one that will work on an older compiler)....
  22. Re: Problem while converting from 32-bit to 64-bit

    difficult to be sure. assuming i is of type int... (could also be a 64bit int or a 16bit int, adjust the code to match the type of i)


    i = static_cast<int>(dValue+dValue+round_to_nearest) / 2;...
  23. Replies
    4
    Views
    260

    Re: Converting 32-bit into 64

    you need to use the right function prototype when in Win64.
    The one you use here appears to be tailored to Win32. In Win64 pointers are 64bit pointers, and values like DWORD and LONG are typically...
  24. Re: Free tool for testing legacy GUP app based on MFC

    just fyi, "automated testing" is not a tool that will start your app and figure out all on it's own how to use that app then tell you where your app is failing.
    even with automated testing, you...
  25. Replies
    14
    Views
    3,758

    Re: vectors of vectors of different types...

    that is what templates do... decide the actual types AT COMPILE TIME.

    You seem to want to decide the type at runtime. That would require a type that can store one of many types, akin to the COM...
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

This is a Codeguru.com survey!


HTML5 Development Center