Subj : Re: Windows Procedural Programming To : comp.programming From : Joe Butler Date : Mon Jul 25 2005 05:42 am I understand what you are saying. I'll get around to looking at this ruby thing you keep pushing - on a virtual machine. Does it hook into Windows, or is it self-contained in one's installation? Are there any non-trivial apps that you can point to as demonstrations of it's usefulness? Afterall, in my experience of, say MFC (which MFC'ers swear by), anything that you want to do that's 'outside of the box' can become a right royal pain trying to work around MFC's internals. So, I wonder if it's the same with Ruby. Looks good to managers cos you can go: click, click, clickety click. And there's the basis of our app. "Bloody hell! This will save us tons of development effort.", thinks manager. Hmmm... first mistake has been made on that project. Also, you might like to know that with quite a small class (or module in C), about 60 lines of non-trivial code, I can create a window with 1 line line of code in my main app and add controls to it with 1 line of code too (dynamically) - there really is NO magic involved. "Phlip" wrote in message news:PXXEe.544$gt5.133@newssvr17.news.prodigy.com... > Joe Butler wrote: > > > By 'primitive', I'd read: 'fundamental', for 'generic', I'd read, > > 'fundamental'. For _zillions_, well, I've just counted how many calls > need > > to be made to get a window up - 7 API calls. Then it's a matter of how > > complex your Window behaviour is. If it's just gonna put some text on the > > screen, well, that's a 3 API calls - and 2 of those are just the markers > for > > the beginning and end of the graphics drawing handler. This is nothing > like > > the zillions mentioned. > > I suspect that's 7 calls without the button. > > I posted code requiring 0 calls for the window and about 2 for the button. > > The library guesses: Gee maybe if they want a button, they need a window to > go under it. > > That's what I mean by a smart wrapper. > > -- > Phlip > http://www.c2.com/cgi/wiki?ZeekLand > > .