Re: how to protect DLL
- From: "Claude Fox" <claude.fox@xxxxxxxxxxxxx>
- Date: Tue, 19 Dec 2006 06:22:30 -0500
If your dll is a vfp web application, you might want to consider limiting
the IP where it can be used to http://localhost or http://127.0.0.1 for
trial usage and then take that out for unlimited usage. Otherwise,
something like Protection Plus (www.softwarekey.com) will work with a vfp
mtdll by time limiting its usage.
Also, the lowest level of ReFox will protect the source code of a vfp mtdll.
Not sure about the latest versions of ReFox - they may even be better...
http://www.activevfp.com - free, open source foxpro web development
"Samir Ibrahim" <samir.ibrahim@xxxxxxxxxxx> wrote in message
I have created a DLL that retreive information from the internet depends
on specific creteria, what i want to protect the dll or make a demo for
other user to test it and if they like it, they can buy the full version.
The only think i could think about it is to return the value of the dll is
a messagebox instead of variable EX:
cMyresult = mydll("search") , cMyresult will open a messagebox with the
value in it while in the real version, the value is stored in cMyresult.
I have seen a activex or dll when u initialize it with createobject(), a
popup menu appear telling you that you need to register ot remove this
popup. i tried to do this but i keep getting error and i dont know what is
wrong so a little help will be appreciated.
1- how and where to call the second class (ABOUT) which is a form, when
class1 is initialized, I mean when : oMyobject =
createobject("mmm.class1") is entered. i tried to
2- is there a better way of protecting DLL?
Thanks for your help in advance
DEFINE CLASS class1 AS Custom OLEPUBLIC
*omyabout = createobject(about) : if this line is exist, when i compile
the dll it give 0 error, but when i try to use it with createobject, an
unspecified error occur.
HIDDEN PROCEDURE INIT
HIDDEN PROCEDURE ADDOBJECT
HIDDEN PROCEDURE AddProperty
HIDDEN PROCEDURE Destroy
HIDDEN PROCEDURE NewObject
HIDDEN PROCEDURE ReadExpression
HIDDEN PROCEDURE ReadMethod
HIDDEN PROCEDURE RemoveObject
HIDDEN PROCEDURE ResetToDefault
HIDDEN PROCEDURE SaveAsClass
HIDDEN PROCEDURE ShowWhatsThis
HIDDEN PROCEDURE WriteExpression
HIDDEN PROCEDURE WriteMethod
HIDDEN PROCEDURE Error
DEFINE CLASS OK AS CommandButton
Caption = "Understood"
FontName = "Bookman old style"
height = 23
left = 100
DEFINE CLASS ABOUT AS Form
ADD OBJECT lb1 as label WITH;
Caption = 'This DLL is a part of ',;
Autosize = .f.,FontName = "Bookman old style",Height =
ADD OBJECT lb2 as LABEL WITH caption = "MMC Software",;
"Bookman old style"
ADD OBJECT LB3 AS LABEL WITH;
autosize=.t.,CAPTION = "Only",Fontname = "Bookman old style",;
ADD object lb4 as label with autosize=.t.,CAPTION = "GET_ADDRESS",Fontname
= "Bookman old style",;
ADD OBJECT lb15 as label WITH;
Caption = 'Function is Working ',;
Autosize = .t.,FontName = "Bookman old style",Height =
ADD OBJECT cb as OK
THIS.AutoCenter = .T.
THIS.BorderStyle = 2
THIS.Caption = "About DLL"
this.TitleBar = 1
this.Width = 294
this.modal = 1
- how to protect DLL
- From: Samir Ibrahim
- how to protect DLL
- Prev by Date: Re: [Crystal Report 8.5] Viewer not showing a correct preview
- Next by Date: Re: how to protect DLL
- Previous by thread: how to protect DLL
- Next by thread: Re: how to protect DLL