Thread: win32 application

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    31

    win32 application

    Im learning how to write win32 applications right now and Im wondering what I need to do in order to provide updates for my program.

    For example....I make a program that connects to a server and does something. Say something in that program needs to change though because the server has changed the way it handles things, or say theres just a bug fix or an added feature. What do I have to make in order to make this happen. Thanks

  2. #2
    Registered User
    Join Date
    Feb 2003
    Posts
    7

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> Im learning how to write win32 applications

    I should do that first. There are ways of modifying programs behaviour, but none of them are really beginner material.

    For very simple applications probably the easiest way is to have all the functionality in one or more .dll's and should a change be needed, swap the .dll. This will only work for simple app's and .dll's and only then if you are careful.

    *** EDIT ***

    src: Socket programming will help him write his initial program, but won't help him change what it does later, which is, I believe, what he is asking.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Registered User johnnie2's Avatar
    Join Date
    Aug 2001
    Posts
    186
    If you were referring to a program that automatically downloads patches from a web server, Winsock would be the way to go. The HTTP-based online patcher source code in the downloads section of odin's Ninjas.dk site might be helpful.
    "Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C

  5. #5
    Registered User
    Join Date
    Feb 2003
    Posts
    31
    My question is more of how to create patches and how to design the program to accept patches. I realize this is more advanced but its just something Im looking into for the long run of what I want to start learning. I'm thinking of buying a book on win32 applications but theres many books that Im looking at buying right now. Not sure what order they'll all fall in.

  6. #6
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Look for the 5th edition of Charles Petzolds book "Programming Windows", usually quoted as the definitive work. It does assume you are using a Microsoft compiler though, some of the examples don't work if you use Borland etc. Herbert Schildts "proogramming Windows NT4 from the Ground Up" is a little more neutral.

    Both books are starting to get out of date again.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. win32 application wizard in microsoft visual studio
    By stanlvw in forum C++ Programming
    Replies: 4
    Last Post: 02-25-2008, 01:26 AM
  2. Adding interface to Win32 console application
    By motiz in forum Windows Programming
    Replies: 5
    Last Post: 01-03-2008, 03:17 AM
  3. making a stealthy win32 console application?
    By killdragon in forum C++ Programming
    Replies: 3
    Last Post: 09-08-2004, 02:50 PM
  4. Painting with Tex on a Win32 Application
    By webzest in forum C++ Programming
    Replies: 5
    Last Post: 08-16-2004, 03:04 PM
  5. How To Convert A Dos-Prompt C++ PRogram Into Win32 Application ?
    By SonicWave in forum Windows Programming
    Replies: 1
    Last Post: 09-15-2001, 11:03 AM