Search:

Type: Posts; User: dicky

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,614

    What's with this -> operator?

    Seen quite a bit of code example with -> in them, like this

    *hostEntry->h_addr_list

    but what's this -> as it does not seem to be mentioned in the various tutorials I've been learning from ...
  2. Replies
    5
    Views
    3,146

    @anonytmouse Yep you're right it is meant as a...

    @anonytmouse
    Yep you're right it is meant as a sort of access control. Problem is I'm working with already existing client and host software so can't mess about with the protocol, without...
  3. Replies
    5
    Views
    3,146

    resolving names and ip addresses

    Hi guys
    I hope this is the right place to ask this. I have a project I need to code up and just want to sort some basic ground rules first.

    I have various clients connecting to a port on a...
  4. Replies
    1
    Views
    3,176

    Printing in WinAPI applications

    Hi guys
    Well I'm still learning and still getting there...

    Here's my latest - MSDN has loads of info but it's hard to filter the info that I really need to know.

    I have my first ever WinAPI...
  5. Replies
    4
    Views
    3,952

    Ken Thanks for the info - it's a multiline edit...

    Ken
    Thanks for the info - it's a multiline edit control soyour advice may seem the most appropriate

    About EM_SETSEL it says this

    wParam
    Specifies the starting character position of the...
  6. Replies
    10
    Views
    4,119

    I'm just a beginner and I had some "inexplicable"...

    I'm just a beginner and I had some "inexplicable" problems with CreateWindowEx failing - see my post and the eventual solution here

    http://cboard.cprogramming.com/showthread.php?t=53292

    It may...
  7. Replies
    4
    Views
    3,952

    displaying text and numbers in an edit control

    Hi folks

    I'm still learning so this is probably a dumb question.

    I know how to use SetDlgItemText() and SetDlgItemInt() to display information in an edit control.....

    but what I want to do...
  8. Replies
    4
    Views
    2,880

    Thanks Ken, that fixed it. Is this a common...

    Thanks Ken, that fixed it. Is this a common problem when taking examples written in C? I guess I can use the same method in a lot of situations. Perhaps I need a good tutorial on type casting as...
  9. Replies
    4
    Views
    2,880

    Question: GetStockObject()

    Can some kindly person please explain what is wrong with this snippet of code from TheForgers WinAPI Tutorial?

    LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
    {
    ...
  10. Replies
    4
    Views
    2,960

    Thanks for the help guys - I did sort out the...

    Thanks for the help guys - I did sort out the problem with my program.

    It turned out not to be that CreateWindowEx was failing as such.

    Actually I had some error in the structure of a Switch...
  11. Replies
    4
    Views
    2,960

    Beginner Question: CreateWindowEx Fails.

    Hi folks

    I'm only a learner. Been working through The Forgers WinAPI tutorial and sorting errors I make as I go along is a great way to learn. But now I'm a bit stumped.

    I've got a program...
Results 1 to 11 of 11