-
All about Exe
Hi Everyone,
My question is that. I want to write a program , and i want the final exe to be run on every windows i mean from 98 to xp . so what is the best programming language is i can use. Here i mean that user final exe should not depend on dll or virtual mach.. like java and .net . i want the exe to use windows exe and should be small in size.
An other question i wana ask , which is the best software by which , i can find out all the funcation in exe and dll files including there funcation prototype or signature.
An other question is that who can i find about a program that which programming language was used to create that. Thanks every one .
-
hm i dont know every answer, but i have anice little utility with which u can view some code (dll, exe...etc.....)
http://www.softpedia.com/public/cat/5/4/5-4-5.shtml
-
It really depends on what you want your program to do. I do not think Java generates exe's anyways. C++, and VB are good languages.
-Cheers-
-
thanks for you replys , exe for java can be created , but i requires jvm tobe installed, i dont know much about c++, but what if i use vb 5 , because the msvb50.dll is shipped with win98 and all later windows. where as vb 6 is shipped with winme and win2k. what you think. does any one know ans to other ques.
-
Java programs are not executables, the .class bytecode is loaded into the JVM and then run. c++ creates .exe when compiled, and it is compatible on the machine it was compiled on. It can be compatible with other compilers if it follows ANSI standard with how it was written.
I don't quite think im nailing this on the head, maybe someone else can clarify the compatibility c++ has with executables on windows.
-
Pure C++ is cross platform. You get into trouble when you use API calls.
-Cheers-
-
personally id go with delphi if size and portability are an issue. vb is anything but light in size and is kind of slow. delphi can even be ported over to linux using kylix
-
I have never even tried Delphi. Mind giving me a rundown tedob?
-Cheers-
-
Well it all depend on the program you want to write be it in comand line and some times GUI then ANSI C is your best choice (My choice in fact). But for more advanced GUI's you will want to choose C++ for it was made for graphics.For cross platform you have PERL which is good for database programming however since it is interpeted it is slower but less error prone (And there is also compilers for it) and JAVA is the same as PERL. I have never touched DELPHI so i dont know about it all i do is that it was made for client server apps.
-
Hazarawood
I am assuming that your intentions are honourable :)
You might try a different approach...........the VB6 update is quite small, so why not add it to the front end of your program?
Also, there is DOS?
/me goes and dies of old age
It would depend on your program as DOS is not natural to 2k & XP, but is "supported" to some extent?
I would make the comment that a lot of software I have seen will have a 9x/Me version AND a NT version.........even if it is only the name of the windows folder that is the difference?
What is your program supposed to do?
Your proggy could check to see if the OS is NT or 9x, and use the right folder from that, just a simple loop to "a" or "b".............?
Can't help more without a bit more info on the functional requirements.
Cheers
-
There are a lot of good suggestions here, I think you will just need to look at your options and pick what suits you the best. Wanting compatability as well as small executables with few dependencies is every prgrammers dream, but you may need to strike a balance somewhere. Most languages today fall loosely into two catagories: Compiled and Interpreted. A compiled binary is source code which has been reduced to a set of instructions for use of a particular processor. These tend to be smaller and faster but because they contain instructions unique to a processors instruction set these tend to be the least portable. Interpreted languages are just that...interpreted. This means they require some form of middleware to transform the source into machine specifc operations. Since you are looking for an executable you are going to want a compiled language so that narrows it down. I see the suggestions include VB,C(++),Delphi. VB of course will require some .dll's in order to run but if you intend to use a GUI it may be well worth your while to looking into it and it will also resolve NT/98 kernel compatabilty issues for you(as long as your .dlls are all included). C or C++ will produce small code and is extremely flexible and powerful and although the binaries will not be cross platform the code should be fairly easy to port if you write standard code. However, C is known for giving coders rope to hang themselves :) so you may want to be sure you arent taking on more problems than you need and you may have to add extra code for differences in the 98 and NT API. I can't honetsly say much about Delphi because I have no experience with it, but I do know it would also be very portable although the compilers and reference material for Delphi may be a bit more obscure than for the other languages. As far as reverse engineering .dlls and such, without resorting to commercial products (which there are, if you google for them) I suggest you look into a disassembler and the GNU binutils which will let you dump information and symbols from object files.
-Maestr0
http://sources.redhat.com/binutils/d...nfo/index.html
http://en.wikipedia.org/wiki/Compiler
-
the software will call some win32 api . set some hooks . and also need full system control.i mean to create activex objects and other thing like using winsocks. i will allow the software for download . so i want it to run every where with out any more installion or other dependencies. Thank you all for support.
-
That sounds very much like virus behaviour?
I will ask once more.....................
What is the application/program?............what is it supposed to do?
I will state that I do no appreciate "social engineering"
-
the software will call some win32 api . set some hooks . and also need full system control.i mean to create activex objects and other thing like using winsocks. i will allow the software for download . so i want it to run every where with out any more installion or other dependencies. Thank you all for support.
Unless you state your intent and purpose, and EXACTLY (INCLUDING ALL of what this program will do) then I HOPE the other members dont step in your BS.
:mad:
(Edit: just review his old posts and his profile, speaks VOLUMES)
-
its a remote assistance system , i am trying to create that some one , at his box can see the desktop of the other person and can type any thing at the system event level. and also generate some mouse event , and win socks for communication. the same concept of xp remote assistance. but user can access the client legally. i think you people have miss understood what i am trying to do.
-
Ah ................you mean a RAT?
Either buy the commercial software or tell him to get XP
Have you considered that if you question were answered comprehensively it would be very embarassing for this site.....(read opening page please).....and might make members liable for the consequences of their replies?
/me blows whistle and produces red card
I think that SubSeven will do exactly what is required...............hmmmmmm........how to get it loaded and past the AV and other countermeasures..........and I have just been PMed with the perfect bit of software for him :D
-
i know that such software are avaliable , although on sourceforge.net with even sourcecode , but i want to learn my self , that i how can one create such software by itself. it will help me alot to learn . Thanks.
-
Thats fair enough, There was a discussion on AO a while back about some remote admin tools one of the senior members had coded. It was called gencontrol (i think) have a search for that.
The way the files are laid out in 2000/ XP and 9x systems are different so your going to have to allow for this.
I would suggest C or C++ and avoid api calls, as these are not the same thoughout both operating systems. Although I have no experience creating RAT's, I think these to may be your a good option.
you could use ASM, but what ever langauge you decide your going to face issues with the file layouts and different login procedures.
i2c