I'm searching google for BELOW_NORMAL_PRIORITY_CLASS but haven't found any good documentation. can you recommend a source?
or let me know the small snip of code that will set my program to run in...
Type: Posts; User: netiad
I'm searching google for BELOW_NORMAL_PRIORITY_CLASS but haven't found any good documentation. can you recommend a source?
or let me know the small snip of code that will set my program to run in...
getdisk.cpp:32: error: `PROCESS_MODE_BACKGROUND_BEGIN' undeclared (first use
this function)
getdisk.cpp:32: error: (Each undeclared identifier is reported only once for
each function it appears...
Hello,
I've tried that link above but I can't get it to work. I don't think I am doing it right. How do I implment it in C/C++
thanks.
Hello,
When I compile the below I get 2 warnings.... warning: deprecated conversion from string constant to char*
How can I make this warning go away? I am using a lot of compile time warning...
Hello,
I am writing my program for windows and I am wondering how I can make my program run below low priority. If you know the code to set do this please let me know.
thanks.
Hello,
Currently I use the following code which works.
void file_write (){
FILE *file;
file = fopen("c:\\windows\\Temp\\poop\\toadd.txt", "wt");
fprintf (file, "%s", "\nWritten by...
What do these delimiters mean %31[^\\]%n
This is how it is used.
sscanf(ptr, "%31[^\\]%n", field, &n) == 1
what is the %31 ? etc....
your right.
great thanks. That code is better than mine.
Just out of curiousity how can I edit the code below so chdir (buffer); will work?
#include <stdio.h>
#include <stdlib.h>
#include...
while i'm in the program.
so if i change the directory to C:\fun
i can then list the directory and write something there.
then go to C:\happy
then move a text file in there etc...
i want the...
so without all my code. how can i change to a specified directory and stay their. then do a dir to see the contents of that directory?
well if i do a dir with message it lists all the files of the dir in message.
even if i type system ("cd c:\fun"); it won't stay there. not even chdir ("c:\fun"); will stay there, it just enters...
Hello,
In my code if I use chdir (".."); then issue system ("dir"); it shows a list of the previous directory which is what I want.
However if I pass chdir my built string chdir (message) it...