Search:

Type: Posts; User: SgtMuffles

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    8
    Views
    1,328

    Ok, that's like something I was looking for,...

    Ok, that's like something I was looking for, thanks. What did you use when you were doing uncompressed stuff? Does anybody know any other libraries like that?
  2. Replies
    8
    Views
    1,328

    I not too concerned with the specifics. It...

    I not too concerned with the specifics. It wouldn't need to be run realtime, I'd just run the simulation, maybe prompt to save it, then re-do everything there. I'd be fine with 800 x 600, 16-bit...
  3. Replies
    8
    Views
    1,328

    Video Files?

    Hi, I've been working on a program that will have lots of visual output but minimal user input (simulation of sorts) and I figured that a great thing to have would be the option to output everything...
  4. Replies
    21
    Views
    6,503

    Ack, not back to the Mac-bashing...

    Ack, not back to the Mac-bashing counter-bashing/whatever you want to call it!

    Ok, so I looked at the CreateFile option and that looks like it could prove helpful. It says that physical drives can...
  5. Replies
    21
    Views
    6,503

    Yeah, I'd be more looking to go down the OS road...

    Yeah, I'd be more looking to go down the OS road for reasons like those mentioned by Salem. So if people could just give me names of functions/libraries/anything to look up, it would be appreciated....
  6. Replies
    21
    Views
    6,503

    Heh, I definitely know that, but I wasn't...

    Heh, I definitely know that, but I wasn't expecting a solution for CP/M or something. Besides, this forum only has sections for Windows and Linux.
  7. Replies
    21
    Views
    6,503

    Well ideally I'd like to know both, so I'll take...

    Well ideally I'd like to know both, so I'll take information about whatever you know best.

    Thanks again,

    Mike
  8. Replies
    21
    Views
    6,503

    Low-Level hard drive access

    Hi, I was wondering how low-level functions of the hard drive can be accessed. I'd like to be able to retrieve the MBR (or any other sector for that matter) if anybody knows how to do that. I realize...
  9. free() doing weird things with file i/o

    So I was trying to practice C as opposed to C++ which I'm more or less used to (at least when it comes to doing hw assignments), and I wrote the following code:



    #include <stdio.h>
    #include...
  10. Replies
    6
    Views
    880

    Awesome, thanks a bunch!

    Awesome, thanks a bunch!
  11. Replies
    6
    Views
    880

    Why yes it is. How about the sz?

    Why yes it is. How about the sz?
  12. Replies
    6
    Views
    880

    Naming Scheme...

    The default template for a windows program that Dev-C++ gives me has the window class name by default be "szClassName". The winprog.net one uses "g_szClassName" for one and "g_hbmBall" as a name for...
  13. Replies
    2
    Views
    883

    Thanks, that helped a bunch!

    Thanks, that helped a bunch!
  14. Replies
    2
    Views
    883

    Window Border Size

    Hi, I put a bitmap in a window that I thought it would fit in, but part of the right side of the bitmap is missing. I set the width to be 400 pixels, and the drawing area is obviously smaller than...
  15. Replies
    3
    Views
    5,854

    Ok, so I changed a line in the non-functioning...

    Ok, so I changed a line in the non-functioning section to


    HBITMAP graph = CreateCompatibleBitmap(hDC, 400, 300);

    and it seems to work fine. I guess it makes sense that I should be making it...
  16. Replies
    3
    Views
    5,854

    BitBlt turns entire image black?

    Ok, I have the following code in my window processes function (where you would expect it in the switch-case block):


    case WM_PAINT:
    {
    PAINTSTRUCT Ps;
    HDC hDC =...
  17. Replies
    3
    Views
    821

    Thanks for the reply, bithub. Now, how exactly...

    Thanks for the reply, bithub. Now, how exactly would I gain access to similar low-level driver functions? In a perfect world I'd be able to treat the entire screen as a bitmap and have control over...
  18. Replies
    3
    Views
    821

    What does DirectX use?

    Hi, I'm considering futzing with graphics programming and the like, and I know that the main graphics libraries/tools/whatever are DirectX and openGL. Now, I have a question: Since these basically...
  19. Awesome, things seem to be working fine now....

    Awesome, things seem to be working fine now. Thanks a bunch.
  20. Program Crashing, overuse of CreateBitmap() ?

    Hi, I have a program that's really simple, it just creates a window and fills the screen with the color red. It does this by having a global HBITMAP that is defined in a function that uses...
  21. Replies
    9
    Views
    2,146

    Oh, also, is there a way to modify a bitmap...

    Oh, also, is there a way to modify a bitmap without creating a DC for it? I've read in tutorials that this is the only way, but you just said that you only really need it when WM_PAINT is sent
  22. Replies
    9
    Views
    2,146

    Cool, thanks guys. One more question: I tried to...

    Cool, thanks guys. One more question: I tried to set the brush color of one of my DCs using SetDCBrushColor() and for whatever reason I got a compiler error saying that it was undeclared. This struck...
  23. Replies
    9
    Views
    2,146

    Aw, I think I gotcha. Should I store everything...

    Aw, I think I gotcha. Should I store everything in a separate bitmap and only use a DC when I'm actually drawing it to the window? I've heard bad things happen when you have too many DC's open.
  24. Replies
    9
    Views
    2,146

    So why does moving it and resizing it make the DC...

    So why does moving it and resizing it make the DC out of its scope? How exactly is the appearance of the window stored?
  25. Replies
    9
    Views
    2,146

    SetPixel(), then moving window

    I have a really basic program that's only job is to fill a window with pixels of random color in random places. I do this with SetPixel() placed inside my windows procedure (just to make sure this...
Results 1 to 25 of 31
Page 1 of 2 1 2