N
Nick
Hi there,
I'm trying to create a random number via a seed in VB.NET and C++, 2
different applications. I want to be able to use the same seed and get the
same random number but unfortunately VB.NET's Random class produces a
different set of results than the C++ rnd function.
I can't see any reference of rnd being used via API declarations and am just
trying to find a way of generating a random number via seed that is
identical in both languages. Of course I could create a C++ DLL to do it
for me and use it in the VB app, but i'd rather not go to that extreme for 1
method.
Any suggestions would be greatly appreciated!
Nick.
I'm trying to create a random number via a seed in VB.NET and C++, 2
different applications. I want to be able to use the same seed and get the
same random number but unfortunately VB.NET's Random class produces a
different set of results than the C++ rnd function.
I can't see any reference of rnd being used via API declarations and am just
trying to find a way of generating a random number via seed that is
identical in both languages. Of course I could create a C++ DLL to do it
for me and use it in the VB app, but i'd rather not go to that extreme for 1
method.
Any suggestions would be greatly appreciated!
Nick.