Thanks for this. If I set the file as ISO-8859-1, it works. However, is there a way I can write these foreign characters whilst keeping the file UTF-8?
I know XML does actually support these characters, because I can paste the text into an XML file manually and they display fine, even if I save and reopen the document.
...
This is great thanks, exactly what I need. *I still need the return value from the launched .exe's main function, but I can look into how to do that possibly from here, even if I have to add some...
Is it possible to launch an executable in code using something like CreateProcess, but to make my program wait and not continue until the launched program has closed and returned a value?
I have a ton of zip files in different directories. I need to run a batch process (or something) that will move through each folder (starting fromam certan place) and unzip each file to the...
Okay, it's a little long-winded, but here is the function I have written to deal with this - if it's of use to anyone else. As I say, I'm a bit new so it's probably not written particularly well, and...
What I need is a little more complicated than that though, because the two absolute paths will not always be on the same branch. For example, I might pass...
I can use the SHGetSpecialFolderPath function to find a link to the current user's Application Data folder by passing CSIDL_APPDATA. However, I need a link to the Application Data folder in...
I have a tree control in my MFC dialog program which is set up to allow files to be dragged and dropped from Windows Explorer. Currently, when dragging from Explorer over a closed folder...
I'm in need of some code which will generate random serial numbers for my software. It will also need to recognise whether a serial number passed in is valid, ie. it matches the format of...
First off, thanks a lot for the help. You are exactly right, looks like I've jumped in without knowing enough about the way multithreading works. I imagined the thread would run...