Hey,
I'm messing around with reading values from another already running process, for testing, I'm reading the mouse x and y coordinates of warcraft III. Now, using Cheat Engine, i found the...
Type: Posts; User: MindWorX
Hey,
I'm messing around with reading values from another already running process, for testing, I'm reading the mouse x and y coordinates of warcraft III. Now, using Cheat Engine, i found the...
Well, as i said, the use of this, is for an AI to loop infinitely, but without blocking off the application calling it. But now i use a while along with running the function in a separate thread, and...
Loops might be okay too. As long as it doesn't freeze the application calling it.
EDIT: I was thinking, even if it froze, i could just call it in another thread.
Hey,
I looked at the tutorial about recursion, and I saw that it had a limit, before closing the program. Around 130000 when I tested. Now, I was wondering how I would work around that limit? I...
Yea i see. :) So, making the linked list with the c++ tutorial should be better i guess.
Don't know, that's what i've always done. But seems to work now. How will this affect my project if the rest of it is named cpp, and this file is going to be a .h file in the end? Should all my files...
I seem to have run into a problem already
#include <stdlib.h>
int main()
{
int *ptr = malloc( sizeof(int) );
return 0;
}
Okay, well, i'll try and do it with a linked list, and the process as i suggested earlier. I think it's going to work, and i'll get to learn about linked lists in the process. :)
Okay, so C89 would be like the math.h and stdio.h ? Atleast, that's the ones i assume any compiler should have. Is there a list of the C89 standard?
I've been looking at linked lists for doing this. And i've been thinking of how to do it, something like this might work:
struct node {
int operation; //Would be set to a number representing...
Well, the purpose of this, is to add functionality to a scritping language i'm using, and also, to add some better execution speed to the language. Ofcourse simple additions wouldn't be faster, the...
Hey,
I'm looking at creating a set of math expression functions. Here's a quick example of what i want:
int i = 0;
mathexpr em = MathCreate(1); //Creates a unique handle, sets the initial...
An error that "Game Maker" can't load it... Do i need anything else, the only working dll i've ever made had a .def file with it...
Ah, thanks... I didn't even know about the "return (double)" part, i just returned the value without the double conversion. I have found out how to compile it as a dll, so that's not a problem. Hmm,...
Eh, i think i might not be clear, what i'm trying to do is make a dll that wraps another dlls calls, so that Game Maker can use them.
Like this:
I have a dll "K8055.dll" It uses longs both as...
A DLL Wrapper should be the solution, i got a friend to make one using Assembly, and it worked just as i needed, so i'm pretty sure this is what i need. The reason i wanna make my own, is because i...
Hey,
I'm new to this forum, and new to programming in c. I'm currently using Borland Commandline Compiler 5.5, i don't know if it's any good, but it's been able to do what i needed.
Now, to my...