473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

different applications...different entry points

Hi,

is it permissible according to iso c++ standard, that there is different
entry points for different type of applications such as WinMain for windows
application and DllMain for dll type?

if its against iso c++ standard then is there any way to do these tasks such
as windows programming by following iso standards?
is there any c++ library available for windows programming by strictly
following iso c++ standard?

thanx.
Jul 22 '05 #1
1 1252
* 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?
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Lois | last post by:
My website formatting knowledge is mostly HTML; I know hardly any Javascript. Recently I created a site with a nav bar in table format across the top of the page, and I made the background colour...
11
by: jbruno4000 | last post by:
I want to develop a C++ portfolio containing applications that will hopefully impress potential employers for Entry Level C++ jobs. I'm hoping some of you more experienced types might provide...
7
by: Oenone | last post by:
I'm sure there's an obvious way to do this, but I'm missing it so far. I have an ASP.NET application that relies on several DLLs to work. Currently in order to get my site working I have to put...
17
by: romixnews | last post by:
Hi, I'm facing the problem of analyzing a memory allocation dynamic and object creation dynamics of a very big C++ application with a goal of optimizing its performance and eventually also...
15
by: Neo | last post by:
Hello All, I found that ASP.net website only accepts code withing site directory. This creates big hurdle in shairng code. How to share code between two websites, like the way share between two...
1
by: muquaddim | last post by:
Hi, I have some dll file. These are compiled with VC6. Now I want to create .NET 2.0 wrapper for these dlls. but unfortunately I don't know about the entry points in the dll files. If I could know...
1
by: Paul H | last post by:
Hey all. I have a problem with a DLL written in VC++ 6.00. There are 5 existing entry points, and I'm trying to create a new one. I've copied the syntax of the existing code - I have a method...
15
by: Juha Nieminen | last post by:
I'm sure this is not a new idea, but I have never heard about it before. I'm wondering if this could work: Assume that you have a common base class and a bunch of classes derived from it, and...
3
by: downloads4birdman | last post by:
Trick Or Treat! I have a web server setup to host both .NET 1.1 and .NET 2.0 web applications. The applications are isolated by virutal directories (VirtDir1 points to C:\Inetpub\wwwroot\app1,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.