Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WNetOpenEnum
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00185007
Message ID:
00185028
Views:
45
>>>>Win98
>>>>Which DLL has the definitions of WNet API functions. I've tried using NETAPI32.DLL and I get no entry point found in .dll. I've only tried it with WNetOpenEnum so far. Also, where is a 'complete' list of Windows System API calls and where they are located? The MSDN disks only say windows95 or above and list the .h and .lib filenames but not the .dll and I don't have a developers reference. Maybe I'm looking in the wrong place?
>>>
>>>Use the WIN32API catchall; I believe the .DLL for this call is SVRAPI.DLL under Win9x, but I'm not 100% certain. WIN32API works for the WNet family calls, which use different .DLLs under different operating system and operating system versions.
>>
>>Hi Ed,
>>
>>According to the SDK it's MPR.DLL which is why the Win32API declaration works. SVRAPI isn't one the of the DLLs that VFP searches.
>
>I shouldn't try answering off the top of my head before the third cup of coffee. Thanks for the correction.

You're welcome. I've done the same myself many times.

BTW, I used your example of detecting whether or not DCOM was loaded as the basis for a function. I'm going to use this as part of a post setup executable, that'll install it if it isn't. So I need to thank you 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