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

C / C++ / MFC

 
QuestionPushbutton in a toolbar Pin
RoyceF30-Nov-05 17:15
RoyceF30-Nov-05 17:15 
AnswerRe: Pushbutton in a toolbar Pin
Owner drawn30-Nov-05 19:07
Owner drawn30-Nov-05 19:07 
QuestionOwner drawn CListCtrl items too spaced out on Win2K (picture). Pin
Haywire Guy30-Nov-05 17:01
Haywire Guy30-Nov-05 17:01 
QuestionHaving trouble overriding WndProc in VC8 Managed C++ Windows Form Pin
dxben30-Nov-05 16:29
dxben30-Nov-05 16:29 
QuestionWMP ActiveX SetProperty Issues Pin
zorba99030-Nov-05 14:50
zorba99030-Nov-05 14:50 
AnswerRe: WMP ActiveX SetProperty Issues Pin
zorba99030-Nov-05 17:33
zorba99030-Nov-05 17:33 
QuestionHow to do it in the most easy way Pin
LaHaHa30-Nov-05 13:39
LaHaHa30-Nov-05 13:39 
QuestionHow to Fix error C2105 ? Pin
rat.crown30-Nov-05 13:08
rat.crown30-Nov-05 13:08 
According the The file "Casting Difference Between C and C++ May Cause C2105"
(please see http://support.microsoft.com/kb/q88434/#appliesto),

We know the following code:
void main()
{
char *p;

((long *)p)++; // If the file is saved as a .CPP, this
}

will be have error C2105 need l-value for c++. but for .c file is ok.

Now I have very some problem (when i try to translate some codeing from
c => c++ ). So how to fix the problem?

func()
{

MIDL_STUB_MESSAGE _StubMsg;
int __RPC_FAR *nCount;
RPC_STATUS _Status;

...

*(( int __RPC_FAR * )_StubMsg.Buffer)++ = *nCount;

...

}

I got erro messsage for "*(( int __RPC_FAR * )_StubMsg.Buffer)++ = *nCount;"
the message is "error C2105: '++' needs l-value"


How to fix the problem?
Thanks!!!

AnswerRe: How to Fix error C2105 ? Pin
Nilesh K.1-Dec-05 23:37
Nilesh K.1-Dec-05 23:37 
QuestionCreating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 9:56
Ian Bowler30-Nov-05 9:56 
QuestionRe: Creating an automated build process - where do I start? Pin
David Crow30-Nov-05 10:01
David Crow30-Nov-05 10:01 
AnswerRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 10:23
Ian Bowler30-Nov-05 10:23 
GeneralRe: Creating an automated build process - where do I start? Pin
Chris Losinger30-Nov-05 10:40
professionalChris Losinger30-Nov-05 10:40 
GeneralRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 10:57
Ian Bowler30-Nov-05 10:57 
GeneralRe: Creating an automated build process - where do I start? Pin
Chris Losinger30-Nov-05 14:08
professionalChris Losinger30-Nov-05 14:08 
GeneralRe: Creating an automated build process - where do I start? Pin
David Crow30-Nov-05 10:49
David Crow30-Nov-05 10:49 
GeneralRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 10:52
Ian Bowler30-Nov-05 10:52 
GeneralRe: Creating an automated build process - where do I start? Pin
PJ Arends30-Nov-05 10:57
professionalPJ Arends30-Nov-05 10:57 
GeneralRe: Creating an automated build process - where do I start? Pin
Ian Bowler30-Nov-05 11:04
Ian Bowler30-Nov-05 11:04 
GeneralRe: Creating an automated build process - where do I start? Pin
Graham Bradshaw30-Nov-05 11:39
Graham Bradshaw30-Nov-05 11:39 
AnswerRe: Creating an automated build process - where do I start? Pin
Graham Bradshaw30-Nov-05 11:38
Graham Bradshaw30-Nov-05 11:38 
AnswerRe: Creating an automated build process - where do I start? Pin
SilentSilent1-Dec-05 0:28
SilentSilent1-Dec-05 0:28 
QuestionDialup internet connections Pin
PJ Arends30-Nov-05 9:25
professionalPJ Arends30-Nov-05 9:25 
QuestionRe: Dialup internet connections Pin
David Crow30-Nov-05 9:33
David Crow30-Nov-05 9:33 
AnswerRe: Dialup internet connections Pin
PJ Arends30-Nov-05 9:48
professionalPJ Arends30-Nov-05 9:48 

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.