Click here to Skip to main content
14,453,623 members

C / C++ / MFC

 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 3:29
Member_Flaviu9-Jan-20 3:29 
AnswerRe: srandom and random Pin
Richard MacCutchan9-Jan-20 2:26
communityengineerRichard MacCutchan9-Jan-20 2:26 
SuggestionRe: srandom and random Pin
David Crow9-Jan-20 4:25
MemberDavid Crow9-Jan-20 4:25 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 7:42
Member_Flaviu9-Jan-20 7:42 
GeneralRe: srandom and random Pin
k50549-Jan-20 10:03
Memberk50549-Jan-20 10:03 
GeneralRe: srandom and random Pin
_Flaviu9-Jan-20 22:03
Member_Flaviu9-Jan-20 22:03 
GeneralRe: srandom and random Pin
Victor Nijegorodov9-Jan-20 23:51
MemberVictor Nijegorodov9-Jan-20 23:51 
QuestionRedirect to my struct Pin
_Flaviu7-Jan-20 22:58
Member_Flaviu7-Jan-20 22: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 23:11
mvaAfzaal Ahmad Zeeshan7-Jan-20 23:11 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 23:38
Member_Flaviu7-Jan-20 23:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 1:29
Member_Flaviu8-Jan-20 1:29 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 3:21
communityengineerRichard MacCutchan8-Jan-20 3:21 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 4:15
Member_Flaviu8-Jan-20 4:15 
GeneralRe: Redirect to my struct Pin
k50548-Jan-20 4:38
Memberk50548-Jan-20 4:38 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 19:59
Member_Flaviu8-Jan-20 19:59 
GeneralRe: Redirect to my struct Pin
Richard MacCutchan8-Jan-20 4:44
communityengineerRichard MacCutchan8-Jan-20 4:44 
GeneralRe: Redirect to my struct Pin
leon de boer8-Jan-20 7:00
Memberleon de boer8-Jan-20 7:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 8:09
Member_Flaviu8-Jan-20 8:09 
AnswerRe: Redirect to my struct Pin
Richard MacCutchan7-Jan-20 23:14
communityengineerRichard MacCutchan7-Jan-20 23:14 
AnswerRe: Redirect to my struct Pin
phil.o7-Jan-20 23:33
mvephil.o7-Jan-20 23:33 
GeneralRe: Redirect to my struct Pin
_Flaviu7-Jan-20 23:43
Member_Flaviu7-Jan-20 23:43 
AnswerRe: Redirect to my struct Pin
k50548-Jan-20 5:00
Memberk50548-Jan-20 5:00 
GeneralRe: Redirect to my struct Pin
_Flaviu8-Jan-20 8:18
Member_Flaviu8-Jan-20 8:18 
AnswerRe: Redirect to my struct Pin
Stefan_Lang8-Jan-20 22:44
mveStefan_Lang8-Jan-20 22:44 
Questionerror C3861: 'major': identifier not found Pin
_Flaviu6-Jan-20 23:29
Member_Flaviu6-Jan-20 23: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.