Ok thanks, sorry I didn't think it would be relevant to mention but I will be writing to the file with one of the WCF services as well.
But would what you said still apply?
The file handle only...
Type: Posts; User: (TNT)
Ok thanks, sorry I didn't think it would be relevant to mention but I will be writing to the file with one of the WCF services as well.
But would what you said still apply?
The file handle only...
Thanks, problem is i dont have any way of cross-thread/inter-process communication.
Im working with WCF and each consumer of a service needs to be able to read the file, then there's multiple...
Hey guys,
I'm just wondering how to use a TextReader in different a different process/thread on the same file in a thread safe way, just so i don't get screwed if the files already open for...
Thanks for the info, and sorry i didn't provide more information. The reason i was looking into it was for a form of stenography, the data is already encrypted i was just wondering if i could extend...
Hi,
I am wondering what the possibilities are for writing files to an unpartitioned area of a disk, i.e the free space area. Now this would obviously mean i would have no file system or partition...
Thanks alot
Hi,
If i have a pointer to a vector what is the correct syntax to access an element of the vector?
For example:
void myfunc(std::vector<std::string> *p)
{
That seems to have fixed the problem, thanks very much for the help, much appreciated.
Thanks, the entire code below, i would like to stick with the vector container if at all possible, i have modified my loop/erase code to 'attempt' to re validate the iterator, but it still doesnt...
Hi,
Im trying to remove an element from a vector inside a loop using an iterator, which it seems I am doing incorrectly.
for(vector<bomb>::iterator bm = bombs.begin(); bm!=bombs.end();...
Hi,
Ive written some code to decode a file, and write the decoded data out to a new file, the problem is at the moment its incredibly slow, it processing the file character by character and it...
Hi,
I'm trying to write a decoder for Yenc, the compression algorithm is as follows:
1. Fetch a character from the input stream.
2. Increment the character's ASCII value by 42, modulo...
Hi
I have just finished first year of a BSc degree in Computer Science, now even though I am 2/3 years away from going into work, I really want to get a plan sorted out now.
I am quite...
If you disassemble the program you can normally tell from the output, e.g Visual basic looks very different to C/C++ disassembly, same with virtual machine code i.e Java/C# cant be spotted easily...
Hi,
This is probably a stupid question, but is there anyway to view the contents of an std::string variable in the Visual Studio 2005 debugger in the same way as its easily possible to look whats...
Hi,
Does anyone know how i can find out the transfer speed of incoming data into my program? Im using standard TCP sockets, and need to get the data from my recv() call.
Any simple ways of...
Thanks alot, how do i use stringsteams getline?
Im trying this
stringstream MyStream;
group_list.push_back(MyStream.getline(glist, glist.length()));
Sorry should have mentioned, the data is pulled in from a socket connection, i didnt choose to use the \r\n chars.
Hi,
Theres probably a really simple way of doing this but i cant work it out :\.
I have a string which contains this sort of data: "group1\r\ngroup2\r\ngroup3\r\n..."
I'm using \r\n as the...
Woops sorry, please could a mod move to C# :(
Hi,
I'm trying to download the web page source code from a HTTPS URL, my code is as follows:
System.Net.WebClient WC = new System.Net.WebClient();
...
Hi,
Im having problems trying to update my GUI controls from a new thread i have created, i get an exception about cross threading. I have looked around and found i need to use a delegate and...
Hi,
I need my program to store a password, in a file. And the program is going to be open source.
So baring in mind the encryption algorithm will be easy to obtain, the security rests in the...
Hi,
I cannot seem to find any info on how to set the tab orders of child controls in a standard window (not a dialog). Any ideas on how to approach it?
Thanks
Jack
EDIT: Thanks ive got it working now :)