Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   Communications (http://www.xtremevbtalk.com/communications/)
-   -   Cant find DLL entry (http://www.xtremevbtalk.com/communications/327144-cant-dll-entry.html)

jkepler 07-04-2014 08:07 AM

Cant find DLL entry
 
Hi,

I'm tring to declare a function in VB6 in wlanapi.dll
Here's the function:

Code:

Private Declare Function WlanHostedNetworkQueryStatus Lib "wlanapi.dll" (ByVal hClientHandle As Long, _
                ppWlanHostedNetworkStatus As String, _
                ByVal pReserved As Long) As Long

I'm not sure if the ppWlanHostedNetworkStatus variable is a string, but that's not the error, I think (error 453)

Can someone help me out here?

Kind regards,

JKepler

Cerian Knight 07-04-2014 11:27 AM

Since I see that you've learned this API is a no-go on Win XP SP3, look here for what XP SP3 can do:
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx

This statement will always be true, however:
Quote:

Windows XP with SP3 and Wireless LAN API for Windows XP with SP2: You cannot start any UI used to connect to or configure a wireless network in an application programmatically.
... which is from here:
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx


All times are GMT -6. The time now is 05:30 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.