Improve company productivity with a Business Account.Sign Up

x
  • 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
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
TimCotteeHead of Software ServicesCommented:
Or alternatively this sample project that uses the netremoteTOD call.

http://www.btinternet.com/~vbadmincode/code/netremotetod.zip
0
 
TimCotteeHead of Software ServicesCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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