isnoend2001
asked on
Create binary files with dll extension that look important
I have 2 files that limits and tracks program uses. I want the files to look important so as to less likely to be deleted.
If i give the filenames a dll extension will this cause any issues ?
something like Win32.dll or Win64.dll
If i give the filenames a dll extension will this cause any issues ?
something like Win32.dll or Win64.dll
Just naming the files differently will not give an issue, you should take care that your program still can use them.
What kind of files are they exactly and where did you put them? Do you know why they are being deleted? Is it the end users that delete the files?
What kind of files are they exactly and where did you put them? Do you know why they are being deleted? Is it the end users that delete the files?
ASKER
Thanks
Typical Paths
C:\Documents and Settings\All Users.WINDOWS\Documents\Ho meBids\Win 32.dll
C:\Documents and Settings\All Users.WINDOWS\Documents\Ho meBids\App Folder\Win 64.dll
Each time the program is ran the files are opened and add 1 use to each and compared
If one is different or missing then the program shuts down
Open sfilename For Input As #fnumber
Line Input #fnumber, sText
Close #fnumber
Typical Paths
C:\Documents and Settings\All Users.WINDOWS\Documents\Ho
C:\Documents and Settings\All Users.WINDOWS\Documents\Ho
Each time the program is ran the files are opened and add 1 use to each and compared
If one is different or missing then the program shuts down
Open sfilename For Input As #fnumber
Line Input #fnumber, sText
Close #fnumber
So renaming the files is not an issue. What about your fear that they maybe deleted? Who or what is doing that then?
ASKER
Thanks Gerwin Jansen
No one is doing it. I just want to be able to catch them if they try.
Example:
Win32.dll holds 3 (used 3 times)
if Win64.dll is missing or does not hold 3 then an attempt has been made to crack the program
No one is doing it. I just want to be able to catch them if they try.
Example:
Win32.dll holds 3 (used 3 times)
if Win64.dll is missing or does not hold 3 then an attempt has been made to crack the program
ASKER
This seems to be my main concern:
unused libraries and erasing them just to keep the system neat
If the disk cleanup checks the last modified dll's date then this should not be an issue.
If this does delete both the dll's then the uses will start all over
unused libraries and erasing them just to keep the system neat
If the disk cleanup checks the last modified dll's date then this should not be an issue.
If this does delete both the dll's then the uses will start all over
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks, i realize that this method is not fool proof the software tracks homeowners bids for home improvements and the majority
of users are not likely to be hackers ,especially for $50.00
of users are not likely to be hackers ,especially for $50.00
Consider keeping that sort of information somewhere else, If you are using VB, perhaps you could keep it in my.settings