Programming language in MSN/Y/MS Office?

Click For Summary
To determine the programming language used in software like MSN or MS Office, one can often check the publisher's website or contact them directly. Windows software can be developed in various languages, not just C/C++, as long as the compiled binary functions correctly. Many Windows applications utilize Dynamic Link Libraries (DLLs) and frameworks like .NET, allowing for multiple languages to interface effectively. Visual Basic for Applications (VBA) is commonly used for adding functionality within Office applications, assuming VBA is still supported in the current version. For identifying the source language of specific files, examining them in a text editor or using tools like "strings" on Unix systems may reveal identifying character strings.
pairofstrings
Messages
411
Reaction score
7
My question is simple. And that is: How to find out the programming language used in creating the softwares that we use on our different platforms/architectures/instruction sets? Is there any method to find it? Is it necessary that all the windows based software use C/C++ to create softwares? Which language is preferred, in general?

Thank you for replying.
 
Last edited:
Technology news on Phys.org
Yes: write a polite e-mail to the publisher (although sometimes, it'll also be stated on their website). There are a multitude of compilers of various programming languages that target the Windows platform, and most have probably been used at some point to compile code. Windows (or any other OS) doesn't care what language a program was written in: just whether or not the binary code (compiled from the source code) works.
 
No Java? Is it because java programs needs Java Run-time Environment(installed) to run the program that everybody gives preference to C/C++?
 
pairofstrings said:
My question is simple. And that is: How to find out the programming language used in creating the softwares that we use on our different platforms/architectures/instruction sets? Is there any method to find it? Is it necessary that all the windows based software use C/C++ to create softwares? Which language is preferred, in general?

Thank you for replying.

For development, if you are developing for something like windows, you have to understand the structure of the binary representation for programs, and then how to make calls to the various routines.

In terms of developing for the windows platform, many of the platform functions exist in public Dynamic Link Libraries (DLL's). In fact this is the way it works for many windows programs.

Then there are frameworks like the Component Object Model (COM) and the .NET platform. Again these have their own special representations as well as ways to interface the objects and make use of them.

In terms of the language, you can pretty much use anything that is out there, just so long as it interfaces correctly with whatever you are trying to interface with.

As an example of this look at the .NET platform. You can call any valid procedure from VB.NET, C#.NET, the C++.NET implementation and so on. They all reduce their code down to .NET intermediate representations, but never the less it does demonstrate what I said above.

If you want to do some simple things within Office, you might want to use Visual Basic for Applications if that is still supported. VBA is basically Visual Basic, and with that you can do things like add functionality to spreadsheets, databases, or documents. If you know Visual Basic, then the big challenges are knowing what the states are, as well as the callbacks for the different document types.

If you have a professional version of Office, you should be able to get access to the VBA backend if Office still has VBA support (I know it definitely used to in older versions, but I'm not sure about newer ones).
 
If you want to know what the source language was for a specific .exe or .dll file, try looking at it in a text editor. There are often some character strings identifying the software development system that created it.

On unix systems, there is usually a program called "strings" which will filter out the printable characters from any file.
 
Which text editor should I try?
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

Similar threads

Replies
4
Views
2K
  • · Replies 102 ·
4
Replies
102
Views
2K
Replies
16
Views
3K
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 49 ·
2
Replies
49
Views
4K
Replies
3
Views
2K
Replies
10
Views
5K
  • · Replies 10 ·
Replies
10
Views
2K