Table of Contents

Distributing Your Applications


 

Be sure to read and understand the license agreement before distributing your applications that use the Flipper CAD Control.

This page discusses the following topics:

Installing on a Client Machine
Additional Distribution Notes for MSVC
Files not to be Distributed
Internet DLL Distribution to be Discontinued

 

Installing on a Client Machine

In order for client machines to run your application containing the Flipper CAD Control, you must install the run-time library. This is done by running the FlpCADRT.EXE file on the client machines. FlpCADRT.EXE can be found in the directory where the control was installed (typcially your windows directory, followed by \Flipper\Flipper CAD Control).

The run-time version does not allow development with the control; it merely allows clients to run applications that use the control.

The client machine must also have the wininet.dll and shlwapi.dll files installed on it in order to take advantage of the internet functionality within the control (these are not provided by the FlpCADRT.EXE file). These Microsoft .DLL's are available with installation of Internet Explorer 4.0 or greater.

 

Additional Distribution Notes for MSVC

The first step to distribute Flipper CAD Control with your MFC application is to license the control in your code.

When MSVC generates the wrapper class for Flipper CAD Control one of the methods generated is Create(). There are two version of Create() generated, one with a license string parameter and one without. To distribute Flipper CAD Control you must enter the first line of the FlpCAD.lic file into the license string parameter. Below is an example of how to call Create for licensing purposes.

_bstr_t lic("insert license string here");
// Create the control
m_cFlpCAD.Create(NULL, WS_VISIBLE, CRect(0, 0, 350, 350), this, IDC_FLPCADCTRL1, NULL, FALSE, lic);

Once you have verified the license information is being passed to Flipper CAD Control correctly, you simply need to add the FlpCADRT.EXE runtime install to your install procedures.

 

Files not to be Distributed

The license file (flpcad.lic), as well as the LPK file (flpcad.lpk, for usage over the Internet), are not to be distributed. The license file is solely for use by the developer. The LPK file may be used by a single server for using the control in a web page.

 

Internet DLL Distribution to be Discontinued

In order to use Internet functionality in the control (i.e., loading saved files from a URL via CadLoad), the Windows .DLLs WININET.DLL and SHLWAPI.DLL must be on the client machine. We will no longer distribute these files in FlpCADRT.EXE in future versions of the control.

Instead, to use the Internet functionality in the control, make sure to install Internet Explorer, which provides the necessary .DLLs.

 

See Also

Usage with the Internet, License Agreement

 

Last modified on: Tuesday, February 04, 2003