Welcome to Dream.In.Code
Getting C++ Help is Easy!

Join 132,673 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,174 people online right now. Registration is fast and FREE... Join Now!




WinAPI in BorlandC++ RadStudio

 
Reply to this topicStart new topic

WinAPI in BorlandC++ RadStudio, WinAPI

Skinner
post 20 Jul, 2007 - 12:23 PM
Post #1


New D.I.C Head

*
Joined: 13 Aug, 2006
Posts: 20


My Contributions


I want to start using WinAPI in my programs and I am using Borland RadStudio2007. All pdfs I have on this subject are based on VisualC++ - and Borland apparently used to use something called OWL. Is there a simple way of using WinAPI in Borland's compiler or am I better off using Visual C++?

Thanks.
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 21 Jul, 2007 - 07:42 AM
Post #2


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,178



Thanked 33 times

Dream Kudos: 25
My Contributions


There should be no problem using a borland compiler to compile WinApi programs, as long as everything is linked properly.
User is offlineProfile CardPM

Go to the top of the page

Skinner
post 21 Jul, 2007 - 08:02 AM
Post #3


New D.I.C Head

*
Joined: 13 Aug, 2006
Posts: 20


My Contributions


QUOTE(Amadeus @ 21 Jul, 2007 - 08:42 AM) *

There should be no problem using a borland compiler to compile WinApi programs, as long as everything is linked properly.

OK but in the manuals I have on WinAPI it says compile a Win32 application - in RadStudio C++ Builder I am using there is no option for this, only console app, VCL app etc. What should I be using?
User is offlineProfile CardPM

Go to the top of the page

corliss
post 21 Jul, 2007 - 08:43 AM
Post #4


D.I.C Head

Group Icon
Joined: 25 Oct, 2006
Posts: 119



Thanked 1 times

Dream Kudos: 50
My Contributions


Hey guys,
I was taught using borland due to my teachers not wnat ing to be a mirosoft kiddie but I am now using vs 2005.
I would say stick with visual studios.
cheers
User is offlineProfile CardPM

Go to the top of the page

Amadeus
post 21 Jul, 2007 - 05:40 PM
Post #5


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 12,178



Thanked 33 times

Dream Kudos: 25
My Contributions


I'm not a borland user, so I'm not familiar with all the compiler options - what are they again?

As for sticking to VS, I'm not sure I'd want to limit myself in that manner.
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 21 Jul, 2007 - 08:03 PM
Post #6


My fridge be runnin OH NOEZ!

Group Icon
Joined: 10 May, 2007
Posts: 6,354



Thanked 58 times

Dream Kudos: 2375

Expert In: Goofing Off

My Contributions


The purpose of Win APIs is that you can use your code in any environment. I've actually ported some of my code from C++ to ASM, & the APIs will still take the same arguments. So I don't see any problem in changing IDEs. One draw-back to using Windows APIs is when versions of Windows are released, if the API arguments change then you're program will need to updated to detect the version & adapt to the change as well.
User is offlineProfile CardPM

Go to the top of the page

Reply to this topicStart new topic
Time is now: 11/23/08 06:18AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month