Hello, a while ago I wrote a chat program in Rapid-Q, and now I want to transpose it to HotBasic. The socket programming differs, and I get some error...
Here is one example of how to outfit sockets. Im sure there are other techniques. I forgot where I got this but it works great. TallyHo LBL CREATE SockUDP AS...
... Thank you, low_beer_light, my program (the server part) compiles now, but it cannot handle a client. My old Rapid-Q thing did. It's driving me nuts, so...
The HBassistant link is now working. Thanks for your report. http://www.philipbister.ukonline.co.uk/...
Philip Bister
philip.bister@...
Apr 1, 2006 1:34 pm
9979
... My internet connection was down last night -- no 4.8e downloads. So I added INVOKE as a keyword alias for METHOD. Thus, in COinvoke.bas, you can replace...
... Please note that in both RQ and HB, CONST defaults to DOUBLE. Yet I see no DOUBLE values above. Suggest using DEFINT instead of CONST or use $OPTION DIM...
... Oh, okay, thank you. ... No, this is the server, and it should listen for connection requests by clients. Yes, the client sends text only. The CRLF is put...
... .IsServerReady, in RQ and HB, is checking if anything has been received from a network host. As such, .IsServerReady can be used in both server and client...
... A bit confusing, yes. In RQ there was a function IsClientReady. Anyway, the problem was something quite different. The Timer has a strange behavior. At...
Hello I have now posted HBide v1.77 which fixes a defect with the save procedures (in the previous version), and the highlight procedures. HBide and other...
Philip Bister
philip.bister@...
Apr 2, 2006 2:44 pm
9985
Jim I'm building a calculator and wanted to change some button colors to group the memory functions together. I want the form color to remain as the default. ...
Philip Bister
philip.bister@...
Apr 2, 2006 2:44 pm
9986
HotFind 2.2b, just posted for download, is smarter: 1. If there is only one FindIt search listing, the HotFind Result window is automatically displayed. 2. If...
... I'd like to see that, too! Actually, .Color works for many members of the Windows BUTTON class -- GROUPBOX, CHECKBOX, RADIOBUTTON. For HB's BUTTON member...
Hi, all I've just posted activex.zip in Files/Code Center/Emmazle It consists of a core file, activex.inc, along with 2 examples. Just include activex.inc in...
... because void is undefined. What code and data in variant to you want for that? ... I'll reverse that -- so you don't have to; the whole idea was to ...
... OK, I just updated hot.exe (Apr 2) to recognize "void" as a parameter coding it as type 10 and value &H80020004. =====COinvoke.bas $APPTYPE CONSOLE:...
... It is reversed manually in the user's code! Instead of calling: obj.invoke("method",a,b,c,d) for now one needs to write obj.invoke ("method",d,c,b,a) ...
... I agree, this should be added. However, following your solution, one also needs to push nRam, so as to deal with the case of code re-entry (always and...
Hello, I have one more question: How can I set the connection to non-blocking mode? I know, there is something in the help files, but it does not work anyhow. ...
Hello Emmazle Very nice exemples. I have changed type ACTIVEX extends LABEL to extends canvas redraw is much better if your activeX is sizeable This reply is...
defint PSR, pr CREATE peerPR AS SOCKET FAMILY = 2 Type = 2 Protocol = 17 END Create PSR = peerPR.Open(54640) pr=peerPR.NonBlock(PSR) The above example...
... ...because .NonBlock() is a function not a method. Here's a snippet from HotSauce.bas: r=peer.NonBlock(s) where r is a long result value, peer is...
... Not anymore. Have you seen the BEGIN/END THREAD code block -- use it and you don't put nRAM on the stack. Actually, your wrapper is not written to allow...
I read somewere that a button needs to have the style OwnerDraw(&HB) to take color changes. And then you need to draw the button. Couldn't we create a bitmap...
Apr 3 HotBasic 4.8f adds a new category of keywords -- native Custom Object members: Invoke as SUB (alias Method as SUB), GetNum as FUNCTION and GetStr as...
... You're kidding! OK, I missed that! So I'll do the reverse thing for an updated hot.exe release in about an hour or so. [actually, I already wrote the...
... Actually I think re-entry can occur. What I had in mind is that Invoke can trigger an event and the event handler can in turn call Invoke. As for using...