- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any way for my customer of a DLL (built in CVF) to see or discover how the call statement and dummy arguments (over 30) look like to write his own code to call my DLL? If yes, is there any way to prevent this?
Sabalan
Sabalan
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - sabalan
Is there any way for my customer of a DLL (built in CVF) to see or discover how the call statement and dummy arguments (over 30) look like to write his own code to call my DLL? If yes, is there any way to prevent this?
Sabalan
Sabalan
The best way is to prevent the dll from being loaded by any program except your own. I'm not sure how to do this, but I would guess you would have to do something in DLLMain to test for a key that only you know.
A method involving more work is to add, inside each routine in your dll,a function call to test the contents of a registry key (it could be encrypted) that your own calling program initialises and sets. If the key is not found, just return without doing anything,putting up a message box to that effect, with a warning,and probably crashing the calling program, or execute a STOP, with a warning message box.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page