Search:

Type: Posts; User: Stevo

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    769

    Thanks for the replay, I just tried that but I'm...

    Thanks for the replay, I just tried that but I'm getting a "no apprpriate constructor available" error.

    I have used extern before but I can't find the project I used it in now.
    The problem...
  2. Replies
    2
    Views
    769

    using extern, please help

    Hi, I'm trying to use extern for a struct.

    The struct is for vertices and is first used in a vertex class




    ///////////////////////////////////////////
    //file vertices.h...
  3. Replies
    2
    Views
    985

    Thanks, that works now. I saw GlobalAlloc() in a...

    Thanks, that works now.
    I saw GlobalAlloc() in a tutorial recently, I thought it was a windows way of doing strings or something.

    Thanks again
  4. Replies
    2
    Views
    985

    listing files in dialog box

    I'm using DlgDirListComboBox(), to try and get files listed in my dialogs combo box.

    this is the code for it,




    BOOL CALLBACK DlgProc(HWND dhwnd, UINT Message, WPARAM wParam, LPARAM...
  5. lol, LoadImage & LoadBitmap don't work for me...

    lol, LoadImage & LoadBitmap don't work for me either:) I don't know how to use resources!?

    Benny thanks for that, I will take a look at it. The CreateFile, CreateFileMapping and MapViewOfFile do...
  6. Loading bitmaps with createfile() +CreateDIBSection

    Hi, I have been trying to learn windows graphics properly, so I can do more than just using brushes & stuff. The main thing I have been trying to do, is use CreateDIBSection, I think this isn't...
  7. Replies
    28
    Views
    7,107

    Thanks Ken, I'll look up the answers you already...

    Thanks Ken, I'll look up the answers you already gave to filter as well.
    Thanks
  8. Replies
    28
    Views
    7,107

    Hi, I've been trying to figure this out as well,...

    Hi, I've been trying to figure this out as well, in the book I've got you have to use windowclass.cbWndExtra in the windowclass to store a pointer, also (as you guys said), you have to use a this...
  9. Replies
    3
    Views
    1,184

    Hammer, yes that is what I'm doing, I use a...

    Hammer, yes that is what I'm doing, I use a separate function for putting the values in though, I'd also like to get it where I can put in or change any of the struct values dynamically as well. If...
  10. Replies
    3
    Views
    1,184

    pointer to struct object in class object

    Hi how do you get a struct object to work inside a class object?

    [code]

    struct MyStruct{float x,float y};

    class CMyClass
    {
    MyStruct ArrayStruct[3]; //this works
    ...
  11. Replies
    37
    Views
    4,546

    It puts ware on the cd having to keep putting it...

    It puts ware on the cd having to keep putting it in and out the drive all the time, I did have a great game -GTA3 until the cd stopped working, if I want to play it again I'm going to have to buy it...
  12. Replies
    14
    Views
    1,807

    Hi, I've just started learning directplay, and I...

    Hi, I've just started learning directplay, and I think that agrees with what some people said, you only want the latest info, anything that has timed out gets dropped, also you need threads, this...
  13. Replies
    2
    Views
    12,829

    what are TCHAR's & _tcscpy?

    Hi I'm trying to get a class function to work, the function is;

    CD3DFont::CD3DFont ( TCHAR * strFontName,
    DWORD dwHeight,
    DWORD dwFlags = 0L
    )

    The problem is when I try to...
  14. Replies
    4
    Views
    792

    sorry I won't be able to say all i want as I'm...

    sorry I won't be able to say all i want as I'm just about out of connection time.
    I'm trying to do just a normal explorer browse thing, I think I've got a way of doing it now though, I think I could...
  15. Replies
    4
    Views
    792

    dialogue box code - more help needed please

    Hi, I got some help when I asked about this a couple weeks ago, but it's difficult, I need the code for browsing files/folders.
    I've sorted out the Get/SetCurrentDirectory, I've also been able to...
  16. Replies
    5
    Views
    994

    Thanks Benny, thats great I didn't even know...

    Thanks Benny, thats great I didn't even know about them commands, Thanks. Are there any headers I would need to include like fstream or anything?
  17. Replies
    5
    Views
    994

    making a list of files

    Hi, I'm not sure if this is the right board for this, but I am trying to make a file open list. The thing is, this is for direct x and not windows, but in the demo's (directx) they use a windows...
  18. Replies
    5
    Views
    1,236

    A guy called Paul Gerfen, made some sort of...

    A guy called Paul Gerfen, made some sort of library for it, but the links on his site have been down for quite a while. Can't you get the sdk by post on cd though, you would have to wait, but...
  19. Replies
    5
    Views
    891

    Thanks Zach, yeah I wanted to know how things can...

    Thanks Zach, yeah I wanted to know how things can pass information from one class to another, is "player& p;" in Map a referance?
  20. Replies
    5
    Views
    891

    Thanks Brendan, I've only been doing this a...

    Thanks Brendan, I've only been doing this a couple months. I think instaed of a map object you'd have just a file or list to record where every thing is.
  21. Replies
    5
    Views
    891

    setting up and also accessing classes

    Hi, I have brought a book & also I have read about 2 -3 tutorials, but still don't understand about cllasses. What I need to know is how to use them, most of these books only tell you the basic...
  22. Replies
    12
    Views
    2,068

    --------------------------------------------------...

    --------------------------------------------------------------------------------
    Originally posted by lambs4
    I couldn't find a snail so a frog had to do. ...
  23. Replies
    10
    Views
    1,827

    Hi, good to see you're getting along well with...

    Hi, good to see you're getting along well with it, is dx easy to do and easy to set up with Visual C++? I tried with Dev C++, but got no where. I've foud somewhere I can get Visual C++ for a good...
Results 1 to 23 of 24