|
-
October 12th, 2012, 10:33 AM
#2
Re: Typecasting Object to Struct.
By the looks of it... everything is wrong with it...
Could you post the code that actually adds the elements to the linked list, so we can have a look?
The exception means that the Data object is not of the Vals type (I'm guessing it's actually a string). It seems to me that you have some misconceptions about what structs are, and how they should be used.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|