Search:

Type: Posts; User: bartybasher

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    4,883

    That makes a lot of sense now. You see my message...

    That makes a lot of sense now. You see my message handler waits for the WM_DESTROY message before telling the code to quit. So therefore yes DirectDraw will try and write to nothing.
    So I tested...
  2. Replies
    20
    Views
    4,883

    Yeah I totally agree with you it needes fixing,...

    Yeah I totally agree with you it needes fixing, but I cant fix a problem that I don't know how is being caused. Well not so much how but why its being caused, because surely if the program wanted to...
  3. Replies
    20
    Views
    4,883

    Right all the initializeation is done before the...

    Right all the initializeation is done before the program enters the real time loop. Therefore everything is already defined.
    lpddsPrimary being the surface that is defined with the palette lpddp.
    ...
  4. Replies
    20
    Views
    4,883

    No all my clean up is done after the while loop....

    No all my clean up is done after the while loop. So when the quit message is posted the while loop breaks and then the clean up code is after that. This means that my WndProc command is kept...
  5. Replies
    20
    Views
    4,883

    Access Violation Of Memory Buffer WHY??

    Hi in the tutorial I have been reading I have been Taught to write to the video memory like this but when I exit the application I keep getting an Access violation error Which Refers to the line...
  6. Replies
    1
    Views
    1,079

    Visual C++ Detecting Prameters

    Hi Personally I am not a fan of microsoft so I was always reluctant to start using Visual C++, but one day I did and I love it, it keeps things simple and doesn't force you to do anything. I love the...
  7. Replies
    4
    Views
    1,489

    Oh okay thanks mate I think I get it many thanks

    Oh okay thanks mate I think I get it many thanks
  8. Replies
    4
    Views
    1,489

    So should QueryInterface(const IID &iid, void...

    So should QueryInterface(const IID &iid, void **iface)
    really have the void * in brackets so its
    QueryInterface(const IID &iid, (void*)*iface)
    like a standard c type cast?
  9. Replies
    8
    Views
    3,035

    Hi I have used the clickteam tools a lot of my...

    Hi I have used the clickteam tools a lot of my life too. So I probably know where you are coming from with a lot of things regarding C++. So if you ever have any more problems dont hesittate to email...
  10. Replies
    4
    Views
    1,489

    Pointer To Functions In COM Confusing

    Hi I am not one for using virtual inheritance or pointers to functions if I can help it, but I am trying to start to learn the basics of direct x and it was recommended i knew a bit about COM first....
  11. Copying Bitmap Resources without Creating HDC's

    Hi I am running into a problem with my windows based program. I am using a Hbitmap as a back buffer before blitting it onto the screen. My problem is I want to load bitmap resources onto seperate...
  12. Replies
    11
    Views
    1,594

    Are right I understand. Thanks a lot for your...

    Are right I understand. Thanks a lot for your help. Your all stars at this board.
  13. Replies
    11
    Views
    1,594

    Right forgive me for been completly thick today...

    Right forgive me for been completly thick today but my understanding was (This is probably completely wrong half a year does this to you)
    That a copy constructor takes a reference to an object as a...
  14. Replies
    11
    Views
    1,594

    Your starting to lose me a bit. So the compile...

    Your starting to lose me a bit. So the compile time error will go if i define a copy constructor??
  15. Replies
    11
    Views
    1,594

    // Record Header File Version 1 // For Address...

    // Record Header File Version 1
    // For Address Book Version 1 Build 2 Onwards

    class Record
    {
    public:
    // Constructors
    Record();
    Record(char* theName);
    Record(char* theName, char*...
  16. Replies
    11
    Views
    1,594

    Yeah sure because im confused now because I...

    Yeah sure because im confused now because I thought that would of been logical, to have to re-write that one too.


    // Node header File Version 1
    // For Address Book Version 1 Build 3 Onwards
    ...
  17. Replies
    11
    Views
    1,594

    Copy Constructors

    Hi I have had a break from C++ for a while because of exams and I am trying to get back into it. I have created a linked list and am trying to use the following statement.

    theRecord = new...
  18. Replies
    7
    Views
    1,791

    Yeah sure. All I have got now is the version that...

    Yeah sure. All I have got now is the version that has a HDC as a member varible. I don't have the one with the HBITMAP member anymore.
    main.cpp. Equals the windows class and the winmain function.
    ...
  19. Replies
    7
    Views
    1,791

    Are okay I think I understand, but my program is...

    Are okay I think I understand, but my program is starting to confuse me. What happens if the I just create a hdc as a member instead and reference that, because I get excatly the same results. As...
  20. Replies
    7
    Views
    1,791

    Passing a HBITMAP by reference??

    Hi I have got a few different classes which each draw a different thign to the screen so I decided to wrap them all in one sing Game wrapper class. Now for a member I have created a HBITMAP. Now I...
  21. Replies
    6
    Views
    1,808

    Yeah I did lol but thanks for makin sure. The...

    Yeah I did lol but thanks for makin sure. The problems that could happen if i hadn't and you didn't remind me. You could of saved me hours of pain many thanks
  22. Replies
    6
    Views
    1,808

    Oh thanks mate I honestly didnt know that lol....

    Oh thanks mate I honestly didnt know that lol. Serves me right for not using arrays unless I really have too lol. I sorted it now. I just changed



    Block * tempBlock = itsBlocks;


    To:
  23. Replies
    6
    Views
    1,808

    Alright I deleted that line and the assert error...

    Alright I deleted that line and the assert error has gone.

    The program is basically a clone of the old sega game columns. Now that function is supposed to switch the colour blocks around but it...
  24. Replies
    6
    Views
    1,808

    Swapping Pointers & Arrays

    Hi I seem to be having some trouble with function in my code. The idea is that I have an array and I want to swap the order of the array around. Everytime I run the function though it just comes up...
  25. Replies
    3
    Views
    1,149

    Yeah but because the code loops 30 tiems a...

    Yeah but because the code loops 30 tiems a second. Say if the key is pressed for one of those loops then it gets added to the counter but say its still pressed for the next loop well Then it still...
Results 1 to 25 of 76
Page 1 of 4 1 2 3 4