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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to prevent others using my dll?

Status
Not open for further replies.

aliinal

Technical User
Jun 26, 2001
104
TR
I've written some dlls.
but i want to block other programmers using them. How can i prevent it? I want only my program can use it but not others'

thanks
 

As part of the arguements passed in to each API call you could pass a key that could be validated internally by the dll. If the key is not valid it throws an error.
 


ActiveX Dlls?
So much for passing arguments when initializing the Dll class..... *******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top