Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / January 2006

Tip: Looking for answers? Try searching our database.

I apologise perhaps for a simple question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vicky - 30 Jan 2006 21:45 GMT
Hi,

my friends and i have been confused by this problem.
On a veriety of systems we have tested compiling a simple hello word
applicaation to check optimisation of C++ in 2003 VS.NET.
However on one of the machines, the best we can get is 61k under a blank
win32 console app.

We were trying to wrk out what we should tweak as we have tried excluding
Libraries, and a few other tweaks as suggested in forums.

Your help is much appreciated

Thankyou

Vicky
Brian Muth - 30 Jan 2006 22:04 GMT
Simply ensure that your code is not calling anything in the VC runtime
library. Unfortunately, I don't think this is possible from a console
application. Regardless, you can confirm this by not linking to any of the
standard libraries (see /NODEFAULTLIBRARY). Stick to Win32 API calls only.

See the notes section in
http://msdn2.microsoft.com/en-us/library/h02f9ttw.aspx

Brian
Carl Daniel [VC++ MVP] - 31 Jan 2006 01:27 GMT
> Hi,
>
[quoted text clipped - 6 lines]
> We were trying to wrk out what we should tweak as we have tried excluding
> Libraries, and a few other tweaks as suggested in forums.

Are you sure you weren't looking at a Debug build in the 61K case?  How are
you building the project - from a Visual Studio project (.vcproj file) or
something else?

-cd

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.