Click here to Skip to main content
15,891,136 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Count item in folder Pin
Daniel Ferguson9-Feb-01 10:05
Daniel Ferguson9-Feb-01 10:05 
QuestionChangin color? Pin
9-Feb-01 8:34
suss9-Feb-01 8:34 
AnswerRe: Changin color? Pin
Daniel Ferguson9-Feb-01 9:46
Daniel Ferguson9-Feb-01 9:46 
GeneralUsage of CArray<> with a CListCtrl derrived class. Pin
Henrik9-Feb-01 6:42
Henrik9-Feb-01 6:42 
GeneralRe: Usage of CArray<> with a CListCtrl derrived class. Pin
Chris Losinger9-Feb-01 8:57
professionalChris Losinger9-Feb-01 8:57 
GeneralRe: Usage of CArray<> with a CListCtrl derrived class. Pin
leonwoo9-Feb-01 13:48
leonwoo9-Feb-01 13:48 
Generalcreateing an unique number runtime Pin
9-Feb-01 5:26
suss9-Feb-01 5:26 
GeneralRe: createing an unique number runtime Pin
Chris Losinger9-Feb-01 6:34
professionalChris Losinger9-Feb-01 6:34 
a GUID is essentially a 16 BYTE number. so, if you can generate 4 random int's, you're all set.

the "uniqueness" of your number depends on what you use for seed values. even with :
seed(0);
int i1= rand();
int i2= rand();
int i3= rand();
int i4= rand();

you didn't say you needed crypto-strength random values (which these really aren't) or just statistically random values. statistally speaking, there's a lot of room in 2^128, so you should be OK.

a GUID is partly based on machine-specific data (usually your network card's address). so if you can get at that data, you can use it, too.

-c
GeneralSorry ... but Grafix wanted ! Pin
.::RockNix::.9-Feb-01 3:43
.::RockNix::.9-Feb-01 3:43 
GeneralRe: Sorry ... but Grafix wanted ! Pin
Daniel Ferguson9-Feb-01 9:30
Daniel Ferguson9-Feb-01 9:30 
QuestionHow can I set or Move position of an Edit Control Pin
9-Feb-01 1:43
suss9-Feb-01 1:43 
AnswerRe: How can I set or Move position of an Edit Control Pin
Peter Pearson9-Feb-01 3:36
Peter Pearson9-Feb-01 3:36 
GeneralPop3 Pin
8-Feb-01 20:21
suss8-Feb-01 20:21 
GeneralRe: Pop3 Pin
9-Feb-01 3:58
suss9-Feb-01 3:58 
GeneralRe: Pop3 Pin
Rob Caldecott9-Feb-01 4:26
Rob Caldecott9-Feb-01 4:26 
GeneralMFC CString Question.... Pin
8-Feb-01 14:38
suss8-Feb-01 14:38 
GeneralMFC CString Question.... Pin
8-Feb-01 14:35
suss8-Feb-01 14:35 
GeneralRe: MFC CString Question.... Pin
Michael Dunn8-Feb-01 14:57
sitebuilderMichael Dunn8-Feb-01 14:57 
GeneralRe: MFC CString Question.... Pin
efosa8-Feb-01 15:06
efosa8-Feb-01 15:06 
GeneralRe: MFC CString Question.... Pin
Michael Dunn8-Feb-01 15:13
sitebuilderMichael Dunn8-Feb-01 15:13 
GeneralWaitForSingleObject() Question Again!!!! Pin
Richard Cheng8-Feb-01 9:18
Richard Cheng8-Feb-01 9:18 
GeneralRe: WaitForSingleObject() Question Again!!!! Pin
JoeBloggs10-Feb-01 23:37
JoeBloggs10-Feb-01 23:37 
GeneralVisual C++ style build log window Pin
8-Feb-01 9:05
suss8-Feb-01 9:05 
GeneralRe: Visual C++ style build log window Pin
Michael Dunn8-Feb-01 20:08
sitebuilderMichael Dunn8-Feb-01 20:08 
GeneralRe: Visual C++ style build log window Pin
9-Feb-01 13:55
suss9-Feb-01 13:55 

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.