Delphi - Generating unique random numbers

Cancelado Publicado Mar 17, 2011 Pagado a la entrega
Cancelado Pagado a la entrega

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

Nº del proyecto: #3178448

Sobre el proyecto

5 propuestas Proyecto remoto Activo Mar 18, 2011

5 freelancers están ofertando un promedio de $36 por este trabajo

pateman

See private message.

$17 USD en 14 días
(24 comentarios)
4.5
eevert

See private message.

$8.5 USD en 14 días
(17 comentarios)
3.9
eugenelksl

See private message.

$8.5 USD en 14 días
(5 comentarios)
3.3
matisvw

See private message.

$59.5 USD en 14 días
(0 comentarios)
0.0
vw635314vw

See private message.

$85 USD en 14 días
(0 comentarios)
0.0