Hi to all ,just a small question.
When i read in the book for Win32 API tur. in c++,
this: "
cbSize
The size of the structure. "
I asked my self ,what sturcture?
I tought we useing class.
kv79
-1
Posting Whiz in Training
Recommended Answers
Jump to PostcbSize is a member of a structure that you set to the structure size before calling win32 api functions with it. For example:
struct foo { unsigned int cbSize; // blabla }; struct foo MyStruct; MyStruct.cbSize = sizeof(struct foo);
Jump to Post>But why they put a option with struct when they have a class?
Why not? How do you know a class was even an option?
All 7 Replies
kv79
-1
Posting Whiz in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
kv79
-1
Posting Whiz in Training
Narue
5,707
Bad Cop
Team Colleague
kv79
-1
Posting Whiz in Training
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
kv79
-1
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.