![]() |
|
#1
|
||||
|
||||
win32 file opening and running other programsTwo quick questions
1.How do you tell CreateFile() or the other win32 API file functions to write or read in binary insted of chars? 2.Otherwise how do you run one program from another (i want this because i will just create a console mode converter program and then tell it to run on the file) and pass values to the called program (like command line params)? __________________
Forgive my english (I am english i just can't spell) PS:What do you think of the avatar, i drew parts myself |
|
#2
|
|||
|
|||
Re: win32 file opening and running other programsI don't know about the windows api file binary thing but to open another process you can use the windows api function CreateProcess().. it is documented pretty well in the MSDN so that hopefully can tell you everything you need to know.. if you have trouble using it give this thread an update.
|
Recent GIDBlog
Prepping for deployment by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| current drive number? | alcoholic | CPP / C++ Forum | 20 | 07-Jan-2006 19:36 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The