Question : DLL compatibility on Windows 2000 and Windows XP

Hi,
My question is specific to UPnP support on Windows 2000 OS. Microsoft platform SDK describes that it is supports
Windows 2000. But, when i try to link my UPnP control point application Win 2000, there were following link errors.
up_bdy1.obj : error LNK2001: unresolved external symbol _CLSID_UPnPDeviceFinder
up_bdy1.obj : error LNK2001: unresolved external symbol _IID_IUPnPDeviceFinder
up_bdy1.obj : error LNK2001: unresolved external symbol _IID_IUPnPDevice
up_bdy1.obj : error LNK2001: unresolved external symbol _IID_IUPnPService

Apparantly, because of absence of UPnP.dll in Platform SDK for Windows 2000. Could you suggest me how to overcome this problem.

The same Application links on Windows XP (it has native support for UPnP, ie, comes with UPnP.dll)

Does failure of "regsvr32 upnp.dll" reporting "Load library failed" (on Win 2000) mean that the DLL is not meant for that OS? What could be the other possibilites in getting the error?

I really appreciate your help. Thanks.

Yenuga

Answer : DLL compatibility on Windows 2000 and Windows XP

Regsvr32 will say that if it can't find the dll.  You probably don't have it on your Win2K box.  It isn't provided (as near as I can tell) for Win2K or NT.  It seems to be just for XP and Windows ME.
Random Solutions  
 
programming4us programming4us