>>I need to register or update a OCX from my application. But the location of the OCX depend on the platform it install ( Win95/98 or Win NT).
>>
>>How can I know if it Win NT that is running or Win95/98 from my VFP applicaiton?
>
>If you are trying to guess what the system directory is by the Operation System I wouldn't assume people install all the NT's in WINNT and all the win95 in windows. If you want the system directory there is an api call called GetSystemDirectory.
Thank you !
It realy helping me. :)