c++.windows.32-bits - New to Mars C, Can't use some Win Functions
- Cjmovie (15/15) Apr 08 2004 Hi! I'm new to mars C, and I must say it DOES compile very fast. Before ...
- Phill (26/41) Apr 08 2004 used
- Jan Knepper (8/19) Apr 08 2004 Yeah! Include the proper .LIB file in your project.
- Cjmovie (5/5) Apr 10 2004 Thanks, now it's working!
- Walter (5/10) Apr 10 2004 and it
- Cjmovie (3/14) Apr 11 2004 OK. But first, are there any free ones, since you have to buy the cd to ...
- Walter (6/9) Apr 12 2004 www.digitalmars.com/ugr/ugr.html.
- Jan Knepper (16/24) Apr 10 2004 Honestly...
Hi! I'm new to mars C, and I must say it DOES compile very fast. Before I used Dev-C++ for Win32 programs, but even though I still have worked with it long, it's great! But, I must get to the point. I'm going by a Dummies Book For widnows 95 programming, but Mars C++ doesn't seem to support a few functions I need: GetStockObject(); TextOut(); Could somebody tell me what to do about this? Thanks! Cjmovie I know how to..... ..Write programs in C ...Write programs in C++ ..Write programs in Basic ...Write programs in Pascal ..Write Websites in HTML ...Write Websites in Javascript ..Debug and Optimize Code ...Never finish a project?
Apr 08 2004
"Cjmovie" <Cjmovie_member pathlink.com> wrote in message news:c54eu1$2fg0$1 digitaldaemon.com...Hi! I'm new to mars C, and I must say it DOES compile very fast. Before IusedDev-C++ for Win32 programs, but even though I still have worked with itlong,it's great! But, I must get to the point. I'm going by a Dummies Book For widnows 95 programming, but Mars C++ doesn't seem to support a few functions I need: GetStockObject(); TextOut(); Could somebody tell me what to do about this? Thanks! Cjmovie I know how to..... ..Write programs in C ...Write programs in C++ ..Write programs in Basic ...Write programs in Pascal ..Write Websites in HTML ...Write Websites in Javascript ..Debug and Optimize Code ...Never finish a project?Well I dont know as much as you by the looks of it. But you can use both of these functions with DMC++, there is a TextOut(HDC hdc, int nXStart, int nYStart, LPCTSTR lpString, int cbString ); in gdi32.lib. Or if you are using MFC you can use: CDC::TextOut(int x, int y, const CString& str []) There is also include <wingdi.h> HGDIOBJ GetStockObject( int fnObject // type of stock object ); Its also in gdi32.lib If you have the CD there is a very good help section and also tutorials that come with the CD. Its well worth the price. Phill. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.648 / Virus Database: 415 - Release Date: 3/31/2004
Apr 08 2004
Cjmovie wrote:Hi! I'm new to mars C, and I must say it DOES compile very fast. Before I used Dev-C++ for Win32 programs, but even though I still have worked with it long, it's great! But, I must get to the point. I'm going by a Dummies Book For widnows 95 programming, but Mars C++ doesn't seem to support a few functions I need: GetStockObject(); TextOut(); Could somebody tell me what to do about this?Yeah! Include the proper .LIB file in your project. GDI32.LIB -- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Apr 08 2004
Thanks, now it's working! But now I have two other problems :(. The book also requires some type of AppWizard to generate new projects, and it also requires one of those visual window-editors, where you click and place buttons and other things. Any way to get something like that?
Apr 10 2004
"Cjmovie" <Cjmovie_member pathlink.com> wrote in message news:c59740$rq5$1 digitaldaemon.com...Thanks, now it's working! But now I have two other problems :(. The book also requires some type of AppWizard to generate new projects,and italso requires one of those visual window-editors, where you click andplacebuttons and other things. Any way to get something like that?The IDDE comes with things like that. See www.digitalmars.com/ugr/ugr.html.
Apr 10 2004
In article <c59coq$143a$2 digitaldaemon.com>, Walter says..."Cjmovie" <Cjmovie_member pathlink.com> wrote in message news:c59740$rq5$1 digitaldaemon.com...OK. But first, are there any free ones, since you have to buy the cd to get the idde for digital mars?Thanks, now it's working! But now I have two other problems :(. The book also requires some type of AppWizard to generate new projects,and italso requires one of those visual window-editors, where you click andplacebuttons and other things. Any way to get something like that?The IDDE comes with things like that. See www.digitalmars.com/ugr/ugr.html.
Apr 11 2004
"Cjmovie" <Cjmovie_member pathlink.com> wrote in message news:c5cjsp$2rp7$1 digitaldaemon.com...www.digitalmars.com/ugr/ugr.html.The IDDE comes with things like that. SeeOK. But first, are there any free ones, since you have to buy the cd toget theidde for digital mars?The CD is extremely reasonably priced at $25. There's also a ton of stuff on it besides just the IDDE that's of value to the serious programmer.
Apr 12 2004
Honestly... I do consider AppWizard the wrong way of building an application. The IDDE has features like that, but I never use them as I rather know into detail what code I write/generate does. You can do whatever any AppWizard does with a simple text editor, although initially that is going to take longer. The benefit however will be that you know much better what you are doing. The IDDE is great for dealing with projects, building, etc though. Good luck! Jan Cjmovie wrote:Thanks, now it's working! But now I have two other problems :(. The book also requires some type of AppWizard to generate new projects, and it also requires one of those visual window-editors, where you click and place buttons and other things. Any way to get something like that?-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Apr 10 2004