* s2224:
is it permissible according to iso c++ standard, that there is different
entry points for different type of applications
Not really. However, die-hard defenders of one very popular compiler
(this includes a number of C++ "experts") sometimes respond that this
is allowed for a _freestanding_ mplementation, as opposed to a _hosted_
implementation which must follow the standard. In effect they choose
to regard this compiler as a freestanding implementation for the
purpose of discussing entry points, and as hosted in all other respects.
such as WinMain for windows application and DllMain for dll type?
The C++ standard has (almost) nothing to say about dynamic libraries.
if its against iso c++ standard then is there any way to do these tasks such
as windows programming by following iso standards?
Regarding the 'main' function for an application the g++ compiler is one
that conforms to the standard out of the box, and the Visual C++ compiler
can be made conforming by adding the necessary linker options (for that
compiler you also have to turn on exception handling and RTTI support if
standard conformance is what you want). I suggest you ask in the relevant
newsgroup for your particular compiler. Compiler options are off-topic.
is there any c++ library available for windows programming by strictly
following iso c++ standard?
Probably not, but there are many cross-platform C++ GUI kits.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?