19 Jun '13 - 01:42 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Poll
Question: Which API do you use?
C/C++ - 89 (22.3%)
Delphi - 174 (43.5%)
Visual Basic - 103 (25.8%)
other - 34 (8.5%)
Total Voters: 394

Pages: 1 2 [3] 4 5 6
  Reply  |  Print  
Author Topic: Which API do you use?  (Read 55551 times)
Richard_b
Posts: 28


« Reply #40 on: 20 Mar '03 - 14:45 »
Reply with quoteQuote

I think that its unimportant which language anyone uses... a oprevious reply talked about getting the job done. And ALL users only care about the finished product, not what its written in. From my experience, there is a huge amount of loyalty to different tools. I havent seen this anywhere else....people use word or Wordperfect and just get on with it...not trying to score points over other users!

So use the language you are comfortable..and be judged on the product not the tools!
Logged
Forgot Password
Guest
« Reply #41 on: 22 Mar '03 - 13:56 »
Reply with quoteQuote

U mean people still use Wordperfect?  Shocked

How about DOS, DBase and Lotus? I thought these brands were already in the Museum (or maybe I've missed some upgrades!)
Logged
Richard_b
Posts: 28


« Reply #42 on: 23 Mar '03 - 08:52 »
Reply with quoteQuote

THe point I was making...was that in development langueages, people take very Pro/Anti stances....rather than just using them as tools to get the job done.
Logged
Let_Me_Be
Posts: 13


« Reply #43 on: 25 Mar '03 - 11:45 »
Reply with quoteQuote

I use Delphi and I love it.Grin
I realy don't like creating User Interfaces, and in Delphi all I need are few clicks and there you go.:laugh:

I don't like VB because I like the low level programming something near ASM.

I like C/C++ but the constructions are to complicated...

P.S. you can also include C++ code into delphi :evil:
Logged
fredvs
Posts: 327


« Reply #44 on: 25 Mar '03 - 23:18 »
Reply with quoteQuote

///P.S. you can also include C++ code into delphi//  

How do you do ? PS I use Delphi and love it.
« Last Edit: 25 Mar '03 - 23:19 by fredvs » Logged
Jcl
Posts: 52


« Reply #45 on: 26 Mar '03 - 08:17 »
Reply with quoteQuote

Quote

P.S. you can also include C++ code into delphi :evil:

Definitely you can't include C++ code into delphi. You can include delphi units into C++ Builder, and you can use libraries or dll's (coded in C++ or whatever) in delphi. But you can NOT use C++ code in delphi.

Tongue
Logged
fredvs
Posts: 327


« Reply #46 on: 26 Mar '03 - 15:53 »
Reply with quoteQuote

Hello Folks
Any  :idea: where i can find Delphi 4 or 5 ? (not 6,7,...).
« Last Edit: 26 Mar '03 - 15:53 by fredvs » Logged
Let_Me_Be
Posts: 13


« Reply #47 on: 1 Apr '03 - 16:58 »
Reply with quoteQuote

C++ in delphi Shocked

I don't know how, but this feature should be added in Delphi 7. :evil:
Logged
Let_Me_Be
Posts: 13


« Reply #48 on: 1 Apr '03 - 17:01 »
Reply with quoteQuote


Quote

Hello Folks
Any  :idea: where i can find Delphi 4 or 5 ? (not 6,7,...).


There is no freeware edition of this versions. You should try Kazaa, Direct Connect etc. for profesional or enterprise edition.
Logged
Sebastian_Mares
Guest
« Reply #49 on: 12 Apr '03 - 11:32 »
Reply with quoteQuote

Is it possible for someone to post an ASM code for displaying "Hello World!" in a message box?
Logged
RevG
Posts: 453


« Reply #50 on: 10 Jun '03 - 18:47 »
Reply with quoteQuote

One of the biggest factors that you should weigh before choosing a programming language is what type of user interface are you going to implement and how does the programming language you choose meet your ui needs.

I use MFC and I have a really slick design to implement. Unfortunately it is basically impossible to skin a listview or CListCtrl. The scrollbars are impossible to skin or hide so I have to create my own list control using the GDI, bitmaps, and an array. This will eat up a lot of my time to create this list, but I am too far in to turn back now.

Had I known these limitations of MFC I would have probably went with Delphi.

Just something to think about.
Greg
Logged
DanaPaul
Posts: 335


« Reply #51 on: 11 Jun '03 - 04:38 »
Reply with quoteQuote

Quote

Is it possible for someone to post an ASM code for displaying "Hello World!" in a message box?


Here's a variation that works in Delphi. Constants have been used to make it more readable...

function asmMsgBox(hWnd: DWord; lpCaption, lpText: PChar; uType: DWord): DWord;
 { REF: MessageBox(hWnd, lpText, lpCaption, uType); }
 asm  
   push uType
   push lpCaption
   push lpText
   push hWnd
   Call Windows.MessageBox
 end; { asm }

procedure TForm1.Button1Click(Sender: TObject);
 const uType = MB_TASKMODAL or MB_YESNO;
       pTitle = 'ASM Test' + #0;
       pMsg = 'Hello World!' + #0;
 begin
   if asmMsgBox(Application.Handle, pTitle, pMsg, uType) = IDNO then Abort;
   end;
« Last Edit: 11 Jun '03 - 05:20 by DanaPaul » Logged
Torkell
Posts: 1154


« Reply #52 on: 12 Jun '03 - 21:16 »
Reply with quoteQuote

I'm guessing Seb meant something more like MASM (ms Macro ASseMbler) than inline assembler. I don't know where to get hold of MASM, but Steve Gibson's Small is Beautiful page might help.
Logged
DanaPaul
Posts: 335


« Reply #53 on: 12 Jun '03 - 23:17 »
Reply with quoteQuote


Quote

I'm guessing Seb meant something more like MASM (ms Macro ASseMbler) than inline assembler. I don't know where to get hold of MASM, but Steve Gibson's Small is Beautiful page might help.


Hmmm, ok, but MASM is a compiler that will accomodate the previous ASM example as well as its own syntax...


.data ; Section reference

szTitle db "ASM Test",0
szText db "Hello World!",0

.code ; Section reference

invoke MessageBox, 0, ADDR szText, ADDR szTitle, MB_YESNO
.if eax == IDNO
return 0
.endif
Logged
Luckie
Posts: 16


« Reply #54 on: 10 Jul '03 - 03:55 »
Reply with quoteQuote

All right here we go:
Quote

VB makes easy things easy while Delphi makes hard things easy.

And now all you people using VB, come and catch me. Grin
Logged
DanaPaul
Posts: 335


« Reply #55 on: 10 Jul '03 - 06:25 »
Reply with quoteQuote


Quote

VB makes easy things easy while Delphi makes hard things easy


Actually, VB is dumbed down so that any unsuspecting consumer, or entry level programmer, can slap together a poor imitation of a useful application.  VB's limitations are realized at the novice or entry level respectively.

DIM DanaPaul as String Smiley
Logged
Luckie
Posts: 16


« Reply #56 on: 10 Jul '03 - 07:04 »
Reply with quoteQuote


DIM DanaPaul as String

If you switch of the compiler restrictions even your line of code is not needed.  Wink
Logged
Urban
Posts: 5


« Reply #57 on: 20 Jul '03 - 03:54 »
Reply with quoteQuote

Did someone just select MASM for fun?

1 Percent - thats sad
Logged
Torkell
Posts: 1154


« Reply #58 on: 25 Jul '03 - 09:54 »
Reply with quoteQuote

Quote

Actually, VB is dumbed down so that any unsuspecting consumer, or entry level programmer, can slap together a poor imitation of a useful application.
VB's limitations are realized at the novice or entry level respectively.

I can't think of a single program that I've written in VC++ that I couldn't have done in VB.

Wait... I've thought of a couple. I could have done them in VB by putting together a little C++ DLL to encapsulate a couple of function in the CRT. VB's only limitations are the dependency on the runtime DLL, and the fact that it only copes with one type of function call (__cdecl, I think). You can actually produce smaller executables with VB by using P-code instead of native compilation, and they compile an awful lot faster at a small cost of running speed (but who cares with 2GHz P4s).

Recently I've been working on a program, and I decided to experiment with COM and polymorphism. After a couple of mistakes which were mainly my own, coding the classes has been very simple. I've spent a few days on it, and already there's more in it than the C++ version I was originally writing. There's one class that just defines an interface, but I could put code in that and use delegation. Two other classes implement it's interface, and there's not much code in them. What I've ended up with I could probably do in C++ (with a lot of work - COM's very nasty in C++), but it's a lot eaiser in VB as all the COM stuff is hidden behind a Set statement and the CreateObject function.


Dim Bloke As Person
Set Bloke = CreateObject("People.BoggyB")
Debug.Print Bloke.Age
Set Bloke = Nothing

Anyone care to give me the C++ variant for doing that, considering that People.BoggyB is in a separate DLL?
Logged
VB_Guy
Posts: 17


« Reply #59 on: 2 Aug '03 - 00:27 »
Reply with quoteQuote

I agree VB6 and older are dumbed down, and more or less useless for advanced functionality, but VB.NET totally turns the tables. It has the same abilities as C++, and C#, and the runtime is the same; the .NET framework.

So all you people raggin on VB, should take a look at the newest.

VB Guy
Logged
Pages: 1 2 [3] 4 5 6
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines