Re: App Development with Visual C++ .NET

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Maarten Struys, eMVP (maarten.struys_at_nospam.pts.nl)
Date: 07/09/04


Date: Fri, 9 Jul 2004 16:20:44 +0200

VS.NET 2003 can create native code, but not for Windows CE devices. Your
only option for native code for Windows CE, as Paul mentioned is using eVC
4.0.

-- 
Regards,
Maarten Struys, eMVP
PTS Software bv
www.opennetcf.org | www.dotnetfordevices.com
"Craig Whatley" <craig@aaronmed.com> wrote in message
news:e$Ul8obZEHA.2908@TK2MSFTNGP10.phx.gbl...
> I've read that unmanaged code can be used in VS.NET 2003 for C++.  In
fact,
> if you want managed code, you have to use the__gc operator when defining a
> class.  That tells the compiler to place objects of that class on the
> managed heap where it is subject to garbage collection.
>
> One of the advantages of the C++ compiler in VS.NET was to allow the use
of
> legacy VC++ code (which is unmanaged).
>
> "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com> wrote in
> message news:uFSbI4SZEHA.2776@TK2MSFTNGP10.phx.gbl...
> > No, you can't develop unmanaged code in VS.NET.
> >
> > Managed = VS.NET 2003
> > Unmanaged = eMbedded Visual C++ 4.0
> >
> > Paul T.
> >
> > "Craig Whatley" <craig@aaronmed.com> wrote in message
> > news:OzhQUpSZEHA.2488@tk2msftngp13.phx.gbl...
> > > I'm about to start work on an embedded project.  We recently chose
> > WinCE.NET
> > > as the OS.  I've never used it before, so I have a basic question
about
> > app
> > > development.
> > >
> > > Our product will have a GUI.  I wanted a way to easily create a GUI
> (drag
> > > and drop icons that produce code, I add in my callback functions,
etc).
> I
> > > was told that I would have to purchase Visual Studio .NET in order to
> get
> > > this capability.  (eMbedded Visual C++ does not have this feature?)
> > >
> > > I'm thinking right now that I'll develop a completely unmanaged
solution
> > in
> > > .NET with Visual C++.  That way, I don't have to load a .NET Compact
> > > Framework runtime on my target (I was told that would be about 1.5
> MBytes)
> > > AND I don't have to worry about taking performance hits from a Garbage
> > > Collector.
> > >
> > > So, how do I produce cross-compiled code for my target?  Do I have to
> take
> > > all code produced in Visual Studio (including code automatically
> generated
> > > for the GUI by the GUI toolkit) and run it through the eMbedded Visual
> C++
> > > compiler?  Is there a way to cross-compile for my target in Visual
> Studio?
> > >
> > > Thanks!
> > > Craig
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Splash Screens , how could something so basic still be hard?
    ... You say that there "is no message pump to allow for further GUI ... Note that by "there is no message pump", I mean that because of the way the code is written, no message pump is working while the "splash screen" is displayed. ... In a normal Forms app, there would be a message pump loop, and there's no reason to believe that in those examples, one doesn't exist. ... The same technique is possible in Windows, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Wiseman and McGhie are Ranting Again
    ... >>>rest of the system by dropping Word's run time priority in stages. ... Nearly everything with a GUI has something like an event ... That part of the OS is the windows manager and is typically a ... That is your event loop. ...
    (microsoft.public.mac.office.word)
  • Re: MFC & Guis
    ... The fact that so many GUI wheels are reinvented by so many devs is an ... Users of Windows software form expectations ... > to learn to use your app. ... > while the client areas exhibit behaviour specific to the application domain. ...
    (microsoft.public.vc.mfc)
  • Re: How to make Forth interesting?
    ... trying to deny that I wrote and distributed lots of software ... I think GUI is a good example. ... Humm, Windows Forth ... to the flash files etc. to create flash images for the target ...
    (comp.lang.forth)
  • Re: A little musing on Linux ( was Re: Zip files to multiple floppies)
    ... > various distributions Of linux have made me think a little harsh about ... > and troubles far more than Windows. ... The amount of extra work to program a gui ... Mounting filesystems for example - windows computers only ...
    (Fedora)