Click here to Skip to main content
15,947,612 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Wrong DLL output Pin
Cedric Moonen2-Apr-08 3:18
Cedric Moonen2-Apr-08 3:18 
GeneralRe: Wrong DLL output Pin
parth.p2-Apr-08 3:22
parth.p2-Apr-08 3:22 
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 
killerp wrote:
...I'm trying to receive RANDOM number from C and add to my VB form.


Unless this is just a test to see if the two can communicate, or you are just wanting to see how a DLL works, why not just let your VB app generate its own random numbers?

killerp wrote:
But the number received is not random...


How are you verifying this?

killerp wrote:
But the number received is...way to big than what I pass into the parameter.


This statement makes little sense. The argument passed to rndNum() is simply used to seed the random number generator. It has no bearing on anything else.

"Love people and use things, not love things and use people." - Unknown

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


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 
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 

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.