|
You can't get back to the original C++ source because the original variable and function names are not present in the compiled executable.
|
|
|
|
|
Why he cant write it again if he doesnt source code?
|
|
|
|
|
Are you nuts or what ?
he says Tom lost it and you ask him to re-write !!??
if you can not answer keep quiet brother
redindian
|
|
|
|
|
dharani wrote: if you can not answer keep quiet brother
if i ask same from you??
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
Hello Alok
Understand what I mean . The person who came to the forum clearly has STATED his friend TOM has lost the code and WhiteSky asks him why not Tom re-write the code . Does n 't it seem to be mockery to you ?
Well , I am not here to pin point somebody's errors but I do notlike careless questions and answers which will irritate people ....
I have nothing personal against anyone ...
redindian
|
|
|
|
|
dharani wrote: Does n 't it seem to be mockery to you ?
Not necessarily. It was a legitimate question. Unless it was a huge application, re-writing it is not out of the question, and it would likely end up being better than the original.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
dharani wrote: I have nothing personal against anyone ...
you may be right! but it semms personal flamming to me.. but may be i am wrong.. any way continue your good work
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
Whats your problem? maybe you think you know all things!??
|
|
|
|
|
I think "tough shit" is the most appropriate response here.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Well The Program itself is very large to me, the Exe itself is several megabytes large. And when I decompiled it and saved it as ASM format there was over 1.8 million lines of code, this is something that has taken a Long Time to create and would take a very long time to remake. Is it not possible to convert an exe back into C++ language?? I have it all in ASM, but I want to somehow Convert The ASM code into C++.
|
|
|
|
|
What part of "tough shit" didn't you understand? If all you have is the exe, the best you can expect is assembly language.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Well your "Tough Sh*t" wasn't tough enough, I was able to decompile it to C using Boomerang.
|
|
|
|
|
I created a CDialog application. To support multilingual version. I created some different language dlls which only contain the resource. But I don't know how to change the dll when the application is running.
|
|
|
|
|
|
I know how to load res-only-dll in MDI app. But in CDialog app, it seems a little different. I can't change the dll on the fly.
|
|
|
|
|
the function is WinMain()
the parameter is "-a 123 -b 456 -c 789"
How to get "a", "3" ,"456" ,"7";
thank you very much.
|
|
|
|
|
Use GetCommandLine() to get the EXE's command line. If you're using the MS CRT, you can also use __argc and __argv which work like argc and argv do in console-mode apps.
|
|
|
|
|
the program is win32 program,not console program.
the MSDN says there must be 4 parameters.So, I can't use __argc and __argv.
Can you give me some codes to resolve the problem?
thank you very much.
|
|
|
|
|
as Mr Dunn had said you can use GetCommandLine to reterive the CommandLine argument! why don't you use that... also __argc and __argv are available if you are using MFC !
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief
|
|
|
|
|
I am a beginner.
Now the parameter of the winmain is "-a 123 -b 456 -c 789",I want to analyse the parameter.
in main(int argc char **argv),I know argv[1] is "-a",argv[3][0] is "-" ,and argv[5][1] is "c".
But from the MSDN ,I find the return value of the GetCommandLine() is "The return value is a pointer to the command-line string for the current process".
How to achieve the target just as main(int argc char **argv).
thank you
|
|
|
|
|
abruzzi wrote:
the program is win32 program,not console program.
So.
abruzzi wrote: the MSDN says there must be 4 parameters.So, I can't use __argc and __argv.
You have access to __argc and __argv regardless.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
__argc and __argv aren't parameters to a function. They are set up by the CRT, and you can access them any time.
|
|
|
|
|
I have a project built using VC2005.It uses some lib files.But if the lib files was built using VC2005,it works well.But if there has some lib files which was built using VC6.The VS would show me some error that can't open the lib file.
But I indeed using some lib file I don't have its codes,how should i resolve such problems?(using VC6 lib files in VC2005)
Thanks.
|
|
|
|
|
make sure in your project file it know how to find that lib file, are you doing this?
1. project -> properties -> linker -> general
in the general section: make sure to point to the lib file in, "additional library directory" files
2. then under the "input" section of the linker, "additional dependencies" put in the name of you lib file you will be linking to, if more than one, separate them with a space.
Yours Truly, The One and Only!
|
|
|
|
|
Hi all, i found out that my char array wont work with a string so i was recommended to std::vector. I've never used it before and im looking for information on how to use it, closest i've gotten to a explanation is this http://www.roguewave.com/support/docs/sourcepro/edition9/html/stdlibref/vector.html]
but i dont understand the concept. Im bascially trying to use an array of strings with the aide of this vector. If anyone would like to explain a bit or have a better site to go to i'd appreciate it. Thanx in advance!
Here's the offending code.
<br />
char* randomlist[]={<br />
"Test", "Huh"<br />
};<br />
#define SIZEOFAR 2<br />
<br />
bool randomchar(){<br />
string _random = random;<br />
srand((unsigned)time(NULL));<br />
BUF = "SEND " + _random[rand()%SIZEOFAR] + "\n";<br />
SendToServer(BUF.c_str());<br />
return true;<br />
}<br />
<br />
|
|
|
|