Thread: Windows Api calling in[ Borland C ]

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Question Windows Api calling in[ Borland C ]

    hi allforums

    I'm from M.K university computer programming 2. I read in the classroom

    I have homework in class C.
    Borland C to call windows api. located on the desktop. ppt file running C code. [ use windows api ]

    example :
    Code:
     if(CreateProcess("C:\\Documents and Settings\\user\\Desktop\\dijital suc.ppt",

    please help me.

    thank you ....

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Try reading the documentation for CreateProcess() to start with. The first argument is the name of the application (an exe file that is MS-powerpoint in your case). The second argument can be used to supply command line arguments, such as the ppt file.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  3. #3
    Registered User
    Join Date
    Mar 2010
    Posts
    3
    my brother, I do not know me code c Are you the author?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Want to learn Windows API for Game Programming
    By George M. in forum Windows Programming
    Replies: 15
    Last Post: 09-28-2008, 10:26 AM
  2. Windows API: Edit Box Help
    By Frantic- in forum Windows Programming
    Replies: 2
    Last Post: 08-30-2005, 07:00 PM
  3. Windows messenger API
    By GanglyLamb in forum Windows Programming
    Replies: 0
    Last Post: 07-10-2005, 02:52 AM
  4. I dont know Windows API...
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-07-2004, 06:24 PM
  5. MFC or Windows API
    By aresashura in forum Windows Programming
    Replies: 7
    Last Post: 12-01-2001, 10:21 PM