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...
Type: Posts; User: Stevo
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...
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...
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
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...
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...
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...
Thanks Ken, I'll look up the answers you already gave to filter as well.
Thanks
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...
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...
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
...
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...
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...
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...
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...
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...
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?
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...
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...
Thanks Zach, yeah I wanted to know how things can pass information from one class to another, is "player& p;" in Map a referance?
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.
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...
--------------------------------------------------------------------------------
Originally posted by lambs4
I couldn't find a snail so a frog had to do. ...
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...