Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: detect enter key on edit control Pin
Alain Rist30-Jan-10 23:02
Alain Rist30-Jan-10 23:02 
GeneralRe: detect enter key on edit control Pin
Sauce!30-Jan-10 23:21
Sauce!30-Jan-10 23:21 
GeneralRe: detect enter key on edit control Pin
Alain Rist30-Jan-10 23:22
Alain Rist30-Jan-10 23:22 
AnswerRe: detect enter key on edit control Pin
Richard MacCutchan31-Jan-10 1:25
mveRichard MacCutchan31-Jan-10 1:25 
GeneralRe: detect enter key on edit control Pin
Sauce!31-Jan-10 2:12
Sauce!31-Jan-10 2:12 
QuestionSet background color of Menu. Pin
Le@rner29-Jan-10 20:17
Le@rner29-Jan-10 20:17 
AnswerRe: Set background color of Menu. Pin
LunaticFringe30-Jan-10 1:47
LunaticFringe30-Jan-10 1:47 
Questionchar* returns garbage value Pin
Anu_Bala29-Jan-10 19:10
Anu_Bala29-Jan-10 19:10 
Hi,
In my application i have funtion like
char* CTagController :: SendInitialPoints()
{
	union UController CON;      
	memset(CON.Buffer,0,CONSIZE);	
	CON.S.AlarmPriority     =AlarmPriority;   
	CON.S.AlarmEnable       =AlarmEnable;    
	CON.S.TagIndex          =TagIndex;     
	.
        .
        .
        .
return CON.Buffer;
}

In another function,im using this
char *pConInitData = 0 ;	
pConInitData = pTagController->SendInitialPoints();


My problrem is,When i set Common Language Runtime Support (/clr) option in CLR support,
the pConInitData shows some garbage value.
If i set No Common Language Runtime support,then pConInitData returns correct value.
Whats the problem in setting /clr option.
Actually i convert VC6 to VS2008.Actually i want to set that /clr option,because im using some WPF controls in my applcaiton.
Pls help me

Anu

AnswerRe: char* returns garbage value Pin
Richard MacCutchan29-Jan-10 22:23
mveRichard MacCutchan29-Jan-10 22:23 
AnswerRe: char* returns garbage value Pin
«_Superman_»30-Jan-10 20:28
professional«_Superman_»30-Jan-10 20:28 
Questionextracting data from .TXT file Pin
benjamin yap29-Jan-10 17:20
benjamin yap29-Jan-10 17:20 
AnswerRe: extracting data from .TXT file Pin
Richard MacCutchan29-Jan-10 22:19
mveRichard MacCutchan29-Jan-10 22:19 
AnswerRe: extracting data from .TXT file PinPopular
enhzflep30-Jan-10 7:02
enhzflep30-Jan-10 7:02 
AnswerRe: extracting data from .TXT file Pin
Moak30-Jan-10 13:11
Moak30-Jan-10 13:11 
QuestionAutoRestart + Execute Useer Code Pin
Bram van Kampen29-Jan-10 14:24
Bram van Kampen29-Jan-10 14:24 
QuestionAccessing vars in class created with new Pin
al250029-Jan-10 12:48
al250029-Jan-10 12:48 
AnswerRe: Accessing vars in class created with new Pin
Avi Berger29-Jan-10 14:00
Avi Berger29-Jan-10 14:00 
GeneralRe: Accessing vars in class created with new Pin
al250029-Jan-10 14:23
al250029-Jan-10 14:23 
GeneralRe: Accessing vars in class created with new Pin
al250029-Jan-10 15:55
al250029-Jan-10 15:55 
GeneralRe: Accessing vars in class created with new Pin
Avi Berger1-Feb-10 11:22
Avi Berger1-Feb-10 11:22 
AnswerRe: Accessing vars in class created with new Pin
Richard MacCutchan30-Jan-10 1:12
mveRichard MacCutchan30-Jan-10 1:12 
GeneralRe: Accessing vars in class created with new Pin
al250030-Jan-10 8:04
al250030-Jan-10 8:04 
QuestionRe: Accessing vars in class created with new Pin
David Crow30-Jan-10 12:52
David Crow30-Jan-10 12:52 
AnswerRe: Accessing vars in class created with new Pin
al25001-Feb-10 11:47
al25001-Feb-10 11:47 
QuestionHow to assign directory rights programmatically? Pin
Chintan29-Jan-10 10:38
Chintan29-Jan-10 10:38 

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.