Click here to Skip to main content
15,921,884 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Veteran VS2008 users here? Ever lost your debug functions? Pin
phil.o9-Jan-20 22:46
professionalphil.o9-Jan-20 22:46 
GeneralRe: Veteran VS2008 users here? Ever lost your debug functions? Pin
charlieg10-Jan-20 3:53
charlieg10-Jan-20 3:53 
AnswerRe: Veteran VS2008 users here? Ever lost your debug functions? Pin
_Flaviu9-Jan-20 23:19
_Flaviu9-Jan-20 23:19 
GeneralRe: Veteran VS2008 users here? Ever lost your debug functions? Pin
charlieg10-Jan-20 3:58
charlieg10-Jan-20 3:58 
AnswerRe: Veteran VS2008 users here? Ever lost your debug functions? Pin
charlieg10-Jan-20 4:15
charlieg10-Jan-20 4:15 
AnswerRe: Veteran VS2008 users here? Ever lost your debug functions? Pin
charlieg21-Jan-20 11:53
charlieg21-Jan-20 11:53 
Questionsrandom and random Pin
_Flaviu9-Jan-20 0:44
_Flaviu9-Jan-20 0:44 
AnswerRe: srandom and random Pin
phil.o9-Jan-20 1:03
professionalphil.o9-Jan-20 1:03 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 2:29
_Flaviu9-Jan-20 2:29 
AnswerRe: srandom and random Pin
Richard MacCutchan9-Jan-20 1:26
mveRichard MacCutchan9-Jan-20 1:26 
SuggestionRe: srandom and random Pin
David Crow9-Jan-20 3:25
David Crow9-Jan-20 3:25 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 6:42
_Flaviu9-Jan-20 6:42 
GeneralRe: srandom and random Pin
k50549-Jan-20 9:03
mvek50549-Jan-20 9:03 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 21:03
_Flaviu9-Jan-20 21:03 
GeneralRe: srandom and random Pin
Victor Nijegorodov9-Jan-20 22:51
Victor Nijegorodov9-Jan-20 22:51 
QuestionRedirect to my struct Pin
_Flaviu7-Jan-20 21:58
_Flaviu7-Jan-20 21:58 
AnswerRe: Redirect to my struct Pin
Afzaal Ahmad Zeeshan7-Jan-20 22:11
professionalAfzaal Ahmad Zeeshan7-Jan-20 22:11 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:38
_Flaviu7-Jan-20 22:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 0:29
_Flaviu8-Jan-20 0:29 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 2:21
mveRichard MacCutchan8-Jan-20 2:21 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 3:15
_Flaviu8-Jan-20 3:15 
GeneralRe: Redirect to my struct Pin
k50548-Jan-20 3:38
mvek50548-Jan-20 3:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 18:59
_Flaviu8-Jan-20 18:59 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 3:44
mveRichard MacCutchan8-Jan-20 3:44 
GeneralRe: Redirect to my struct Pin
leon de boer8-Jan-20 6:00
leon de boer8-Jan-20 6:00 
The field names are not an issue you just need the struct, typedef and pointer to have different names

As Richard said it's going to bite you find a different name.

If you want to try a different name with minimal typing go to your file myheader.h and at the top after the guard put these
#define _SID _mySID
#define SID mySID
#define PISID myPISID

now go to the very bottom and put these
#undef _SID
#undef SID
#undef PISID

Now your SID is called mySID to all other units because it just does a text substitute Smile | :)

If you are happy it is all well the make the change permanently using Edit->find & replace on the file using Visual Studio.
In vino veritas

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.