Click here to Skip to main content
15,028,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 2:29
Member_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
MemberDavid Crow9-Jan-20 3:25 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 6:42
Member_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
Member_Flaviu9-Jan-20 21:03 
GeneralRe: srandom and random Pin
Victor Nijegorodov9-Jan-20 22:51
MemberVictor Nijegorodov9-Jan-20 22:51 
QuestionRedirect to my struct Pin
_Flaviu7-Jan-20 21:58
Member_Flaviu7-Jan-20 21:58 
I have some code:
sid->identifier_authority

where sid is declared as:
const SID* sid

and the project say that sid is targeting to windows (WinNT.h):
typedef struct _SID {
...
} SID, *PISID;

but I also have (in some header file) inside my project another SID struct declared:
#ifdef SID
typedef struct {
	u8 sub_authority_count;
	SID_IDENTIFIER_AUTHORITY identifier_authority;
}SID;
#endif

how can I do to sid be as my SID struct, not as _SID windows struct ?
AnswerRe: Redirect to my struct Pin
Afzaal Ahmad Zeeshan7-Jan-20 22:11
mveAfzaal Ahmad Zeeshan7-Jan-20 22:11 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:38
Member_Flaviu7-Jan-20 22:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 0:29
Member_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
Member_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
Member_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
Memberleon de boer8-Jan-20 6:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 7:09
Member_Flaviu8-Jan-20 7:09 
AnswerRe: Redirect to my struct Pin
Richard MacCutchan7-Jan-20 22:14
mveRichard MacCutchan7-Jan-20 22:14 
AnswerRe: Redirect to my struct Pin
phil.o7-Jan-20 22:33
mvephil.o7-Jan-20 22:33 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 22:43
Member_Flaviu7-Jan-20 22:43 
AnswerRe: Redirect to my struct Pin
k50548-Jan-20 4:00
mvek50548-Jan-20 4:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 7:18
Member_Flaviu8-Jan-20 7:18 
AnswerRe: Redirect to my struct Pin
Stefan_Lang8-Jan-20 21:44
mveStefan_Lang8-Jan-20 21:44 
Questionerror C3861: 'major': identifier not found Pin
_Flaviu6-Jan-20 22:29
Member_Flaviu6-Jan-20 22:29 

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.