if i call GetPerformanceInfo
directly out from the psapi.dll it returns
error 24, The Programm puts out an Command but the Command length is wrong!
whats wrong?
#### Just for...
Type: Posts; User: punkywow
if i call GetPerformanceInfo
directly out from the psapi.dll it returns
error 24, The Programm puts out an Command but the Command length is wrong!
whats wrong?
#### Just for...
nice thnx
to dedect primes very fast code it can find all primes of 1000000 in about 5mins or lower with just one cpu core, may it can help u ...
int c=0;
int zr=30; // this is the range for the ...
thnx a lot for this nice class
can there be a problem if i try to copy data from a mapped buffer:
IMAGE_DOS_HEADER idh;
memcpy(&idh,(PVOID)(VirutalAddress+a),sizeof(idh));
i just know if it filles DWORD's the bits are in the...
aynone knows why it does not display the texture on the sphere?
GLunit TextureArray[6];
glGenTextures(1, &TextureArray[1]);
glBindTexture(GL_TEXTURE_2D, TextureArray[1]);...
anyone knows a technique to make light rays visible?? or information about it?
is this normal that open gl get low FPS if i render 400 objects at the same time?
just little spheres with radian 5, blending is on
i use a DualCore AMD X 2 4800 1GB Ram and 256MB Ram DDR2...
bool a;
if (a==true){
}else{
}
for(int x=0;x<5;x++){
OPCODE
Optimized Collision Detection
OPCODE is a new small collision detection library. It is similar to popular packages such as SOLID or RAPID, but more memory-friendly, and often faster.
...
u need to use phytagoras and find the cutting point of the circle around the 2 radian of your object.
i can't find my documents yet for collusion detection to give more detaild informations, i...
if u add
if(c>2){ //if c is bigger than 2 we dont need to look at rest of the number it cant be a prime
break;
}
it makes an performance boost, its good if u calculate primes from high...
@sipher, maybe this can help u
OpenGl - Tutorial 27 : Object Selection
why u dont convert the int to char a do a pointer on the char than read it out byte for byte?
if u wanna know more about random number generation read this:
Mersenne Twister Random Number Generator
int c=0;
int zr=30; // this is the range for the primenumber search
for(int i=zr;i>0;i--)
{
c=0; // reset counter for the new number
for(int z=1;z<=zr;z++){
if(i%z==0){ // lets look...
how to caluculate the startaddress of the struct?
ist it the BaseAdress of the proccess + the pointer address to the struct?
and if yes, are the values of the struct something like this?
...
if there is nothing more to calculate or more code to process in your binary how should your cpu use more register to do this job?
yeah its true the function can't be found,i didn't managed this function with getlasterror before , it terminates with error 127 cant find function .
even its a struct and no function ?
anyway...
it does not depend on the memset it also crashs if i only do
CreatedWindows->LastIndex
the thing is if i declare the struct in dll and exe without export
it cant be used in the exe , surely...
is it possible to export a structure from the dll?
for example, in the DLL:
extern "C"
{
typedef struct __declspec(dllexport) __stdcall CreatedWindows {
HWND windowhandle[50];
BOOL...
button = CreateWindowEx(0,
"button",
"MessageBox",
WS_VISIBLE | WS_CHILD | BS_PUSHBUTTON,
you define here the classsname...
you dont define a window class at the 2nd and third window except u define for each button a new class!
void LVaddItem(PUCHAR pszText,HWND ListView,BOOL subitem){
LV_ITEM lvI;
// Initialize LVITEM members that are common to all items.
lvI.mask = LVIF_TEXT|LVIF_PARAM | LVIF_IMAGE |...
hello all,
is there another way to insert ListView Subitems exept over the WndProc
btw i list some code of mine:
///////////////////////
///// ListView Insertitem