AddImproved Random Number Generator
  • C++ Builder:
    C1 C3 C4 C5 C6 C2006 C2007 C2009 C2010 
  • Delphi:
    D1 D2 D3 D4 D5 D6 D7 D8 D2005 D2006 D2007 D2009 D2010 DPHP DPRISM Delphi/400 
  • Kylix:
    K1 K3 

Random number sequences generated in Delphi using the native Random function leave much to be desired. By default the same number sequence is produced each time the parent application is run. Matters can be improved to a certain extent by seeding the random number generator using the system clock by calling the Randomize function.

However, this does not change the fact that the algorithm used is quite simplistic. Algorithms of greater complexity that claim to yield more random sequences abound. However, it is not really necessary to code such an algorithm. Windows comes with an intrinsic random number generator in the form of the CoCreateGUID function. We demonstrate how it can be used with a minimum of coding to create a truly robust sequence of pseudo-random numbers.

  • Category:
    Examples
  • Author:
    (More by this author)
  • Info:
    Freeware
  • Date added:
    13 February, 2008 02:01
  • Views:
    757
  • Downloads:
    277
Usefulness
Documentation
Stability
Value
Ease of Use
Level of Use
0 people have rated this applicaton
Total Average
 
You can submit your own rating, for this you must be logged in.
Files:
  • /uploads/umod_object_image/3/9/4/7/file_name/grand.zipgrand.zip
    Size: 237.9 KB | Since: Aug 5, 2009
Related Downloads
RNDGen  - 05 November, 2003 - Alex Sergeev

True random generator for Delphi and C++ Builder

GPDelphi  - 17 August, 1999 - Adi Andrei

Have you ever wondered if there might be a genetic programming component for Delphi ? Well, this is it. Enjoy... and let me know what you think. More improvements are on the way. Collaboration is welcome. Specifications: Maximum number of...

AMRandom 4.3 - 13 January, 2010 - ESB Consultancy

This aims to supply an Embarcadero (formerly CodeGear/Borland) Delphi translation of Alan Miller's Random Module for FORTRAN-90. This translation has been done with Dr Miller's approval and is being made FREELY available to all Delphi Developers,...

ZLib Component 1.2 - 17 September, 1999 - Fluffy -NA-

New and Improved handling of Deflate/Inflate operations. Full Buffer seperation, allowing for continuous Input Stream Compression/Decompression, setup for either Solid Archiving, or random file access. Compression Ratio calculations, CRC32...

SimplyChaos  - 22 July, 2006 - Frans Indroyono

An encryption/decryption source code in C++Builder 6. Using chaotic function called logistic function to generate random number.

Related Information
  • SENDING ICQ MSGS FROM DELPHI (2001-01-03 05:54:03)
    I tried the ICQ Api, but never used it. I've added a simple ICQPager component to delphipages (Winsock/TCPIP).. it might help... Q
  • TELEPHONE BASED APPLICATION (2001-01-08 01:29:39)
    I did something like this. I wrote a fully operative phone- based banking applciation in two days using VisualVoice and Dialogic cards. However,...
  • DELPHI WITH INTERNET.. (2001-01-05 10:35:50)
    http://www.matlus.com/scripts/website.dll This site is 100% Delphi built and 100% dynamic. All the content you see here is "database driven" and a...
  • PRINTING A PDF FORM (2001-01-06 18:57:11)
    Hello Tom, If you find a delphi solution to bypass the acrobat Printer i am very interrested. Actually i am printing a lot of invoice to the...
  • SENDING TEXT TO ANOTHER APPLICATION USING SENDMESSAGE (2001-01-09 20:34:10)
    Hi : Try this, it may be a better aproach, With the help of the API function GlobalAddAtom its possible to send a string via the Windows API....
Related News
AMRandom v3.0.6 - Distributed Random Numbers for Delphi - 09 August, 2004
ESB Consultancy is pleased to announce an update to our popular Freeware package for Borland Delphi.

It can be grabbed from:
...
Ann: AMRandom v3.0.4 - Distributed Random Numbers for Delphi - 28 January, 2004
ESB Consultancy is pleased to announce an update to our popular Freeware package for Borland Delphi.

It can be grabbed from:
...
Billenium Effects v4 released - 27 February, 2006
BilleniumSoft announces the release of Billenium Effects 4.

What's new since version 3.5:

1. Totally redesigned...
Advanced Data Generator 1.1.0 released - 07 June, 2004
Dear ladies and gentlemen,

Upscene Productions is happy to announce a new version of
the database developer tool:
...
Advanced Data Generator 1.6.0 released - 27 January, 2006
Upscene Productions releases Advanced Data Generator 1.6.0, including Microsoft SQL Server 2005 support, MySQL 5 Stored Procedures support and...
Categories

Latest Forum Entries
Latest Searches