Oh, yes. I used Plug-and-Play Tester(http://noeld.com/programs.asp?cat=dstools#UPnPTest) and got:
Description: High Speed USB Print Server
DeviceType: urn:schemas-upnp-org:device:PrintServer:1
FriendlyName: Print Server PS-22E21D
Manufacturer: D-Link
ManufacturerUrl: http://www.dlink.com/...
I used UDP multicast to address 239.255.255.250 on port 1900 and sent the string as:
tmpstr:='M-SEARCH * HTTP/1.1'#13#10
+'HOST: 239.255.255.250:1900'#13#10
+'MAN: "ssdp:discover"'#13#10
+'MX: 3'#13#10
+'ST: upnp:rootdevice'#13#10#13#10...
I know that navigation keys (Tab, BackTab, the arrow keys, and so on) are unaffected by KeyPreview because they do not generate keyboard events.
But I really want to handle Navigation keys with OnKeyDown event.
I added the codes as follows, but it still does not work:
procedure...
Hi,
Use the following code to change system menu item text. It works well, but the icon on the left of the item disappeared. The same problem is with AppendMenu function.
Any help?
procedure TForm1.ChangeSystemMenuItemText;
const
strCLOSE = 'Close This Window';
var
SysMenu : HMenu...
Thanks all.
Delphi7 uses Indy9.
I remove it and install Indy10.
Put a TIdUDPClient on the form and set its IPVersion=IPv6, then get my PC's addr by:
GStack.LocalAddress
The answer is still IPv4 addr, not IPv6(I do have IPv6).
GStack.LocalAddresses return the same IPv4 addr.
Any help?
whosrdaddy, thank you for your rapidly answer.
I used Delphi 7, does it use Indy9 or Indy10?
If delphi7 used Indy9, should I install Indy 10?
Thanks a lot
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.