Click here to Skip to main content
15,902,893 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Wrong DLL output Pin
Chris Losinger2-Apr-08 3:27
professionalChris Losinger2-Apr-08 3:27 
GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 3:29
Cedric Moonen2-Apr-08 3:29 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 3:42
parth.p2-Apr-08 3:42 
GeneralRe: Wrong DLL output Pin
David Crow2-Apr-08 3:33
David Crow2-Apr-08 3:33 
GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 3:37
Cedric Moonen2-Apr-08 3:37 
QuestionRe: Wrong DLL output Pin
David Crow2-Apr-08 3:23
David Crow2-Apr-08 3:23 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 3:30
parth.p2-Apr-08 3:30 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 4:18
parth.p2-Apr-08 4:18 
Hi,
Thanks for reply.

I haven't got any special method to verify the numbers received... It's just common sense to recognise Random numbers.

The other thing I figured out just now is that the problem lies in


srand( (unsigned)time( NULL ) );


I just removed this line and everything is working as I expected! But now i will get same numbers every time I use it. This simple dll is becoming more and more complicated...

- Stop thinking in terms of limitations and start thinking in terms of possibilities -

GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 4:23
Cedric Moonen2-Apr-08 4:23 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 4:39
parth.p2-Apr-08 4:39 
GeneralRe: Wrong DLL output Pin
CPallini2-Apr-08 4:43
mveCPallini2-Apr-08 4:43 
GeneralRe: Wrong DLL output Pin
David Crow2-Apr-08 4:48
David Crow2-Apr-08 4:48 
GeneralRe: Wrong DLL output Pin
Chris Losinger2-Apr-08 3:29
professionalChris Losinger2-Apr-08 3:29 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 3:43
parth.p2-Apr-08 3:43 
GeneralRe: Wrong DLL output Pin
CPallini2-Apr-08 4:36
mveCPallini2-Apr-08 4:36 
GeneralRe: Wrong DLL output Pin
pabloraul2-Apr-08 8:43
pabloraul2-Apr-08 8:43 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 9:11
parth.p2-Apr-08 9:11 
GeneralTime Comparision Pin
john56322-Apr-08 2:31
john56322-Apr-08 2:31 
GeneralRe: Time Comparision Pin
CPallini2-Apr-08 3:09
mveCPallini2-Apr-08 3:09 
GeneralRe: Time Comparision Pin
Hamid_RT7-Apr-08 4:05
Hamid_RT7-Apr-08 4:05 
GeneralProblem of Edit Box Control. Pin
Le@rner2-Apr-08 2:04
Le@rner2-Apr-08 2:04 
GeneralRe: Problem of Edit Box Control. Pin
Cedric Moonen2-Apr-08 2:19
Cedric Moonen2-Apr-08 2:19 
GeneralRe: Problem of Edit Box Control. Pin
Le@rner2-Apr-08 2:28
Le@rner2-Apr-08 2:28 
GeneralRe: Problem of Edit Box Control. Pin
Maximilien2-Apr-08 2:40
Maximilien2-Apr-08 2:40 
GeneralRe: Problem of Edit Box Control. Pin
Hamid_RT7-Apr-08 4:04
Hamid_RT7-Apr-08 4:04 

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.