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

  1. Re: Little/Big Endian test code in machine and file

    a database typically takes care of endianness at the driver level.
    but it may be difficult to transfer a full database between systems regularly (that's not what databases typically do)
  2. Re: Little/Big Endian test code in machine and file

    As 2Kaud says, storing everything as strings (or use something like xml) is an easy method for avoiding the issue entirely.

    If you are writing doubles.
    then...
    1) you may need to deal with...
  3. Re: Little/Big Endian test code in machine and file

    you'll have to get over the MSBuilder issues some time I guess.
    but yes, projects with lots of custom build settings and custom build types are a big PITA to convert over.


    no amount of CPU...
  4. Re: Just wondering what the equivalence of this method is for C++?

    maybe, up to the OP to decide whether returning the NAN is a good idea.
    it seemed more logical to return 0.0


    Depends on your compiler I guess...
    This was asked in the VC forum, and not all VC...
  5. Replies
    5
    Views
    222

    Re: bitshifting / buffer overrun

    I don't think there's necessarily an objection against either. (if it's not the following issue)

    But it might be an issue dealing with endian-ness of the data. If the data is in an endian other...
  6. Re: Little/Big Endian test code in machine and file

    actually, if it's VC6 then nomatter what you do, it'll ALWAYS be little-endian.

    VC6 only produces code for intel x86/win32 and x86 is Always little endian

    a runtime endian test is somewhat...
  7. Replies
    3
    Views
    159

    Re: make container of exe's using tabs

    you'll need a LOT more than just hooking messages.

    you'll also need to either virtualize/hook the DC used to paint in the other app. (or rewire it all using RDP/terminal services tech)
    you'll...
  8. Replies
    5
    Views
    222

    Re: bitshifting / buffer overrun

    wait, what ?

    those two snips of code aren't even anywhere remotely equivalent.

    what type is pBuf ? what are you trying to do ?

    casting doesn't change addresses, except when it involves...
  9. Re: Using upper_bound() and lower_bound() (from the 'algorithm' header)

    the container is supposed to be sorted for upper_bound and lower_bound to work because the underlying code uses a binary search. debug variants of these algorithms may assert if the container isn't...
  10. Re: Just wondering what the equivalence of this method is for C++?

    you'll need to rewrite some of this, since if it's a NAN, the first comparison will already fail

    probably something like


    #include <float.h>

    double signum(double f)
    {
    if (_isnan(f) ||...
  11. Replies
    6
    Views
    266

    Re: Problem with AllocConsole + GDI

    1) console windows don't do graphics.
    if you "paint" on the desktop/system DC, then whatever you paint there will be removed when something else paints over it.

    2) even in a windows app, you...
  12. Re: c++ injection does not work on windows 8.1

    While messagebox is not usually safe from a DllMain, you are injecting this dll 'late' into the exe and by that time the system dll's that need messagebox are probbaly already loaded so that's...
  13. Thread: 3d vector

    by OReubens
    Replies
    4
    Views
    213

    Re: 3d vector

    as to crashing.
    that vector would need 1500 + 1500*2000 allocations of 20 doubles. that's 480Mb allocated memory and 12Mb in allocated internal pointers.

    While 500Mb should be doable. If you...
  14. Thread: 3d vector

    by OReubens
    Replies
    4
    Views
    213

    Re: 3d vector

    regardless of the crash, this approach to nested containers is quite inefficient.
    for a non-critical part of your code it may be adequate, but I'm going to assume that this is quite central to your...
  15. Thread: Integer Range

    by OReubens
    Replies
    16
    Views
    540

    Re: Integer Range

    YOU are doing something wrong, or YOU are interpreting results the wrong way.
    if your system really was that fishy, it wouldn't even be able to boot into windows.

    So as has been asked several...
  16. Re: How to make a std::map return null when there is nothing "at" a certain position?

    Well maybe you would.
    Consider a bunch of code where you have a LOT of lookups into a map and a failure of any can be handled in a single catch.
    In that case, a try/catch would be preferable to...
  17. Replies
    8
    Views
    353

    Re: chkstk.asm Error

    Increasing the stack will shift the problem, it won't actually solve it unless you have a know absolute bound on stack usage.
    But even if you do know or have a bound, there are reasons to avoid...
  18. Replies
    19
    Views
    871

    Re: Dear Expert Help me out

    It's still the same
    You're essentially asking us to find a needle in a haystack
    and you don't even know where in the world the particular haystack is that contains the needle.

    As I said in #5,...
  19. Re: Adobe flash player and DirectShow filters in IE

    also are you talking about the Win32/Win64 version of IE ?
    or the "Metro" version of IE ?

    The metro version doesn't use (or support) DirectShow, but uses Microsoft Media Foundation to play video.
  20. Re: Adobe flash player and DirectShow filters in IE

    maybe because it's not using flash but is using the video playback features of HTML5 ?
  21. Replies
    6
    Views
    415

    Re: Write Raw data to hdd

    to unmount D, open a command prompt as administrator

    MountVol D: /p
  22. Replies
    6
    Views
    415

    Re: Write Raw data to hdd

    Can't do this while the disk is mounted. Direct low level write access to disks requires them to be unmounted.
    This may or may not work on special volumes like raid stacks.
    For "moving" data around...
  23. Replies
    3
    Views
    249

    Re: Cool Help with cheaters

    nope, you can't undo cheats other players have installed locally.
    At best you could "try" to detect they are using a cheat, but without support for this on the server, this won't be feasible.
    ...
  24. Re: Code runs 2x faster on windows than on linux

    1) 64bit code by nature will be somewhat slower than 32bit because it has more instruction prefixes which means the CPU pipelines stall.
    2) 64bit code tends to be bigger because of that, so more...
  25. Replies
    6
    Views
    331

    Re: Compiling on an x86 CPU

    The itanium is a RISC based 64-bit processor jointly developed by then DEC (now HP) and Intel.
    It is NOT x86, though it did have a means to efficiently run x86 code in a VM hosted in the OS.
    ...
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 survey question.


Featured


HTML5 Development Center