I wanna to use the exec command in my program,I don't mean in the user defined function.. Anybody knows how to do that? pls help me!!thanks!:)
You can't - it's a debugger command, not a 'C' function. You cannot use it in your own 'C' programs.
What exactly did you want to do with it, anyway?
In the debugger, set a breakpoint on the line of code where you want the EXEC to happen. In the breakpoint definition, have it run the exec command you wish. Jon