Forum: C++ Sep 2nd, 2008 |
| Replies: 1 Views: 286 Hi, im having a bit of trouble when it comes to outputing a path to a folder and not a file. Firstly Im using borland c++ builder 6 and it does come with an open and save dialog feature. My problem... |
Forum: C++ Aug 29th, 2008 |
| Replies: 7 Views: 1,701 Ive been trying to look that up for a while now using the 'help' provided by the borland compiler but i cant seen to find anything that i can make sense of unfortunately |
Forum: C++ Aug 29th, 2008 |
| Replies: 7 Views: 1,701 i guess i used the wrong terminology there. I think LVS_EX_FULLROWSELECT is the same as enabling the rowselect in the properties of the listview. Anyway now whenever i select an item in my list it... |
Forum: C++ Aug 29th, 2008 |
| Replies: 7 Views: 1,701 Hi, sorry but the link doesnt appear to be working?
I have enables row select from the properties of my listview but Im just having problems calling it |
Forum: C++ Aug 29th, 2008 |
| Replies: 7 Views: 1,701 hi, im using borland c++ builder and I have created a list view which contains 4 colums of data. Im happy with this bit however I would like to make it so the user can select a row from the listview.... |
Forum: C++ Aug 6th, 2008 |
| Replies: 9 Views: 855 sorry im just not following totally. Can DISK_GEOMETRY not just be called by
DISK_GEOMETRY jdg;
striaght in the code for the button without placing it in a seperate function and calling... |
Forum: C++ Aug 6th, 2008 |
| Replies: 9 Views: 855 Hi, thank you for your quick reply. Im not sure what you mean by passing the address of the structure, and not the struct itself?
I thought i was by passing it the 'pdg'?
sorry i bet im... |
Forum: C++ Aug 6th, 2008 |
| Replies: 9 Views: 855 its not a "Monkey Job" whatever that is. I wanted to try and place this function into a simple GUI so that when someone presses a button it would show the disk information. Im pretty new to the GUI... |
Forum: C++ Aug 5th, 2008 |
| Replies: 9 Views: 855 yer i thought people would think doing this would be stupid. I thought the way this would work would be removing the GetDriveGeometery function and define everything in there, in main. Then if i made... |
Forum: C++ Aug 5th, 2008 |
| Replies: 9 Views: 855 Hi, i think i have a pretty random question here and something i thought i would be able to do but unfortunately im struggling. I have an example I have found on the msdn website. It works fine... |
Forum: C++ Jul 28th, 2008 |
| Replies: 1 Views: 396 Hi, I have a dialog box and basically I have set it so that the user can select multiple file. When it is set to just select 1 file I can get the string for the path of the file by
AnsiString... |
Forum: C++ Jul 27th, 2008 |
| Replies: 5 Views: 586 I've been studying that website and I still cant find out whats going on. Im new to borland c++builder 6 and usually work in command line. It does have a tree view pane item that I can add onto my... |
Forum: C++ Jul 27th, 2008 |
| Replies: 5 Views: 586 That looks very useful but as far as writing my own I wouldn't know where to start unfortunately :( |
Forum: C++ Jul 27th, 2008 |
| Replies: 5 Views: 586 Hi, I have a console application that works fine. The users puts in the path of a folder and my program looks at every file in that folder. This is exactly what I wanted only now I'm moving it over... |
Forum: C++ Jul 9th, 2008 |
| Replies: 2 Views: 836 hi, I was wondering if it is possible to get the last write, modified and create times and dates for registry keys and values? The below registry key is the one im interested in. I have a program... |
Forum: C++ Apr 11th, 2008 |
| Replies: 0 Views: 406 hi, im just after a bit of input from some of you guys as reagrds to a new programming task i thought i would try and attempt. I would like to create a histogram of an image. I hope ive got my... |
Forum: C++ Apr 9th, 2008 |
| Replies: 13 Views: 2,581 i was using what i thought would be a gud example but possibly not. My program requests user input for the folder which contains the files for examination then i have two further functions to process... |
Forum: C++ Apr 9th, 2008 |
| Replies: 13 Views: 2,581 thank you for your help. Im getting there!! just one last question. is it possible to pass each value of temp (the path) to and ifstream outside of the loop? i know it mite sound random but its the... |
Forum: C++ Apr 9th, 2008 |
| Replies: 13 Views: 2,581 as string g contains the directory name, how can i use that string in my file stream to specify a path. I thought i could do the following but its returning lots of errors
ifstream infile... |
Forum: C++ Apr 9th, 2008 |
| Replies: 13 Views: 2,581 what i have done is store each path in a string called file name. I am trying to pass this variable to an ifstream now but im not sure if it will work as im getting a lot of errors. |
Forum: C++ Apr 9th, 2008 |
| Replies: 13 Views: 2,581 hi guys, thanks again for your great help. The example that you provided below is exactly what i am after. Instead of printing i would like to access each file individually so i can preform the same... |
Forum: C++ Apr 7th, 2008 |
| Replies: 13 Views: 2,581 i did think that i could possibly go down this route but there are 0ver 2000 files which would be a nightmare to open each one in my code.
Is there not like an open folder and read all files... |
Forum: C++ Apr 7th, 2008 |
| Replies: 13 Views: 2,581 Hi, at the moment i have a program that examines a file, does some processing and then outputs the results in a file.
Is it posible to examinemultiple files stored in a folder all at once, then... |
Forum: C++ Apr 6th, 2008 |
| Replies: 10 Views: 1,443 this is my final post, ive got my program working now so just wanna say thanks for you help and patients Acient Dragon! nice one:) |
Forum: C++ Apr 6th, 2008 |
| Replies: 10 Views: 1,443 my time stamp is stored in little endian format which is why i stored each byte into a seperate variable so that i could then reverse the bits? Will the function do all this for me or will i need to... |
Forum: C++ Apr 6th, 2008 |
| Replies: 10 Views: 1,443 This is an example of how im storing the time stamp:
in ascii my time stamp is: |þ+ÚNã@
unsigned char _1,_2,_3,_4,_5,_6,_7,_8;
infile.read (&_1,sizeof (_1)) ; |
Forum: C++ Apr 6th, 2008 |
| Replies: 10 Views: 1,443 thanks ancient dragon. ive just got a couple more questions then hopefully il be sorted! 1st one is that OleTimeToSystemTime is bringing up an error as an undefinded function. This stumped me a... |
Forum: C++ Apr 5th, 2008 |
| Replies: 10 Views: 1,443 thanks, i was doing a bit or research and i came across this function. Ive been reading up on it and i think its exactly what ive been looking for. Do you know of any examples how this function can... |
Forum: C++ Apr 5th, 2008 |
| Replies: 10 Views: 1,443 I was wondering if there is a way to convert an OLE date and time into a readable format using c++?
I have looked at some of what time.h offers but cant find anything to convert OLE
thanks |
Forum: C++ Apr 5th, 2008 |
| Replies: 1 Views: 1,716 hi i have the following hex string 40 E3 4E DA 04 2B FE 7C and i need to convert this to 39541.813009259260. I believe this is a hex to ieee float conversion. I thought that it was a case of viewing... |
Forum: C++ Apr 3rd, 2008 |
| Replies: 3 Views: 498 Thank you very much that was exactly what i was after |
Forum: C++ Apr 3rd, 2008 |
| Replies: 3 Views: 498 hi sorry to double post, ive fixed it "ish". I have used , ios::app to append to my text file, however is there a way to break the file up by placing an empty line every time my program writes to the... |
Forum: C++ Apr 3rd, 2008 |
| Replies: 3 Views: 498 hi, im having trouble when outputing the data from my program. i am trying to output numerous amounts of data into 1 txt file when running through a loop, but everytime it writes to my file it... |
Forum: C++ Mar 28th, 2008 |
| Replies: 3 Views: 1,220 i know that match_criteria 1 wont appear because all of the images in my text file are separated by 11 bytes of 00x0. Thank you for your help, however ive never herd of a sliding window before and i... |
Forum: C++ Mar 27th, 2008 |
| Replies: 3 Views: 1,220 Hi i have my code that finds every instance of my search criteria in a text file and tells me the position in the text file it is located at. The next step i want to do is stream the bytes that... |
Forum: C++ Feb 22nd, 2008 |
| Replies: 5 Views: 695 Hi, sorry i guess im not explaining to good. Im using windows XP. I would like to get all user processes that are stored in the RAM and other thing. I'm trying to do a forensic examination into RAM... |
Forum: C++ Feb 22nd, 2008 |
| Replies: 5 Views: 695 Basically i am only interested in the contents of the RAM. If i could get a copy of all of the information in RAM - this is what im after trying to program |
Forum: C++ Feb 22nd, 2008 |
| Replies: 5 Views: 695 hi, i am totally new to this and i would appreciate some advice or if you guys know any articles i could look at to research. I want to create a program that will copy the contents of RAM to another... |
Forum: C++ Feb 7th, 2008 |
| Replies: 11 Views: 2,168 I've fixed it!! my bad, i had a code typo :( Thanks VernonDozier your help has been much appreciated!!!!!!! |
Forum: C++ Feb 7th, 2008 |
| Replies: 11 Views: 2,168 i think ive narrowed it down to something that is going wrong in my code earlier on to do with the string '7A 72 FC FF'. In little endian, when transformed to decimal on a calculator is gives... |