Re: Windows Procedural Programming



In article <qYTEe.158226$go.54415@fed1read05>, snooze386@xxxxxxxxx
says...

> I want to begin developing Windows applications, but I don't have any
> experience with OOP or Windows programming; only procedural programming.
> Is it possible to develop Windows applications using only a procedural
> programming language such as C or Pascal rather than an OOP language?

Sure. The simplest way to do it is to use MFC with C++, but you can
write essentially the same program calling the original SDK functions
with C.

I'd be inclined to bite the bullet and go the C++/MFC route for your
main application setup and messaging loop. You can fall back to the
SDK here and there if you want, but in many cases MFC is basically a
thin wrapper that has exactly the same functions anyway. Its the
difference between calling:
myDC.SomeFunction() and SomeFunction( myHDC ).

- Gerry Quinn


.



Relevant Pages

  • Re: Windows Procedural Programming
    ... > experience with OOP or Windows programming; only procedural programming. ... > Is it possible to develop Windows applications using only a procedural ...
    (comp.programming)
  • Windows Procedural Programming
    ... experience with OOP or Windows programming; only procedural programming. ... Is it possible to develop Windows applications using only a procedural ...
    (comp.programming)
  • Re: Windows Procedural Programming
    ... >experience with OOP or Windows programming; only procedural programming. ... >Is it possible to develop Windows applications using only a procedural ...
    (comp.programming)
  • Re: is OOP bad?
    ... OOP is bad the same way procedural programming is, ... A decent programmer will tell you that ideally you ...
    (comp.lang.java)
  • Re: Can a low-level programmer learn OOP?
    ... I have also found some articles profoundly critical of OOP. ... If it does, you'll find it easier, else choose another programming style. ... Starting in 1999 I got back into programming, but the high-level-ness of PC programming and the completely foreign language of OOP repelled me. ... Dynamic languages like Smalltalk, Python or Ruby are much more lightweight in this area, and tend to favor a much more exploratory style - sketch a quick draft on a napkin, start coding, and evolve the design while you're coding. ...
    (comp.lang.python)