Search:

Type: Posts; User: g1i7ch

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    2,592

    ALLRIGHT! As I thought about my reply to Salems...

    ALLRIGHT! As I thought about my reply to Salems post I looked at my cleanup I left out one important thing...

    DeleteDC(hdDC );



    I knew it.
    Thank you all for the help :) All is well now.
  2. Replies
    12
    Views
    2,592

    Ok, here are the details. Each time I call...

    Ok, here are the details.

    Each time I call grab_screen I lose 5M of memory which just happens to be about the amount needed to store the bitmap image of my screen...but its not being freed. Make...
  3. Replies
    12
    Views
    2,592

    Yes, this must be the trouble...is there a better...

    Yes, this must be the trouble...is there a better way to shrink the image, this is ugly code.
    many thanks dwks
  4. Replies
    12
    Views
    2,592

    Tried both suggestions and still no luck....

    Tried both suggestions and still no luck.
    Debugger gives only one hint:(The thread has exited with code 10 (0xA).)
    but I couldnt find any helpful info on it...I am sure this function is where the...
  5. Thread: New student

    by g1i7ch
    Replies
    9
    Views
    1,666

    What are you trying to do?

    What are you trying to do?
  6. Replies
    12
    Views
    2,592

    Yes, odd it is, I was trying to be brief and...

    Yes, odd it is, I was trying to be brief and convey my point...didnt think Iwould be haggled for my frivolous use of the word : ) . To be exact the function stops operating correctly.

    Thanks for...
  7. Replies
    12
    Views
    2,592

    Possible Memory Leak?

    Im having trouble finding what I belive may be a memory leak. The function Im working with seems to work fine for several calls then it crashes. Each time I call the function, the memory used by the...
  8. Replies
    4
    Views
    1,331

    Ive mixed some C with C++ and I should have...

    Ive mixed some C with C++ and I should have posted in the C++ forum but I've been workin in C and posting here for so long I didnt think about it, My bad. I'm using Microsoft Visual C++ 6.0...slipped...
  9. Replies
    4
    Views
    1,331

    if array trouble...

    This is a simple roulette game...but I'm sure I've got multiple issues(still a beginner)...If any one would be so kind to point out my errors or suggest a better way, I would appreciate it.
    Most...
  10. Replies
    9
    Views
    1,436

    Ok, I got it working. On my box, I had use TRUE...

    Ok, I got it working. On my box, I had use TRUE && FALSE in caps with out declaring bool ,ie:


    int main ( void )
    {
    whatever = TRUE;
    }


    Thanks all :D !
  11. Replies
    9
    Views
    1,436

    when I declare bool whatever = true; I get...

    when I declare bool whatever = true; I get compiler error "bool undeclared identifier"
  12. Replies
    9
    Views
    1,436

    bool statements in C?

    Are boolean statements supported in C?
    if not how would you work around this?
  13. Replies
    6
    Views
    2,139

    Thats clownin...lol, I guess I've been at it tooo...

    Thats clownin...lol, I guess I've been at it tooo long...just not thinking. Boy, I feel dumb as ....
    thanks
  14. Replies
    6
    Views
    2,139

    best way to brake a while(TRUE) loop?

    I have a while(TRUE) loop that I need to break...Only way I can think to do this is with a if then goto. I know that is poor programming. What is the best way to brake this loop?
  15. Replies
    2
    Views
    1,740

    many thanks....Dave

    many thanks....Dave
  16. Replies
    2
    Views
    1,740

    GetCursorPos(pCur) initialization problem

    In C++, I can initialize pCur like this:



    LPPOINT pCur = new tagPOINT;

    How to do this in C...is it possible?

    .
  17. Replies
    3
    Views
    3,417

    try using something like this.. char...

    try using something like this..


    char yourpath[BUFSIZE]

    GetModuleFileName(NULL,yourpath,BUFSIZE);



    this will store the path to your exe as well as your exe's name.
  18. Replies
    30
    Views
    4,979

    So after some mush needed sleep...I began to...

    So after some mush needed sleep...I began to rethink my approach...tried some thing new(thanks to every ones help)
    you can just pass the arguments directly to the registry using RegSetValueEx(). I...
  19. Replies
    30
    Views
    4,979

    itsme86, my sincerest apologies.... I was...

    itsme86, my sincerest apologies....
    I was bombbarded(not complaining here) with so may replys I lost you by the next page.
    and I had not disregarded your post just have not had time to try it. wuz...
  20. Replies
    30
    Views
    4,979

    Im using getopt borrowed from netcat....as well...

    Im using getopt borrowed from netcat....as well as some netcat source...


    if ( argc == 1 )//this only allows for 4 options why????
    {
    if ( (file = fopen("c:\\wnc9.txt", "r"))...
  21. Replies
    30
    Views
    4,979

    I really appreciate the understanding and...

    I really appreciate the understanding and patience as I'm learning and very ignorant when it comes to dealing with buffers,pointers,allocating memory...I've only had one very basic c++ class. And we...
  22. Replies
    30
    Views
    4,979

    citizen's code...is well over my head and I kind...

    citizen's code...is well over my head
    and I kind of understand yours,bivhitscar...
  23. Replies
    30
    Views
    4,979

    Yep,did that first... did this second......

    Yep,did that first...


    did this second...
    your code( while well over my head)compiles fine but crashes the program...Ive much to learn.


    that right...say you need to run/start an app from...
  24. Replies
    30
    Views
    4,979

    for (i=0,i

    for (i=0,i<1000,i++){
    cout<<thank you<<endl;
    }
  25. Replies
    30
    Views
    4,979

    I thank you for pointing that vulnerability...

    I thank you for pointing that vulnerability out...but I am using printf() only to see that the char arg[] has been loaded with the info from the txt file and I am NOT using it in the code ,only for...
Results 1 to 25 of 28
Page 1 of 2 1 2