Delphi - Generating unique random numbers

Cancelled Posted Mar 17, 2011 Paid on delivery
Cancelled Paid on delivery

Hello, I have a small project which should be easy for you experts.

Basically In another project I have, I am adding Tree nodes at runtime with data, and I need to add to each new added node a unique random number - so that each node can never have same ID and I can distinguish between them.

All I need is a simple demo project with source, that has two listboxes and a generate button.

When the generate button is pressed, it should add some random numbers to the first listbox. Once the numbers have been added to the left listbox, add the numbers to the right listbox - if however the right listbox already contains items that are in the left listbox, they should NOT be added.

the random generated numbers should be at least 5 bytes in length.

I have created a template project with all the controls in place etc, all that is needed is the code.

I tried using TStringList and setting duplicates to dupIgnore and also dupError, but could never get it working.

Delphi Microsoft Windows Desktop

Project ID: #3178448

About the project

5 proposals Remote project Active Mar 18, 2011

5 freelancers are bidding on average $36 for this job

pateman

See private message.

$17 USD in 14 days
(24 Reviews)
4.5
eevert

See private message.

$8.5 USD in 14 days
(17 Reviews)
3.9
eugenelksl

See private message.

$8.5 USD in 14 days
(5 Reviews)
3.3
matisvw

See private message.

$59.5 USD in 14 days
(0 Reviews)
0.0
vw635314vw

See private message.

$85 USD in 14 days
(0 Reviews)
0.0