Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking 4 a good software program

Status
Not open for further replies.

ozcrash

Technical User
Mar 20, 2003
1
AU
Hi all,

I am looking for help in how I can put a small code in my .EXE file so it can check a .DLL file for registration before my EXE file is executed, my knowledge in this field is limited as I use software programs to create projects. Do you have any ideas or know of any easy to use software programs that will allow me to overcome this problem.

Your help is greatly appreciated.

Kind regards

Clive
 
What you describe is not possible. You can not put a piece of code in your exe that checks a dll file before executing.

You have to execute your written program and start with checking the dll. If the registration is ok then you continue creating all the forms and showing the app. Otherwise you close the application. For how to access dll files take a look at the delphi help file under the section dll. There is a good explanation on how they work and how to program them in to your application.
 
Have a look at the guys that provide the hard-lock devices for parallel or usb ports, they have 'application-wrappers' that adds a wrapper to any program that wil check the hard-lock (dongle) for the correct version/id-number and only if it's ok continues starting the app.

I know the Rainbow SentinelPro keys because I used them myself, and Hard-Lock EYE (couldn't find a weblink)

HTH
TonHu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top