Xtra for PC Guard
PC Guard is a professional software protection and licensing system. With PC Guard you can easily protect Windows EXE/DLL/OCX and .NET applications from illegal distribution and reverse engineering. You may create demo versions of your executables, which expire after a predefined number of days or uses of the protected software. The software licenses may be locked on the current hardware and operating system, avoiding the use of a license issued for one user by another person. More information on the SofPro web site. I am not a reseller, only a satisfied customer of the product.
Macromedia Director e Authorware can be used to build rich content, interactive training or games, integrating interactive audio, video, bitmaps, vectors, text, fonts, and more - and export your work as a "projector", which allows your customers to experience your finished work.
You can use PC Guard to "wrap" around any Director projector or application build with Authorware, and create an application with a demo period, where you can set the number of days and executions allowed until the demo expires. After that period, the user will need to enter an unlock code to be able to continue using the projector. Uninstalling and reinstalling the projector will not renew the demo period.
Using the Xtra we developed, you will be able to interface PC Guard with the Director or Authorware product, using simple Lingo methods. It should be very easy to create a projector that behaves in one way while still as a demo version, and in another way when a valid license is present. You may wish to show a nag-screen or display the number of days left in the demo each time the projector is run. It is up to you how you use the data PC Guard offers you as a developer, and with this small Xtra you have easy access to this info.
If you are a licensed user of PC Guard for Win32 or .NET, you may request your copy of the Xtra by e-mail: SofPro.
A simple example:
On startMovie
set pcguard = new(xtra "PCGuard")
if (pcguard.getDemoModeActive() = 1) then
set uses = pcguard.getDemoUsesLeft()
set days = pcguard.getDemoDaysLeft()
set the text of member "info" = days && "days and" && ¬
uses && " executions until end of demo"
else
set the text of member "info" = "Not in demo mode"
end if
end startMovie
Suppose you have a member in your cast named "info", then the text in that member could be, after execution of the Lingo above, like this::
info: 5 days and 27 executions until end of demo
Licensed users of PC Guard may receive the full Xtra, with several other functions not shown in this example, as well as concise documentation and examples for Macromedia Director and Authorware. The software is made available for free, but if you make money using it, a small donation as recognition for my work is very appreciated. Please click the button below.
Here you can download a protected Director projector demonstration, to see how the Xtra may work. The Xtra included in this project features only a subset of the functions available in the full version.
Download demo projector (1.35 MB): pcgdemo.zip
If you need further info, please use our contact form.
This product was tested successfully with Macromedia Director 7 and MX 2004, as well as Macromedia Authorware 7. The Xtra is a native Windows application and will not work on MacOS.


