Click here to Skip to main content
15,889,200 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Casting Problem for a beginner Pin
Hosam CFJ6-Apr-04 12:18
Hosam CFJ6-Apr-04 12:18 
GeneralRe: Casting Problem for a beginner Pin
Christian Graus6-Apr-04 12:20
protectorChristian Graus6-Apr-04 12:20 
GeneralRe: Casting Problem for a beginner Pin
Nemanja Trifunovic6-Apr-04 13:14
Nemanja Trifunovic6-Apr-04 13:14 
GeneralRe: Casting Problem for a beginner Pin
Nemanja Trifunovic6-Apr-04 13:16
Nemanja Trifunovic6-Apr-04 13:16 
GeneralRe: Casting Problem for a beginner Pin
BlackDice12-Apr-04 11:07
BlackDice12-Apr-04 11:07 
GeneralInvitation Pin
Member 7951483-Apr-04 6:23
Member 7951483-Apr-04 6:23 
Generaladding managed extensions - Error! Pin
BlackDice2-Apr-04 3:40
BlackDice2-Apr-04 3:40 
Questiondo get_ and set_ have to be used in conjunction? Pin
charlener1-Apr-04 16:28
charlener1-Apr-04 16:28 
In my header file, I'm using only get_dataSectionPtr and no set (its value is set in the constructor) and I get the following errors:

c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\byteme\AbfFileStruct.h(43) : error C2086: 'long AbfFileStruct::dataSectionPtr' : redefinition
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\byteme\AbfFileStruct.h(21) : see declaration of 'AbfFileStruct::dataSectionPtr'
AbfFileStruct.cpp(12) : error C2039: 'set_dataSectionPtr' : is not a member of 'AbfFileStruct'
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\byteme\AbfFileStruct.h(15) : see declaration of 'AbfFileStruct'
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\byteme\AbfFileStruct.h(43) : error C2086: 'long AbfFileStruct::dataSectionPtr' : redefinition
c:\Documents and Settings\administrator\My Documents\Visual Studio Projects\byteme\AbfFileStruct.h(21) : see declaration of 'AbfFileStruct::dataSectionPtr'

And the offending code seems to be this:


public __gc class AbfFileStruct
{
public:
//always need at least a FileStream to construct it
AbfFileStruct(FileStream *);

__property long get_dataSectionPtr()
{
return dataSectionPtr;
}

void PrintFileStruct();

private:
long dataSectionPtr;
}; //ENDCLASS


Ideas?
AnswerRe: do get_ and set_ have to be used in conjunction? Pin
charlener1-Apr-04 16:29
charlener1-Apr-04 16:29 
AnswerRe: do get_ and set_ have to be used in conjunction? Pin
Andy Wieberneit1-Apr-04 20:03
Andy Wieberneit1-Apr-04 20:03 
GeneralIterate through vector Pin
wadstar31-Mar-04 8:15
wadstar31-Mar-04 8:15 
GeneralManaged C++ and AfxOleInit Pin
mstanciu200030-Mar-04 21:29
mstanciu200030-Mar-04 21:29 
Generalcustom window drawing Pin
Darmochwal Robert30-Mar-04 10:36
Darmochwal Robert30-Mar-04 10:36 
Questionhow to get the handle of the RICHEDIT Pin
dilip_sar30-Mar-04 10:32
dilip_sar30-Mar-04 10:32 
AnswerRe: how to get the handle of the RICHEDIT Pin
ravjak1-Apr-04 4:32
ravjak1-Apr-04 4:32 
Questionhow to send text to another window Pin
dilip_sar30-Mar-04 9:34
dilip_sar30-Mar-04 9:34 
AnswerRe: how to send text to another window Pin
ian mariano30-Mar-04 9:49
ian mariano30-Mar-04 9:49 
GeneralSerialComm Pin
kwisslk30-Mar-04 7:40
susskwisslk30-Mar-04 7:40 
GeneralRe: SerialComm Pin
Andy Wieberneit30-Mar-04 23:33
Andy Wieberneit30-Mar-04 23:33 
GeneralRe: SerialComm Pin
okoji6-Apr-04 22:09
sussokoji6-Apr-04 22:09 
GeneralRe: SerialComm Pin
User 91483318-Apr-04 13:12
User 91483318-Apr-04 13:12 
GeneralChange Text (Caption) Color for a MFC Button Pin
HaHa!30-Mar-04 4:54
HaHa!30-Mar-04 4:54 
GeneralRe: Change Text (Caption) Color for a MFC Button Pin
Renjith Ramachandran7-Apr-04 21:14
Renjith Ramachandran7-Apr-04 21:14 
Generalnewbie question Pin
charlener29-Mar-04 7:23
charlener29-Mar-04 7:23 
GeneralRe: newbie question Pin
zena992-Apr-04 8:24
zena992-Apr-04 8:24 

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.