Work with the device and support for the zero configuration function. Thus, users can search the device on the network and simply double-click the icon to access the web interface without configuring it or recognizing its IP address.
Tried to use UPNPLib_TLB, but functions seem to be read-only; I'm right? I can create a device using CoUPnPDevice.Create but cannot set FriendlyName or URL.
I tried to use the Deltics Bonjour service , but it works when I create (ACCESS_VIOLATION). The demo code uses a customizable test unit, which complicates the experiments.
After much research, it doesn't seem like there is a component available for this, and would appreciate some pointers. Has anyone successfully created a zeroconf transfer via UPnP or Bonjour with Delphi XE2 / 5. I can return to Delphi 7 if necessary. Target = Windows 7.
NOTE. To be clear, I can find existing devices on the network and do not want to list existing devices, but what I want is to broadcast my service so that, for example, my box behaves like a network printer. The only service I need to provide is a URL so that users can access the embedded web server.
Appreciate the help!
EDIT
With the advice provided, I did some research and having done this, the RAD path is not possible.
MS API C, . Delphi 5/Indy 7 XE2/5 .
UPnP Intel : UPnP. 10-15 . Intel DLL, VS Express , :
device = UPnPDevice.CreateRootDevice();
device.FriendlyName = 'My name';
device.PresentationURL = 'URLToEmbeddedServer";
..
headconv7 .h Intel UPNP.DLL pascal DLL Delphi, .
, Intel UPnP, , .NET VS Express .