Progress
Open Client
Developer’s Guide
Replacing a Lost Project File
If you lose an existing project (
.pxg
) file and have to use ProxyGen to recreate it and regenerate an ActiveX proxy again, you must rebuild any Visual Basic or C++ executable that uses the generated proxy (.dll
) file.When you create a new project in ProxyGen, it generates a new class ID that it stores in the proxy file generated for the project. The ActiveX Controller references the proxy using the same class ID. If you try to use the newly-generated proxy file with the existing executable, the two class IDs will not match and the ActiveX Controller fails trying to locate the proxy during execution.
For any proxy that you generate with an existing project, rebuilding the associated ActiveX Controller executable is not necessary. ProxyGen maintains the same class ID for all versions of the proxy that you generate from the same project unless you explicitly tell it to do otherwise.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |