PRB: No Version Info if COM DLL/EXE is Built under Windows 98

ID: Q235119


The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 6.0
    on the following platforms: Win95, Win98


SYMPTOMS

When the properties of a Visual FoxPro COM server, either EXE or DLL, (created with Visual FoxPro 6.0 with the Visual Studio Service Pack 3 updates) are displayed, there is not a version tab even though version information was entered into the EXE or DLL when it was built.


RESOLUTION

Build the EXE or DLL with Visual FoxPro 6.0 running on the Windows NT operating system instead of on Windows 95 or Windows 98.


MORE INFORMATION

This problem only occurs with Visual FoxPro 6.0 with the Visual Studio 6.0 Service Pack 3 updates, running on Windows 98 or Windows 95. The original release of Visual FoxPro 6.0 without the Visual Studio 6.0 Service Pack 3 updates does not exhibit this problem.

To determine if you have the Visual Studio 6.0 Service Pack 3 updates, pull down Visual FoxPro's Help menu and choose About Microsoft Visual FoxPro. The version will be listed as "Microsoft Visual FoxPro 6.0 SP3."

Additionally, this only happens to COM servers. Run-time EXEs that do not have an OLEPUBLIC class do not have this problem. Note that to build a DLL from a Visual FoxPro project, there has to be at least one OLEPUBLIC class in the project.

Steps to Reproduce Behavior

  1. With Visual FoxPro 6.0 installed onto Windows 98 or Windows 95, create a new project named test.pjx.


  2. Install Visual Studio 6.0 Service Pack 3. This will make several updates to your installation of Visual FoxPro 6.0.


  3. Using Visual FoxPro 6.0, create a new project named test.pjx.


  4. Add a new program file to the project. Place the following code in the program file and save it as test.prg:


  5. 
    * This is a comment 
  6. Add a new class to the project. Name it "test," base it on the custom class and save it in test.vcx


  7. With the Class Designer open, choose the Class Info command from the Class menu. Check the OLE Public checkbox. Choose OK to exit and save the class.


  8. In the Project Manager, choose the Build button.


  9. In the Build Options dialog box, choose the Version button and enter a version number and any other information desired.


  10. Build your choice of a:


    • Win32 executable / COM server (exe)


    • Single-threaded COM server (dll)


    • Multi-threaded COM server (dll)


  11. Once test.exe or test.dll is built, go to Windows Explorer and select the file. Right-click the file and choose Properties from the Short Cut menu. The ALT+ENTER key combination can also be used to bring up the properties once the file is selected.


  12. Note that there is no version tab in the properties sheet for the file. The version and any other information that was entered is not there either.


Additional query words:

Keywords : kbProjManager kbVFp600 kbWinOS95 kbWinOS98 kbVS600sp3bug kbGrpFox kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: December 30, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.