Yep....:) hehe, takes some time to find that out in the MSDN...
G'n'R
Type: Posts; User: G'n'R
Yep....:) hehe, takes some time to find that out in the MSDN...
G'n'R
Hi,
I am moving forward with my win32 api research :) I am currently working on toolbars. I have manage to create and add a toolbar (using createWindowEx). And also buttons with images etc. ...
hehe, ok....dosnt say that here, but then again...got old msnd documentation...
Ta....
G'n'R
he he, ok, i just found this code after a search on the board. This works perfectly. But whats exactly is happening. I understand the everythig expect the return statement. Is this returning to...
Hi All,
I need to know whats going on here :) I am working with edit controls. I have been trying to change the background brush on them, but cant seem to be able to access the background. I...
Hi,
Ok, i can see what you are doing from the above code. You are getting the default callback for the handle and replacing it by you own. Very cool....And with that i "probably" can catch key...
Hi,
By subclassing do you mean creating and filling in a new WNDCLASSEX variable and setting a winproc function there. After that registering it for so to create....
G'n'R
Hi,
Ok, will try that out....:) Still wondering how the input to it works. e.g.
I type a single character in edit contorl e.g d
In the display it gets repeated for a while. e.g.
...
Hi,
I am trying to catch the VK_RETURN message from a edit control in my window app. I have created a main window which i them add a edit control like this:
sendTextHandle =...
Hi all,
hehehe.....the program works. It worked all the time. My mate didnt enter ip correctly. duh....But i have tested it with others and its all happening. Cooool......
Ok...onwards...
Forgot to mention:
I have also testet locally with my internet connection. that is:
I connect to the net. Get my client address from there. e.g
123.234.45.12. I then use that address in my...
Hi,
Yep i have testet it. I have testet it locally on my computer (running both server and clint from my mashine) and testet on a local network. e.g. connecting my computer to another and...
Hi all,
Can someone confirm something i think i allready got the answer to :)
My socket program:
Its going great. I have tried it on a local network and it works.
However, the next test was...
Yo,
Ok, i will take that onboard. Right now i am using a 128byte block and fgets, but will experiment a bit on that....Right now i need to write a read funtion and implements some kind of packet...
hmmmm, that dosnt sound cool at all :) Buffer overflows? I am currently reading in the tutorial about writing read/write functions that ensures all data is sent and recieved. e.g. loop on...
Yep, will do. It all works locally. And i have also tried locally using the internet address i get when i connect to the internet. That work to. So i guess the next test is to send the client to...
Hi,
So it dosnt return before you hit enter. However, buffer sent is only filled with us much char as specified in count (if count specified. Cool, in that tw post of the use of fgets is...
Yo,
Thanks for the replies. I have to look at this later. My brain is dead by the socket program i am writing. However, seems i have misunderstood fgets. I though the function internally...
Hi Hammer,
Thanks for you replies. Could you be a little more specific about
your first answer. >>yes, provide....
Is there anything specific i need to do or take into account when trying...
Hi all,
I am trying to use fgets to read input from user. The funtion works fine enough, but according to the spec. fgets should only read until number of char are read according to length sent...
Yep, and i got a lot more :)
But what i have done so far seems to work pretty good. But could you answer this.
Does this work over the internet. e.g. if i connect to the internet
with my...
Hi all,
This socket thing is going great. I solved the blocking thing by using threads. My question is if the way i am doing it is the best way. What i am doing is:
I create a thread a...
Yo,
Dont worry about it :)
After actually concentrating and looking threw the code without fear i managed it. Got rid of heaps of wrong if testing and typos. Its working :)
But who can...
Yep, cool. However, the server side wont bind to it. Keep getting error: Unalble to bind to port??
Here is the code. I am real new to sockets (so i have probably left out a few bits...
Hi All,
I am having trouble with Beej's Guide to Network programming. I understand the tutorial but...
I have (tried) written a client and server app. That is. 1 exe for
client and one for...