Type: Posts; User: OReubens
Search took 0.10 seconds.
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)
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.
1) you may need to deal with...
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...
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...
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...
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...
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)
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...
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...
you'll need to rewrite some of this, since if it's a NAN, the first comparison will already fail
probably something like
double signum(double f)
if (_isnan(f) ||...
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...
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...
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...
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...
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...
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...
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...
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,...
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.
maybe because it's not using flash but is using the video playback features of HTML5 ?
to unmount D, open a command prompt as administrator
MountVol D: /p
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...
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.
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...
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.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.