yeah... I tried Sleep() and included <windows.h>... There was no change in the results though :(
Type: Posts; User: manudathg
yeah... I tried Sleep() and included <windows.h>... There was no change in the results though :(
Hi,
I am trying out some simple stuff on C... I am trying to run them in MS Visual studio 6.0 on Windows... For every small function that I add to my program, I get a linker error (and not a...
Same problem
Linking...
Thread_Run_Tests.obj : error LNK2001: unresolved external symbol _Sleep
Debug/Thread_Run_Tests.exe : fatal error LNK1120: 1 unresolved externals
Error executing...
The error is while linking:
Error:
Thread_Run_Tests.obj : error LNK2001: unresolved external symbol _sleep
Debug/Thread_Run_Tests.exe : fatal error LNK1120: 1 unresolved externals
This was...
Thanks a lot guys... It worked finally....
I had probelms executing even the small statement: _beginthread... Later I found out that I need to specify "multi-threading" options to the compiler...
Thank you!
It almost worked, except that I have another problem:
#include <stdio.h>
int main() {
system("C://WINNT//NOTEPAD.EXE");
system("taskkill /F /IM notepad.exe");
Hi,
I want to open and close an .exe file (e.g; Notepad.exe) from a C program... I can open it using
system(".exe path"); But I don't know how to close the application from the program... Any...