Like Tree1Likes
  • 1 Post By phantomotap

Win32 API, can it inFile and outFile, like Win32 console?

This is a discussion on Win32 API, can it inFile and outFile, like Win32 console? within the Windows Programming forums, part of the Platform Specific Boards category; Hello all, I'm beginner to Win32 API I know how to program and use win32 console But I would like ...

  1. #1
    Registered User
    Join Date
    Apr 2013
    Posts
    10

    Win32 API, can it inFile and outFile, like Win32 console?

    Hello all,

    I'm beginner to Win32 API

    I know how to program and use win32 console

    But I would like to now move to programming win32, create a GUI, and can feed in data into the API and output some results is that possible?

    For example, for win32 console, I feed in some statistic data and output some results

    I have also read Charles Petzold book and look through his examples, http://www.winprog.org/tutorial/, and search online for hours to some answers. But can't find any.

    Many Thanks
    Neutral87
    Last edited by neutral87; 04-28-2013 at 09:28 PM.

  2. #2
    Registered User
    Join Date
    Jan 2013
    Posts
    24
    Quote Originally Posted by neutral87 View Post
    Hello all,
    I have also read Charles Petzold book and look through his examples,
    Many Thanks
    Neutral87
    LOL you did mean you read the title right? The book is about twice as big as the bible and you didn't find the answer to that in there? I do own the book and the answer is in there. The next time you read it attempt to follow along with the book sample codes and actually type out the example.
    But I did hear you loud and clear. You want to find some ready-made code that any idiot could use and claim it as your own.
    Sorry but the worse/best thing about programming is most everything is a DIY.
    Since you claim to have access to that book I won't recommend you to another as that one is good enough to teach you what your looking for.

    Ok sorry im editing the post to clarify something, You cannot feed anything into the api, The api is actually nothing more than a lot of functions that often time use ready made structs. What you would feed data into would be the program "you" create and then process within your program to create output. Its truely almost the same exact thing as console based programming except the use of more than 1 function is 100% mandatory.
    Last edited by jamesedmonds; 04-30-2013 at 02:52 PM.

  3. #3
    Master Apprentice phantomotap's Avatar
    Join Date
    Jan 2008
    Posts
    4,231
    O_o

    If you can't even find "WinAPI" examples, how do you find pr0n?

    Soma
    Elkvis likes this.

  4. #4
    Registered User
    Join Date
    Apr 2013
    Posts
    10
    What a pathetic joker reply, if you are selfish don't even bother to reply here thanks

    Read the title? Are you stupid? I can't imagine a 9 year old is replying my post, its okay

    Out of all the example there, the closest you describe in there is the bitmap example, not even close

    Try better next time

    Sorry, I look like an idiot same as u editing my post, as you said api do nothing more than a lot of function. This mean already that the API works different as the WinAPI vs console

    To use Charles Petzold book would be opening the files and feed those in the program to output back the result.

    Actually after your bull........ in the first paragraph you actually contributed to the forum to answer my question. Well done

    Quote Originally Posted by jamesedmonds View Post
    LOL you did mean you read the title right? The book is about twice as big as the bible and you didn't find the answer to that in there? I do own the book and the answer is in there. The next time you read it attempt to follow along with the book sample codes and actually type out the example.
    But I did hear you loud and clear. You want to find some ready-made code that any idiot could use and claim it as your own.
    Sorry but the worse/best thing about programming is most everything is a DIY.
    Since you claim to have access to that book I won't recommend you to another as that one is good enough to teach you what your looking for.

    Ok sorry im editing the post to clarify something, You cannot feed anything into the api, The api is actually nothing more than a lot of functions that often time use ready made structs. What you would feed data into would be the program "you" create and then process within your program to create output. Its truely almost the same exact thing as console based programming except the use of more than 1 function is 100% mandatory.
    Last edited by neutral87; 05-03-2013 at 04:39 AM.

  5. #5
    Registered User
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    375
    theForger's Win32 API Tutorial

    I know you already posted this. You either didn't read it or didn't understand it.

    If you didn't read it; read it.

    If you didn't understand it then ask questions about the parts that you don't understand.

    A lot of people here (myself included) learnt basic Win32 API programming using that tutorial. The tutorial is very good and I am neither willing nor able to write a better tutorial than it just for your benefit.

    If you want specific answers you need to ask specific questions.

    Sorry for all the line breaks.

  6. #6
    Registered User
    Join Date
    Apr 2013
    Posts
    10
    wow, this community forum is selfish and unhelpful

    Any prove I posted before? This is the very first time I come to this forum to register and use. Ask admin to check my IP.

    I guess I won't be posting or reading this forum again.

    If you have do your homework. All the credit goes to Charles Petzold for writing so detailed about the basics for WinAPI. Why you think theForger's Win32 API is the best tutorial?

    Have you read Charles Petzold, all the detailed information of which theForger's Win32 API tutorial have certainly plagarise it. Want prove? read Charles Petzold book

    Please read again my question title if you want specific answer.

    Maybe you are shortsighted to understand anyway.

    Peace, im out of this forum



    Quote Originally Posted by DeadPlanet View Post
    theForger's Win32 API Tutorial

    I know you already posted this. You either didn't read it or didn't understand it.

    If you didn't read it; read it.

    If you didn't understand it then ask questions about the parts that you don't understand.

    A lot of people here (myself included) learnt basic Win32 API programming using that tutorial. The tutorial is very good and I am neither willing nor able to write a better tutorial than it just for your benefit.

    If you want specific answers you need to ask specific questions.

    Sorry for all the line breaks.

  7. #7
    Registered User
    Join Date
    Jan 2009
    Location
    Australia
    Posts
    375
    Right...
    Most of what you said doesn't really have anything to do with what I said, so I'm not going to bite.

    Please read again my question title if you want specific answer.
    "Win32 API, can it inFile and outFile, like Win32 console?"
    I don't understand this question. Maybe it's just me and everyone else gets it but the replies (or lack thereof) in this thread seem to suggest otherwise.

    Peace, im out of this forum
    Ok.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Win32 Console Application event handlers, or Win32 Project?
    By Joewbarber in forum C++ Programming
    Replies: 1
    Last Post: 03-29-2013, 07:02 AM
  2. infile,outfile,struct
    By Deo3 in forum C++ Programming
    Replies: 3
    Last Post: 03-16-2013, 04:33 PM
  3. Win32 Console App... multiple console buffers
    By Trauts in forum Windows Programming
    Replies: 2
    Last Post: 04-28-2003, 11:26 AM
  4. dos to win32 console
    By lambs4 in forum C Programming
    Replies: 3
    Last Post: 04-05-2003, 10:04 AM
  5. Console App Vs Win32
    By Jez_Master in forum C++ Programming
    Replies: 1
    Last Post: 04-07-2002, 05:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21