Find Jobs
Hire Freelancers

complete rewrite of existing random dll

$30-100 USD

Completed
Posted over 18 years ago

$30-100 USD

Paid on delivery
Enclosed is the source code to an original dll which has random functions. This dll has to be rewritten in .net because the original component was COM and is not always compatible with .net applications when deploying them. This new dll needs to be a .net assembly and cannot reference any COM objects or require the COM object to be installed for it to work. More Info is found below. ## Deliverables The original dll was written in C++ but the new version can be in any language as long as the final results is a .net assembly. This will not be used from 6.0 but will be used with .net only. The name of the new dll will be [login to view URL] The 2 classes will be Generator and RandomList There are three functions for the Generator They are GenerateRandomList, GenerateRandomListEx, GetRandomNumber The RandomList should be a collection (which will hold the list of random numbers). For the GenerateRandomList, there are the following parameters 1. MaxNumber (which is the maximum number chosen) 2. NumberInList (which is how big the list will be) 3. PreviousList as collection (if a number is on the list, then cannot pick it) this is optional 4. SetToContinue (will be either appended to this list or this list will go after the new list) this is optional 5. PutBefore (if this is true, then the numbers chosen will be put before the set to continue. otherwise will be put after) optional This function will return a list of nonrepeating numbers The next function is GenerateRandomListEx which is similar but this one reshuffles the list sent in The parameters for this one are these: 1. ListToRandomize (The numbers will be reshuffled) 2. SetToContinue (This is another list that if sent in, will be part of the new list in the order given either before or after) optional 3. PutBefore (if false, then the new list will be appended to the old list). Otherwise, the new list will be before the previous list optional 4. HowMany (if given, then will only randomize a certain number of them). default is -1 which means the entire list optional The final function is GetRandomNumber The parameters for this one are these: 1. MaxNumber (which will be the max number chosen) 2. StartingNumber (default will be one which will be the starting point for the function) optional 3. PreviousList (if the list is given, then it cannot choose any of the numbers on the list) optional If it cannot pick a random number because the range is too narrow, then it needs to raise an error Let me know if you have any questions. The compiled dll and the source code to the code completed. This must be completed with Visual Studio 2005 and cannot have any references to any COM objects or require any to be installed. Can be done with any .net languages but needs to be callable from Visual [login to view URL] 2005. ## Platform Windows XP Home Edition, Visual Studio 2005
Project ID: 3209414

About the project

9 proposals
Remote project
Active 18 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$42.50 USD in 7 days
5.0 (1 review)
1.5
1.5
9 freelancers are bidding on average $39 USD for this job
User Avatar
See private message.
$68 USD in 7 days
5.0 (142 reviews)
8.5
8.5
User Avatar
See private message.
$21.25 USD in 7 days
3.9 (4 reviews)
2.1
2.1
User Avatar
See private message.
$17 USD in 7 days
5.0 (1 review)
0.0
0.0
User Avatar
See private message.
$68 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$25.50 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$42.50 USD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$59.50 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Sydney, Australia
5.0
781
Payment method verified
Member since Apr 9, 2002

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.