Search:

Type: Posts; User: Da-Nuka

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: Read memory

    by Da-Nuka
    Replies
    4
    Views
    1,065

    oh, sorry. I am using Windows XP, and i am using...

    oh, sorry.
    I am using Windows XP, and i am using the DevC++ compiler.
    I want to make a function like this:


    readMem() {
    byte memory[100000];
    int Start=0;
    int End=GetLastMemory();...
  2. Thread: Read memory

    by Da-Nuka
    Replies
    4
    Views
    1,065

    Read memory

    Hi.
    I am trying to make a cheat/anticheat program for old games.

    How can you read used memory/RAM? Is it a C++ libary for it? Or do I have to learn assembler, and some hardware?
    If so,...
  3. Replies
    6
    Views
    1,682

    Thanks, bithub, finaly someone who understands my...

    Thanks, bithub, finaly someone who understands my question and answerd just perfect :D

    ...what about MSN-file-sharing?
    Cant the speed of sharing files be speeded up a lot, by doing user1...
  4. Replies
    6
    Views
    1,682

    Programs requires portforwarding

    Hello.
    Some time ago, i made a chatprogram.
    It could both listen on a port for inncomming connections, or send a connection request.

    It worked fine on my LAN, but it did not work on the...
  5. Replies
    14
    Views
    4,757

    ... I manually deleted all makefiles, objectfiles...

    ... I manually deleted all makefiles, objectfiles and various project-builds, restarted my computer, and clicked "rebuild all", and it finaly worked :D!
  6. Replies
    14
    Views
    4,757

    still doesent work.. While THIS works: ...

    still doesent work..
    While THIS works:



    class SomeClass {
    public:
    ~SomeClass () {
    //and here I go, as long as i make EVERYTHING within the declaration
    }
  7. Replies
    14
    Views
    4,757

    No, im not including the .cpp file anywhere.....

    No, im not including the .cpp file anywhere..
    (but i include the .h file in hte .cpp file, but thats self-explanatory...)


    Could it be my compiler?
    (Dev C++ 4.9.9.2?)
  8. Replies
    14
    Views
    4,757

    Okay, i have now remade my example: ...

    Okay, i have now remade my example:

    SomeClass.h


    class SomeClass {
    public:
    ~SomeClass ();
    };
  9. Replies
    14
    Views
    4,757

    Destructors and Constructors on classes

    Hi.
    I have a C++ book right in front of me here, and it suggest making a destructor like this:



    class SomeClass {
    public:
    ~SomeClass (); // Destructor definition
    };
  10. Replies
    2
    Views
    2,088

    Going to fullscreen with DEVMODE

    Hi.
    Im using the following functions, with a DEVMODE struct to go to fullscreen:

    -ChangeDisplaySettings()
    and
    -AdjustWindowRectEx()



    It works, but when it goes to fullscreen, the programs...
  11. Replies
    9
    Views
    2,504

    I have read Petzolds book..its really great! A...

    I have read Petzolds book..its really great! A god damn bible, thogh...

    To learn real programming i reccomend doing the following:

    -Read a C++ book covering all the basic stuff.... (You will...
  12. HAHA! Oh my god... thanks man! I cant belive i...

    HAHA! Oh my god... thanks man!
    I cant belive i just did that noobish mistake :D
    Easy to forget, i guess :D
  13. Passing pointers to structs as function arguments

    ...Why doesnt this work?
    (OPENFILENAME is a common struct in Win32API)



    void FillInnOpenFileNameStruct(OPENFILENAME* lpofn) {
    *lpofn.lStructSize=sizeof (OPENFILENAME);
    ...
  14. Thread: Game updating

    by Da-Nuka
    Replies
    10
    Views
    1,615

    Yes, I know this is a common way of doing it....

    Yes, I know this is a common way of doing it.
    BUT:
    Lets say, the above function moves the soldiers 1 square on the battlescreen. Then (on mulitplayer), the computer with the quickest computer would...
  15. Thread: Game updating

    by Da-Nuka
    Replies
    10
    Views
    1,615

    Game updating

    Hi, I am planning to make a old strategy game, in the red alert style. I am planing to use C++, pure Win32API and OpenGL(though maybe even allegro or SDL would be enough, i wont learn those when...
  16. Replies
    13
    Views
    4,285

    I had the same problem. (Atleast my code was...

    I had the same problem. (Atleast my code was okay, and it worked in a LAN).
    If you have the chance, try your program in a LAN, without firewalls and other protective programs.

    Over internett,...
  17. I think I have several options, and I dont have a...

    I think I have several options, and I dont have a clue how to do any of them. (I have tried the MSDN).

    1. To register the screensaver in registry, so that it can run without working inside the...
  18. Making screensavers work outside the windows folder

    Hi.
    I wanna know how to make my screensavers work outside the windows-folder. (Because, my screensaver are reading info from .tga files, and it seems that my screensaver.scr cant read them while...
  19. Replies
    9
    Views
    2,803

    Thats right, I can add whatever filesize and...

    Thats right, I can add whatever filesize and format i want into the resource. What I want to know is how to actually USE TARGA, when it is a resource.
  20. Replies
    9
    Views
    2,803

    Because I have bought and read Programming...

    Because I have bought and read Programming Windows Fifth Edition, by Charles Petzold, "The difinitive guide to the Win32 API".

    You can for example do this to include a TARGA file in your resource...
  21. Replies
    9
    Views
    2,803

    Sure.. The resource-script which is compiled...

    Sure..
    The resource-script which is compiled together with the program!
    Like the place where dialogboxes, icons, and stringtables are placed!

    I KNOW it is possible to add a TARGA file into the...
  22. Replies
    9
    Views
    2,803

    Loading TARGA with OpenGL

    Hello.
    I allready have a premade function to load TARGA files for me, from files on the disk.

    The function works with the TARGA using the following:
    FILE file=Open(thefilename);

    I want to...
  23. Replies
    3
    Views
    36,490

    or.. will casting be enough? Or do I need to...

    or.. will casting be enough?
    Or do I need to call something like a convert-function? :confused:
  24. Replies
    3
    Views
    36,490

    cast from time_t to int

    How do I cast a time_t value to int, correctly? :confused:
  25. Replies
    7
    Views
    2,531

    ...but why use roundabouts like glu when i can...

    ...but why use roundabouts like glu when i can use pure API? :D
Results 1 to 25 of 104
Page 1 of 5 1 2 3 4