Hi daved:
This is what i do: (Couldnt copy/paste the original code but the structure is exactly the same
class CShared{
void doSomething() { }
};
class CFoo{
Type: Posts; User: DV64h
Hi daved:
This is what i do: (Couldnt copy/paste the original code but the structure is exactly the same
class CShared{
void doSomething() { }
};
class CFoo{
Hi, i ran into a really weird problem:
Take the following code:
class CExample{
static CMemoryBuffer<CPlayerDescription>* Allocator()
{
static...
Hi,
I'm creating a gamescanner using UDP to scan the games with the I/O completion port.
However, me not beeing a winsock expert, i get some problems with my application and i'm not sure if i do...
rycoons answer is the only clean solution to this. labeled breaks are just not something for c++. break just indicates to quit the loop, where java does much of the memory management for you, in c++...
Thanks, that was exactly the answer that i needed.
probably i explained it wrong, the app aint a server. it is a serverscanner, what it does, it retrieves serverlists of many games and keeps scanning them as fast as possible.so how does the scanning...
Hi,
I'm creating a application witch is totally based on winsock. anyway, the thing is that he must have like 200 transactions with remote servers at the same time, you can compare it with a...
there is one other way, you could create a smart pointer with a template param to your specific class and saving a pointer internally. that way you can overload for example the -> operator and let it...
yes but creating a totally new one? why not just derive from the existing STL class and add your own methods? or you could just build a wrapper class around the STL list class with some extra...
Hi, i just found out that windows xp isnt using the L2 cache memory. (its default on 0 @ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SecondLevelDataCache
...
Hi, again i'm standing with a bit of a weird situation.
I''ve a queue holding some data and sometimes after a few minuts i get the error. deque iterator not dereferencable and the queue size is 0...
pff sorry to say this for the admins but, i seem to find a lot of flaming, i can understand that you can get really irritating because of some beginners ( got some experiance myself like someone...
hence jafet, i've got to learn to. coming bit by bit but still. anyway, the input is the content of a UDP packet wich is widely secured. maybe 20 procent of the buffer will be constantly filled. and...
yes your right, got confused with the ESI
esp is instruction pointer right? it points to the next instruction to execute, and yes with the data i get acces violations
runtime errors, sometimes the esp just points to a random adress, or some data is totally corrupted and the other threads dont even share the same object.
and with the debugger, it dont just point...
well, lets just say that is the point. why in *** name does he skips to the catch blocks and totally ignores it. hence why is the jump to the catch block anyway? there aint a error or what. and...
thats the thing, i could use standard defined ones but that would be much slower, this is a strlen and strcpy in one and the whole application is based on speed.
Personally, i believe this is a...
Hi, i'm building a application and at a certain point, i get the weirdest runtime errors:
for example:
try{
bufptr += my_strcpy(target->ServerName, bufptr);
bufptr +=...
thanks, but llu just works fine :)
thanks for the links, i couldnt find any recourses about llu. and i knew about the stringstream. the problem is that my function is accesed by 40 threads at the same time all in a loop and they just...
Hi, i was looking for a function to convert a unsigned long long (64 bits) to a char string. i rather not use stringstreams for the speed and i was hoping there would be a already defined function in...
case 'a': blabla?
thanks, i can work my ways with that :)
Well, i know the title isnt what i mean but thats the problem. i know what i want, but i dont know how its called. else i could just do some googling....
anyway, what i want is a website to send a...