0

Hello Everyone

Currently, I am using system("dir") method to call system calls.
I want to know any other method for system calls in VC++ 2008.
How can I call system call in VC++2008 without using system(" ") method?

Any help would be appreciated
Thanks

4
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by krishnad
0

Can you please give some examples of kernel or user APIs ?

how can i write system("dir") to kernel or user API level?

Thanks

1

ShellExecute is a Windows kernal api for doing what you are asking.

Each OS will have a different way of doing things so expect to use #ifdef/#endif pairs if cross-platform support is ever needed.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.