Type: Posts; User: Jim1981
Search took 0.01 seconds.
November 21st, 2005, 09:24 AM
Aha, great. That's all worked. Thanks a lot!
November 21st, 2005, 05:44 AM
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?
If so, how do I do this? If I add the UTF-8...
November 18th, 2005, 10:41 AM
Thanks for the responses.
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.
November 18th, 2005, 06:28 AM
I'm having some problems writing foreign characters to xml files.
Here is a snippet of my test code:
myFile.Open("test.xml", CFile::modeCreate | CFile::modeWrite,...
January 5th, 2005, 05:12 AM
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...
January 4th, 2005, 12:25 PM
Thanks, but as far as I can tell ShellExecute returns right away and doesn't return the value returned by my launched program's main function.
I need my program to wait until the launched program...
January 4th, 2005, 10:48 AM
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?
October 27th, 2004, 05:54 AM
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...
September 1st, 2004, 09:01 AM
Right, thanks Marc.
Just thinking now about the quickest, easiest way of sorting out my problem.
Is it possible to run an executable from my program and get a return value from it when it...
September 1st, 2004, 08:18 AM
Hi. Need some help here.
Is it possible to find a special folder on another machine over a network?
Currently I use SHGetSpecialFolderPath to find the All Users folder on my machine, but how...
August 17th, 2004, 09:00 AM
Can't rewrite it 'cause I don't gots time! ;)
August 17th, 2004, 06:40 AM
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...
August 17th, 2004, 06:19 AM
Cheers Kheun, that's helpful.
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...
August 17th, 2004, 05:43 AM
Okay Andreas, thanks.
If anyone has already written anything like this, it would be a real help if you could show me the function.
August 17th, 2004, 05:18 AM
...return the difference between two absolute paths?
For my project, I need to pass two actual paths to a function so I can set the relative path of the second actual path passed.
Thanks. but in my version, there is no CSIDL_COMMON_APPDATA, only CSIDL_APPDATA. Where can I get the new header file or whatever it is I need?
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...
April 30th, 2004, 08:35 AM
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...
March 23rd, 2004, 10:53 AM
I have an MFC Dialog based application with comboboxes.
I need to change the drop height of the combo box plus the type (Simple, Drop Down, etc) in code.
ModifyStyle() doesn't seem to be...
March 15th, 2004, 06:39 AM
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...
March 15th, 2004, 06:16 AM
I have a program which runs a worker thread on startup like this:
_param = new THREADSTRUCT;
_param->_this = this;
March 2nd, 2004, 06:10 AM
Is there not a unique CPU serial number or somesuch?
March 1st, 2004, 12:09 PM
Is there something like a unique machine ID that I can retrieve so I can save a file and when opened, know if it was saved on the same machine?
I don't want people using my saved files on...
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!