Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registry Entries for Windows 2000
Message
 
To
08/05/2001 13:44:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00504627
Message ID:
00504890
Views:
24
>I've checked and I have administrative rights on my pc. Could it be because there is no reference to Windows 2000 in the case structure of the code for CASE ATC("Windows NT",OS(1)) # 0 in the init procedure?

I've seen this, but I really don't think it has anything to do with the problem. First, the DLLs are the same. Second, the main properties that are initalized (such as This.nCurrentOS) don't really come into play. What it's doing is defaulting to Win9x. If, for some reason, the system path was referenced in initializing the DLLs, then there'd be a problem. They use Win32API.

You might try modifying the code so that you can be sure that this doesn't come into play. I believe, from what I've heard, that OS(1) returns "Windows 5.0". I don't have a Win2K box to check, but it's simple to do. Just add and OR statement and check for that.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform