Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
aGetFileVersion & Windows 98
Message
From
30/07/1999 17:04:40
 
 
To
30/07/1999 15:56:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00248341
Message ID:
00248405
Views:
10
>>>>This function runs in Win95 and WinNT but seems to fail in Win98. Anyone have information on this?
>>>
>>>I just did
>>>? AGetFileVersion(aFileVer, home()+"VFP6.exe")
>>>and it worked correctly, what problem do you seem to be having?
>>
>>OK, I'm not ready to admit being an idiot just yet<grin>. Try this...
>>
>>Build your application and press the version button (must be creating an exe or dll) and fill out some of the version information. Then run aGetFileVersion on the EXE file that you created. It should refuse to populate the array you passed as a parameter.
>>
>>Thanks for your help!!
>>
>>...tim
>
>Nope, worked ok from the command window. What is it returning? 0?

I have ruled out agetversion and the way the builder writes the version information (thanks to your help) and have determined it to be a behavior of how windows 98 reads/writes version information to/from a Novell Server.

I am compiled the program on WinNT(4.0,SP5) which creates an EXE that contains version information that can be read on any machine except Win98. I compile the same application on Win98 and it creates an EXE with version information that can be read on any machine. Here is the wierd part - if I manualy map root a drive on the win98 to the network folder where the EXE is contained I get version information on the file that was complied on WinNT.

Moving on...

...tim
Previous
Reply
Map
View

Click here to load this message in the networking platform