|
You may be get some error or warning at during convert.
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
thanks, but I wanna know that is there any conversion tool for this ???
|
|
|
|
|
Ok. This is what I did and it worked.
BUT..... As a disclaimer; I'm not responsible for any loss or corruption of data.
You can take it or leave it.
Open .sln file in notepad.
Change 10.00 on the first line to 9.00
Change Visual Studio 2008 to Visual Studio 2005.
Save and close the file.
Open .vcproj file or files in notepad.
Change Version="9.00" on line 4 to Version="8.00"
Save and close the files.
I'm not sure in what conditions, this is going to fail, but like I said it always worked for me.
Now you can write a tool to do this convertion.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Thanks. It worked for me also. You are really a superman....
|
|
|
|
|
It did not worked for me.
After following the steps, still theere are error in conversion and application is not converted.
|
|
|
|
|
I want to build a 7z password brute force cracker. The problem is I have an entire 20 GB worth of backed up data in a 7z file containers and Have failed to find any retail software solution. RAR looks like the only AES encrypted archive type being messed with...
So now comes the problem that I dont know jack beans about building software as I am a System Admin and Not a Developer. So I purchased a copy of Visual Studio 2008 Standard for 50 bucks off ebay. I want to make the fastest bit per second app I can that's why I chose C/C++. I would also like it to be made Multi threaded as I hear that Multiple core processors can make great use of these type of apps..
Bear in mind that I have no training in writing code. But I do learn fast so any help wold be appreciated..
**Edit** PS It was locked with symbols in the password but it is not longer then 8 characters in length.
Thanx in advanced DarC.
|
|
|
|
|
I was looking for a punch-line .. then figured you were serious.
Ok, even if you went to
http://www.7-zip.org/[^]
downloaded the SDK, and we could show you how to use it, do you not realise you're going to grow very old before you can break the AES256 Bit encryption - you'd need serious computer power to do this brute force ...
'g'
|
|
|
|
|
I have a duel I7 Extreme with 16gb of ram on a NV Personal Super Computer.
And I am looking to do it via cmd line because I will be using Server 2008 Core to break the password...
So no external apps will be running at the time I run this...
I did take a couple of classes in cryptology about 2 years ago so I know what I ask is an amazing concept for most to comprehend!
~DarC
P.S. I have the SDK.
modified on Saturday, March 14, 2009 2:57 PM
|
|
|
|
|
Maybe this http://rarcrack.sourceforge.net/[^] could help. As far as coding is concerned 7z implements AES-256 Bit encryption which is very very hard to crack. Even password of length 8 could take months or even several years to crack considering that characters of password are known. Otherwise you might not even get to the desired password in your lifetime. For coding you may generate your own combination of password strings and test them for correct password calling functions of 7z sdk....
|
|
|
|
|
I know That's why I am enlisting the help of you guys... I have tried rarcrack on FreeBSD Command interface [No UI Logistics loaded] It completed a 10 password search @ just under a billion passwords per minute. With no result. I asked the person that had packed it at that point about what possible passwords he would use and to my dismay I found he used special symbols in some of his passwords as to make them stronger...
So I am stuck looking for help else where...
P.S. I do however know that from a Russian website that some people were able to yield incredible results using the Video cards of their particular PC's as auxiliary CPU power. I think they were able to do a fully successful crack of a 12 Char AES Password in about a month worth of processing time.
|
|
|
|
|
Get the command line version of 7z (from the site) and call it using a dictionary. You may be able to get a password guessing algorithm and dictionaries for other products like word and use that.
(The program could actually be quite simple, using ShellExecuteEx() or CreateProcess() to spawn the executable; you monitor the process handle between launches. In theory you could launch several instances at a time, but 7z may lock the file.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine.
- P.J. O'Rourke
|
|
|
|
|
hi friends...
I have have stored the time and voltage values in an array..How to store the array values into the access database in MFC. I have used microsoft office chart 10.0 for plotting graph..But when i have clicked on excute button error was coming???
Is there any better tool to plot graph in MFC??
quick reply is appreciated.
Thanks a heap..
|
|
|
|
|
May be it can help u
CString stcpd, endcpd, atr, ss, cont;
GetDlgItemText(IDC_STARTCPD, stcpd);
GetDlgItemText(IDC_ENDCPD, endcpd);
GetDlgItemText(IDC_ALTERATIONRATE, atr);
GetDlgItemText(IDC_STEPSIZE, ss);
GetDlgItemText(IDC_CONTRASRT, cont);
CButton *r = (CButton *) GetDlgItem(IDC_REVERSAL);
CButton *on = (CButton *) GetDlgItem(IDC_ONOFF);
CDaoDatabase ndb;
AfxGetModuleState()->m_dwVersion = 0x0601;
ndb.Open(Protocol_path, TRUE, FALSE);
CDaoTableDef ntd(&ndb);
AfxGetModuleState()->m_dwVersion = 0x0601;
ntd.Open("Custom_Protocol");
CDaoRecordset drs;
AfxGetModuleState()->m_dwVersion = 0x0601;
drs.Open(&ntd, 1, 0);
drs.AddNew();
drs.SetFieldValue("test_stratagy_name", (LPCSTR) P_Name);
drs.SetFieldValue("start_cpd", (LPCSTR) stcpd);
drs.SetFieldValue("end_cpd", (LPCSTR) endcpd);
drs.SetFieldValue("step_cpd", (LPCSTR) ss);
drs.SetFieldValue("Alternation_rate", (LPCSTR) atr);
drs.SetFieldValue("contrast", (LPCSTR) cont);
if(r->GetState() == 1)
drs.SetFieldValue("type", "Reversal");
else if(on->GetState() == 1)
drs.SetFieldValue("type", "On\\Off");
drs.Update();
drs.Close();
ntd.Close();
ndb.Close();
|
|
|
|
|
I'm having trouble using the code that MFC app-wizard spits out for a custom dialog as the base class for another few custom dialogs.
My problem is that I can't seem to write (or borrow) the simplest app possible that is able to instantiate one of my dialog classes.
I copied Nishant Sivakumar's simplest MFC app in the world, FirstProg.zip, from somewhere on the internet, which looks something like this:
class CNWinApp : public CWinApp
{
public:
BOOL InitInstance();
};
#include <afxwin.h>
#include "NWinApp.h"
CNWinApp app;
BOOL CNWinApp::InitInstance()
{
CFrameWnd *pnframe=new CFrameWnd;
m_pMainWnd=pnframe;
pnframe->Create(0,"Buster");
pnframe->ShowWindow(SW_SHOW);
return TRUE;
}
</afxwin.h>
This also looks like the generic code for testing a CDialog based class generated by MFC AppWizard. I replaced the CFrameWnd bit like this
CMyGuiDlg *pGuiDlg= new CMyGuiDlg;
m_pMainWnd=pGuiDlg;
pGuiDlg->DoModal();
return TRUE;
I can compile & run this project, and nothing shows up on the screen. If I compile and run the original AppWizard-produced project, the dialog (CMyGuiDlg) will show up no problem.
I've also tried to write my own CWinApp derivation in a Win32Console App project, and got it to compile & run by calling _tWinMain(...), however my program was exiting as fast as it started.
I think I need to use CWinApp as the basis for my program, and AfxWinMain(...).
What am I missing?
Currently I have resorted to creating all the dialog derivations in the same project, so that I can use the AppWizard generated test files to run them. I had hoped I could have a different project for each derivation.
|
|
|
|
|
When you say nothing appears... does the app actially close? You can debug the program line by line.
My guess is that you forgot to set the WS_VISIBLE bit in your dialog settings...
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
Hi,
I'm reading a file using istream , i have to search for a filepath in the first file. If file path is found, i have to read the contents of file path and insert in the first file?
How to insert a file contents?
How do i increase the file size of the first file when appending with the second?
Thanks for reply,
Mayur M
|
|
|
|
|
Appending the second onto the first? Something like this ought to work:
std::ofstream firstFile(whatever, std::ios_base::ate|std::ios_base::binary|std::ios_base::out);
std::istream secondFile(somethingElse, std::ios_base::in|std::ios_base::binary);
std::copy(std::istream_iterator<char>(secondFile), std::istream_iterator<char>(), std::ostream_iterator(firstFile));</char></char>
Inserting the second file in the first file at a position other than at the end? Yeah, you do that by constructing a third file from the first and second and then (if that's what you want to do) replacing the first file with the third file.
You can't easily insert something into an existing file.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Its not appending at the end, its inserting the second file in the middle of the first file?
|
|
|
|
|
As I said:
Inserting the second file in the first file at a position other than at the end? Yeah, you do that by constructing a third file from the first and second and then (if that's what you want to do) replacing the first file with the third file.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
|
No advertising here.
Message reported as abuse.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
17 minutes and your message has not been deleted. prepare to get the wrath ....
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
Hi.
I need to generate a regular expression.
I use to do this by hand, in cases like the following:
I have:
340000000000000 349999999999999
and
370000000000000 379999999999999
they represents ranges, then I store in a database the following regular expresion:
3[4,7]%
That's easy.
But there are cases like:
6221260000000000 6229259999999999
that it's not so simple, but I used to solve that, (in this case with a few of regular expresions similar like the one above), but my head start to hurts.
And, you know, there are another ranges that need very complex regular expressions.
So, my question is:
Somebody knows about a tool, or program (or maybe a class that I could use in my program) that it could help me to build regular expressions like the ones above, just with the input of that ranges?
Or maybe someone have some useful ideas about it.
I know, maybe this is not the right forum to post that, but I thought, just because I'm using C++...
Any help or hint will be appreciate it.
Thanks.
Demian.
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."
-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )
|
|
|
|
|
First, realize that not all sets of numbers can be represented by regular expressions. For example, the set of all prime integers cannot be represented as a regular expression. Now, one way to represent the set of real numbers between 143 and 163 is as follows:
143|144|145|146|147|148|149|150|151|152|153|154|155|156|157|158|159|160|161|162|163
The problem is with this approach is that the range of numbers may be quite large and the corresponding regular expression excessively large. Here is another regular expression that is
smaller for the same range:
143|144|145|146|147|148|149|15(0|1|2|3|4|5|6|7|8|9)|160|161|162|163
I am thinking with this as a start, you can develop an algorithm for an arbitrary range and the regular expression is not going to be so big as to be unmanageable.
I hope I helped you and feel free to ask a follow up question.
Bob
|
|
|
|