I am trying to utilize the function WNetGetConnection with BCC7 and I get link errors like:
_WNetAddConnectionA
_WNetGetUserA
_WNetConnectionDialog
_WNetDisconnectDialog
_WNetGetConnectionA
_WNetCancelConnectionA
What do I need to add to my link script to get this to work?
Thanks,
Using WNetGetConnection()
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Using WNetGetConnection()
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Using WNetGetConnection()
This function is listed in the Fivewin fwfun.chm, just using BCC7 as the compiler along with Harbour.
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services
Re: Using WNetGetConnection()
Try adding mpr.lib to your linker batch file.
-
- Posts: 254
- Joined: Sun Nov 06, 2005 3:55 pm
- Location: Southern California, USA
- Contact:
Re: Using WNetGetConnection()
That worked, Thank you...
c:\bcc7\lib\psdk\mpr.lib
I was shelling out to "net use m:>m_net.txt"
Parsing the file.
This is so much better.
Thanks again...
c:\bcc7\lib\psdk\mpr.lib
I was shelling out to "net use m:>m_net.txt"
Parsing the file.
This is so much better.
Thanks again...
Thanks,
Byron Hopp
Matrix Computer Services
Byron Hopp
Matrix Computer Services