Click here to Skip to main content
16,011,805 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UpdateAllViews Pin
sawerr2-Jun-08 1:32
sawerr2-Jun-08 1:32 
GeneralRe: UpdateAllViews Pin
SandipG 2-Jun-08 1:38
SandipG 2-Jun-08 1:38 
GeneralRe: UpdateAllViews Pin
sawerr2-Jun-08 1:48
sawerr2-Jun-08 1:48 
GeneralRe: UpdateAllViews Pin
SandipG 2-Jun-08 1:57
SandipG 2-Jun-08 1:57 
AnswerRe: UpdateAllViews Pin
Nelek2-Jun-08 4:43
protectorNelek2-Jun-08 4:43 
QuestionA Simple Password Generator Pin
Werty fool2-Jun-08 0:27
Werty fool2-Jun-08 0:27 
AnswerRe: A Simple Password Generator Pin
CPallini2-Jun-08 0:52
mveCPallini2-Jun-08 0:52 
AnswerRe: A Simple Password Generator Pin
James R. Twine2-Jun-08 2:54
James R. Twine2-Jun-08 2:54 
   your character generation routine seems strange. Try something simple like:
for (int n=0; n < <code>PWLengthLessThan62</code>; n++ )
{
    passwrd[n] = alpha[ rand() % 62 ]; // 62 Characters in your buffer
}
passwrd[ 80 ] = '\0'; // Ensure buffer is terminated
   Might want to expand the characters used in your random password.  Sticking to alnums is not too secure, IMHO.

   You also have a character buffer for the password, so there is no reason to be messing around with any global memory routines.

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



GeneralRe: A Simple Password Generator Pin
Werty fool2-Jun-08 5:32
Werty fool2-Jun-08 5:32 
QuestionApplication Crashes while shutting down service. Pin
andspeed1-Jun-08 23:58
andspeed1-Jun-08 23:58 
AnswerRe: Application Crashes while shutting down service. Pin
CDP18022-Jun-08 0:28
CDP18022-Jun-08 0:28 
GeneralRe: Application Crashes while shutting down service. Pin
andspeed2-Jun-08 9:17
andspeed2-Jun-08 9:17 
AnswerRe: Application Crashes while shutting down service. Pin
SandipG 2-Jun-08 1:17
SandipG 2-Jun-08 1:17 
Questiondll problem Pin
prithaa1-Jun-08 23:52
prithaa1-Jun-08 23:52 
AnswerRe: dll problem Pin
prithaa2-Jun-08 0:00
prithaa2-Jun-08 0:00 
GeneralRe: dll problem Pin
Graham Shanks2-Jun-08 2:50
Graham Shanks2-Jun-08 2:50 
QuestionAbout Read and Receive new message Pin
savitri1-Jun-08 23:17
savitri1-Jun-08 23:17 
AnswerRe: About Read and Receive new message Pin
Cedric Moonen1-Jun-08 23:44
Cedric Moonen1-Jun-08 23:44 
JokeRe: About Read and Receive new message Pin
Rajesh R Subramanian1-Jun-08 23:48
professionalRajesh R Subramanian1-Jun-08 23:48 
GeneralRe: About Read and Receive new message Pin
savitri2-Jun-08 0:07
savitri2-Jun-08 0:07 
GeneralRe: About Read and Receive new message Pin
Cedric Moonen2-Jun-08 0:41
Cedric Moonen2-Jun-08 0:41 
GeneralRe: About Read and Receive new message Pin
Rajesh R Subramanian2-Jun-08 0:59
professionalRajesh R Subramanian2-Jun-08 0:59 
AnswerRe: About Read and Receive new message Pin
_AnsHUMAN_ 2-Jun-08 0:22
_AnsHUMAN_ 2-Jun-08 0:22 
AnswerRe: About Read and Receive new message [modified] Pin
SandipG 2-Jun-08 0:57
SandipG 2-Jun-08 0:57 
AnswerRe: About Read and Receive new message Pin
Hamid_RT3-Jun-08 1:11
Hamid_RT3-Jun-08 1:11 

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.