Click here to Skip to main content
15,913,115 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to change the resource such as companyname in the .exe file Pin
freemme18-Nov-05 16:53
freemme18-Nov-05 16:53 
QuestionRe: how to change the resource such as companyname in the .exe file Pin
David Crow18-Nov-05 4:58
David Crow18-Nov-05 4:58 
AnswerRe: how to change the resource such as companyname in the .exe file Pin
freemme18-Nov-05 17:08
freemme18-Nov-05 17:08 
QuestionRe: how to change the resource such as companyname in the .exe file Pin
David Crow21-Nov-05 3:08
David Crow21-Nov-05 3:08 
AnswerRe: how to change the resource such as companyname in the .exe file Pin
freemme22-Nov-05 20:43
freemme22-Nov-05 20:43 
Questionwinsock.h conflicting with winsock2.h Pin
newbie534517-Nov-05 20:02
newbie534517-Nov-05 20:02 
AnswerRe: winsock.h conflicting with winsock2.h Pin
cmk18-Nov-05 1:24
cmk18-Nov-05 1:24 
QuestionXML Serialization of CollectionBase Pin
(Steven Hicks)n+117-Nov-05 19:02
(Steven Hicks)n+117-Nov-05 19:02 
[typeof(MC++)]
If I have a class that inherits from CollectionBase...
and I have an default accessor: Item

__property Object * get_Item(int index)
{
return List->Item[index];
}


How can I get this to serialize as another object (the only one I'm using for this collection)
I've tried changing what is returned, and it breaks when trying to access and claims the class is violating ICollection....
When i use:
[XmlInclude(__typeof(Vehicle))]

The compiler claims:
The type Vehicle was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known static

The vehicle class is labeled serializeable.



-Steven Hicks

CPA

CodeProjectAddict

Actual Linux Penguins were harmed in the creation of this message.

More tutorials: Ltpb.8m.com: Tutorials |404Browser.com (Download Link)

QuestionFILEOKSTRING Pin
ragavan17-Nov-05 18:49
ragavan17-Nov-05 18:49 
QuestionStatic linking Pin
serious-sam17-Nov-05 18:31
serious-sam17-Nov-05 18:31 
AnswerRe: Static linking Pin
Mircea Puiu17-Nov-05 20:32
Mircea Puiu17-Nov-05 20:32 
GeneralRe: Static linking Pin
serious-sam17-Nov-05 20:55
serious-sam17-Nov-05 20:55 
GeneralRe: Static linking Pin
Mircea Puiu17-Nov-05 23:37
Mircea Puiu17-Nov-05 23:37 
AnswerRe: Static linking Pin
cmk18-Nov-05 1:31
cmk18-Nov-05 1:31 
GeneralRe: Static linking Pin
serious-sam20-Nov-05 11:37
serious-sam20-Nov-05 11:37 
GeneralRe: Static linking Pin
cmk20-Nov-05 12:43
cmk20-Nov-05 12:43 
GeneralRe: Static linking Pin
serious-sam20-Nov-05 12:48
serious-sam20-Nov-05 12:48 
QuestionNeed some suggestion Pin
LaHaHa17-Nov-05 16:22
LaHaHa17-Nov-05 16:22 
AnswerRe: Need some suggestion Pin
cmk18-Nov-05 1:43
cmk18-Nov-05 1:43 
GeneralRe: Need some suggestion Pin
LaHaHa18-Nov-05 11:43
LaHaHa18-Nov-05 11:43 
QuestionRead only attribute Pin
hint_5417-Nov-05 13:50
hint_5417-Nov-05 13:50 
AnswerRe: Read only attribute Pin
Shog917-Nov-05 14:20
sitebuilderShog917-Nov-05 14:20 
GeneralRe: Read only attribute Pin
hint_5418-Nov-05 9:15
hint_5418-Nov-05 9:15 
GeneralRe: Read only attribute Pin
Shog918-Nov-05 11:27
sitebuilderShog918-Nov-05 11:27 
GeneralRe: Read only attribute Pin
hint_5418-Nov-05 17:46
hint_5418-Nov-05 17:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.