Hello Kenshi,
First, you received the DLLRegisterServer error message because the cviinet.dll does not have the DLLRegisterServer function in it. It doesn't need this function because it doesn't need to make changes to the registry for proper operation such as registering OLE or COM objects.
But, regarding the error you were getting with the INET functions, the last four errors all stem from the first error. If you notice, the last four errors say that there is an invalid parameter. The invalid parameter is "webserverHandle" which is returned by the INET_StartWebServer function.
Note: The INET_PanelToJPEG function doesn't return an error because the "webserverHandle" is not passed to this function.
The INET_StartWebServer could be throwing the socket error because you are running another application that is using port 80, such as Microsoft FrontPage which is a web server. Web servers use TCP/IP port 80 by default, and a TCP/IP port can only be used by one application at a time.
Try using another number (<= 65536) for the port number in the INET_StartWebServer. In order to use a port below 1024 on Unix and Windows NT, you might need to run the server as root or system administrator. Since most web browsers expect to find the web server on port 80, you will have to explicitly specified the new port number in the URL. i.e. http://youripaddress:portnumber/index.htm
Alternatively, you can also disable any other web server applications that are running on the PC.
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter