covert structure object in to class object

hi..

how to covert structure object in to class object.

explain with example.

thank you
Explain exactly what you want, and why, because this question makes absolutely no sense.
hi...

i am creating one class library.

i am working with find hid function of windows.

i am trying to implement this function in class library of c++. which is already in c

when i importthis c code in class library it gives error.

some data types are not supported such as GUID,HID_CAPS
which are structure object

& GIVING ERROR MIXED DATA TYPES ARE NOT SUPPORTED

so i need these object as class object not as structure object

so i want to know how can i implement these data types in application library of c++

&how this error can removed?


Error 1 error C4368: cannot define 'Capabilities' as a member of managed 'My64BIT_DLL::Class1': mixed types are not supported



thank you

There is no conceptual difference between classes and structures, they're both classes.
You'll need to post some code.
Topic archived. No new replies allowed.