What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » What makes it tick? C++? VB?

Pages: (3): « First [ 1 ] 2 3 » Last »
What makes it tick? C++? VB?
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. Undecided  What makes it tick? C++? VB?
I was wondering, what is all windows programs written in. I heard most of them are in C++ is that true tho? What about VB?
[Image: top.gif]
04-25-2004 07:22 AM
Profile PM Web Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
RE: What makes it tick? C++? VB?
depends which windows programs realy :S

its possible to say, you can do alot more in c++
04-25-2004 07:27 AM
Profile PM Web Find Quote Report
Anubis
Elite Member
*****

Avatar
42

Posts: 2695
Reputation: 64
33 / Male / Flag
Joined: Oct 2003
RE: What makes it tick? C++? VB?
I believe Calculator was made with Visual Basic (I don't have any ground for that it's just that making small applications like that is easy in VB). I don't know C++ nor do I pretend to but some stuff I see in Windows applications couldn't be done with VB. So it'd say it a mixture of both...
[Image: anubis5hq.png]
04-25-2004 09:01 AM
Profile PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
RE: What makes it tick? C++? VB?
No calculator was made with C++.
If you reshack it will you see it thingys.
You cant do this if the program is writen with VB
YouTube closed-captions ripper (also allows you to download videos!)
04-25-2004 09:26 AM
Profile E-Mail PM Web Find Quote Report
Anubis
Elite Member
*****

Avatar
42

Posts: 2695
Reputation: 64
33 / Male / Flag
Joined: Oct 2003
RE: What makes it tick? C++? VB?
Yeah I just did it then...looks like I'm wrong :(...but it does look like a VB application...the first VB application I made was an adding machine actually...no point to it really...but I attached it so you can see where I was confused

.exe File Attachment: Adding Machine.exe (20 KB)
This file has been downloaded 284 time(s).
[Image: anubis5hq.png]
04-25-2004 09:52 AM
Profile PM Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: What makes it tick? C++? VB?
quote:
Originally posted by anubis_kree_
eah I just did it then...looks like I'm wrong ...but it does look like a VB application...the first VB application I made was an adding machine actually...
Looks doesn't matter and say nothing.... You can make the same in ASM if you like...

As far as I know, not a single application of Windows is made in VB, and all in C++...

quote:
Originally posted by Mike2
If you reshack it will you see it thingys.
You cant do this if the program is writen with VB
Reshacking doesn't say a thing also... A VB-application can also have resources to look at in reshack...

Reshack only views RESOURCES, nothing more. If the program doesn't use resources then there is nothing to see (this goes for any programming language). Don't think of reshack as the ultimate tool of which you can do almost anything. I suggest to read about what resources actually are in the helpfile of reshack...



Although, this said... it is true that most VB programs don't have dialog and string resources (etc...) because the dialogs and strings the VB-program uses are stored in the compiled code and not in resources...

So instead of using reshack (which only can view resources which don't realy tell a thing), look at the program with a debugger tool or something to find out which DLL's the programs needs (also strong indicator) or use a hexadecimal/binary viewer to look at its bits and bytes. If the program isn't compressed with an executable-compressor, you can get very good hints there if you know what to look for:

a) __vbaxxxxx can indicate VB-programming. Although C++ programs in theory could also use these routines, 99% changes are you got a VB-program...

b) MSVBxxxxx.DLL is a typical DLL needed for VB-programming.

c) text1, text2, Frame1, Frame2 are standard default names for controls and frames in VB. This also indicates that the programmer didn't change the default names to a more proper name (lazyness?).

d) Project1 is the default name for a new project you make in VB. (Again lazyness?)

e) FRM_SIMPLE is a typical indication/name of a simple frame in VB.

f) Browsing thru the bits and bytes, you will always find huge gaps with nothing in VB-programs.

g) R6009, R6002 are typical errornumbers in C++.

h) You often find these kind of routines in C++-programs.

i) Microsoft Visual C++ Runtime Library... Need I say more ...

j) msvcrt.dll is a typical DLL needed for VC++-programming.

And of course there are many more indicators. If you find many of those, you can be pretty sure of the language in which the program is written...

[Image: attachment.php?pid=232203]

btw: Every programming language has his own typical "indicators" like that...


.gif File Attachment: hexview.gif (27.72 KB)
This file has been downloaded 521 time(s).

This post was edited on 04-25-2004 at 11:53 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-25-2004 10:45 AM
Profile PM Find Quote Report
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
RE: What makes it tick? C++? VB?
quote:
Originally posted by CookieRevised
As far as I know, not a single application of Windows is made in VB, and all in C++...
there are a few (very few) that are written in asm like the kernel loader (boot manager) and maybe some parts ot ntdll.dll, hal.dll, etc (oh, well, they aren't applications, anyway... :P)

The rest, of course, are written in VC++.

About the rest of applications not included in the installation of Windows, they're written in C/C++ mostly, a few are in VB, a few (i'd say less then vb ones) in Delphi and the rest are in dodgy languages (asm, vprolog, powerbuilder, ...)

About M$ applications (windows' ones, office's ones, games, ....), I'd say they're all written in VC++.
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
04-25-2004 11:38 AM
Profile PM Find Quote Report
Kryptonate
Veteran Member
*****

Avatar

Posts: 2874
Reputation: 23
37 / Male / –
Joined: Jun 2003
RE: What makes it tick? C++? VB?
quote:
Originally posted by CookieRevised
d) Project1 is the default name for a new project you make in VB. (Again lazyness?)
In C++ too (at least if you use Dev-C++)
04-25-2004 11:58 AM
Profile E-Mail PM Find Quote Report
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
31 / Male / Flag
Joined: Mar 2003
RE: What makes it tick? C++? VB?
quote:
Originally posted by TheBlasphemer
Anyway, VB is geh >:]

Dont get in your mouth vb :blah:

Anyway what i mean cookie is that you cant see anything with reshack if the program is made with vb...
How should i tell you...
I know a program that has many pics in it(in picture boxes) and i know that it is made with vb.
I open it with reshack and i cant see anything.
The only things i see are the icon of the exe and the version info...
If you open a program made with C/C++ you can see its forms, graphics etc...
YouTube closed-captions ripper (also allows you to download videos!)
04-25-2004 12:08 PM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: What makes it tick? C++? VB?
Ah, ok, well that's actualy what I meant too.... ;)

But still... A program in VB can still have resources like dialogs, strings, etc... (and thus can be viewed with reshack). If that programs you're talking about used resources instead, you couldn't see a difference in reshack if it was made in VC or in VB. So that was my point. Also vice versa, it isn't because you can't see resources with reshack that the program is made in VB...

The only thing that is more certain is, if you KNOW a program is writen in VB, then most likely it won't have resources to look at with reshack. But don't put it the other way around ;)

quote:
Originally posted by Kryptonate
quote:
Originally posted by CookieRevised
d) Project1 is the default name for a new project you make in VB. (Again lazyness?)
In C++ too (at least if you use Dev-C++)
Ah, didn't know that, but will it also show up at the same (relative of course) space? (on the example screenshots you can't see much, but I know you know what I mean ;))
.-= A 'frrrrrrrituurrr' for Wacky =-.
04-25-2004 02:26 PM
Profile PM Find Quote Report
Pages: (3): « First [ 1 ] 2 3 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On