Search:

Type: Posts; User: vulcan_146

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. No, you see it WON'T be erroneous because I'm...

    No, you see it WON'T be erroneous because I'm using the debugger to find the memory address from the completed code.

    The function pointer code will be contained within a DLL that will be loaded...
  2. Oh sorry, I wasn't clear enough. I know how to...

    Oh sorry, I wasn't clear enough.
    I know how to do it like that. I'm saying if I only know the hexadecimal memory address of a function how can I get it to work.
  3. I have the Memory Address of a function, how do I call it?

    Say I have the Memory Address of a function, and I know the return type and the paramter types, how can I call it?

    I tried something like this:


    typedef void(*TESTFUNCTION)(void);

    ...
    ...
  4. HELP - Thread can't use any paint functions

    I am making a thread for my Ray-Casting engine that paints one column of the screen. However for some reason, the thread cannot execute any paint commands.

    [CODE]

    long WINAPI Thread(long...
  5. Nevermind, problem fixed.

    Nevermind, problem fixed.
  6. Note: for (int i = 0; i

    Note:
    for (int i = 0; i <= 19; i++)

    should be i <= 99
  7. Help! My Ray-Casting Engine keeps freezing!

    #include <windows.h>
    #include <math.h>
    #include <fstream.h>

    #pragma resource "icon.res"

    #define ID_TEXTURE 1000
    #define ID_ICON 100
    #define PI 3.14159265358979323846
  8. Replies
    13
    Views
    2,250

    Weird, I use BCB5.5 and only have to put in...

    Weird, I use BCB5.5 and only have to put in #include <iostream.h>.
  9. Replies
    7
    Views
    3,215

    I think he means that he wants to know how to...

    I think he means that he wants to know how to calculate the boundaries of an isometric box because they are boxes at angles.
  10. Ah.... I figured out why I couldn't get it to...

    Ah.... I figured out why I couldn't get it to work in Win API: WM_MOUSEMOVE returns the mouse coordinates relative to the Window while SetCursorPos sets coordinates in screen coordinates.
  11. HELP! Need mouse to act like it does in FP Shooters!

    I'm trying to make a FPS. When you move the mouse, you look in a different direction. (Like Counterstrike, or Quake) Problem is, when the cursor moves off the window, I can no longer get any...
  12. Replies
    6
    Views
    10,692

    >Is it a generated header file? Yes, you can...

    >Is it a generated header file?

    Yes, you can search your computer for it. Or, you could make your own.
  13. I made the pens Global because if I put them into...

    I made the pens Global because if I put them into the WM_PAINT message I keep getting "case bypasses declaration of local variable"
  14. Another SideEffect: Black Pop up menus for ALL...

    Another SideEffect: Black Pop up menus for ALL Apps after this glitch has happened.
  15. #include HDC MapDC; HWND hWnd;...

    #include <windows.h>

    HDC MapDC;

    HWND hWnd;
    const char ClsName[] = "Grid Test";
    const char WindowCaption[] = "Grid Test";
    LRESULT CALLBACK WndProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM...
  16. Help! If I move a window around alot, it starts to glitch graphically!

    If I were to say drag a window around alot, it will start to glitch. If this window has moved to the background once or more, it much easier to do this.

    For some reason, I can't use PrintScreen...
  17. Replies
    3
    Views
    1,713

    http://www.winprog.org/tutorial/bcpp.html AHA!...

    http://www.winprog.org/tutorial/bcpp.html

    AHA! Crazy Borland, not having bcr32 automatically linking the files. But I got it now.
  18. Replies
    3
    Views
    1,713

    Yes I am. I will compile the program and then run...

    Yes I am. I will compile the program and then run brc32. (It's suppose to make the .RES, which it does, and link it) Since it doesn't link it, I runk ilink32 seperately and then get that error.
    ...
  19. Replies
    3
    Views
    1,713

    Help, resource won't link!

    I'm trying to link a .res file with my .exe. I am using the freeware command-line compiler from Borland. However, anytime I try to link them I get: EXE contains invalid OMF record type 0x4D. What's...
  20. Replies
    2
    Views
    1,093

    Thanks! Worked Great!:D

    Thanks! Worked Great!:D
  21. Replies
    2
    Views
    1,093

    HELP! Window can't RePaint fast enough.

    I decided to make a simple Ray-Casting Engine. Right now all you can do is press the LEFT Arrow Key to turn left, however, the window can't seem to refresh fast enough and there is thus terrible...
  22. Replies
    14
    Views
    2,281

    MessageBox(NULL, "Hit OK, type the passkeys\nand...

    MessageBox(NULL, "Hit OK, type the passkeys\nand hit ENTER.", "Run", MB_OK);

    That's Windows API right? If you want to make a Windows Program you have to change function main to function WinMain,...
  23. Replies
    8
    Views
    1,117

    for (x=0;x=length;x++) The equal sign is an...

    for (x=0;x=length;x++)

    The equal sign is an assignmwnt operator; it is used to set a variable or array to a value.

    You want the double equal sign, which tests if the two are equal.

    for (x=0;...
  24. Replies
    6
    Views
    3,526

    I FINALLY GOT IT! The command line was -tW. It...

    I FINALLY GOT IT!
    The command line was -tW. It was just very hard to find that!
  25. Replies
    6
    Views
    3,526

    View Post

Results 1 to 25 of 28
Page 1 of 2 1 2