• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

API

Hi
 I am facing problem in using functions of netapi32.dll in Vb on 98 machine.
Whnever I use any function of this dll, I get error message that Entry point not found
How can I use this dll for winsock programming.
 
0
ngomte
Asked:
ngomte
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
All DLLs are not COM DLL. You cannot register non-COM DLLs. This DLL is a pure DYnamic Link Library and to use it you must use Declare statements into your VB app.
0
 
ngomteAuthor Commented:
i have declare the functions
Public Declare Function NetRemoteTOD Lib "netapi32.dll" (yServer As Any, pBuffer As Long) As Long
Private Declare Function NetApiBufferFree Lib "netapi32.dll" (ByVal pBuffer As Long) As Long
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
TimCotteeCommented:
Or alternatively this sample project that uses the netremoteTOD call.

http://www.btinternet.com/~vbadmincode/code/netremotetod.zip
0
 
TimCotteeCommented:
Actually looking a little further, neither of these functions are supported in win9x/me/ce only in NT/2000/XP I am afraid.
0
 
deightonCommented:
seems to suggest that 98 doesn't support the function.
0
 
MoondancerCommented:
50 points refunded, item moved to PAQ at zero and closed.
Moondancer - EE Moderator
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now