musicat // User Search

musicat // User Search

1  |  

Sick of VB6 !

Dec 2, 1998, 1:02am
"const" means it's a declared constant or a fixed variable for whatever
feature or mathematical aspect (never changes) of the prog you want to create

[View Quote] > Hi Canopus,
>
> I'll give Delphi 2.0 a try. I need some help, though, to get started.
> I have your akSample2eForm.pas and akAWAPI.pas (build 9), but don't
> really know how to start. I've been through the code, understand most
> of it at first glance, and have a few remarks or questions, besides a
> fundamental one:
>
> 1. how do you build this project in Delphi for this to work (I know
> how to make a form and position buttons etc, thats about it in
> Delphi).
>
> In akAWAPI:
>
> 2. why do you have to declare the apis twice?
>
> 3. you have a PInteger type in
> function aw_data (a : AW_ATTRIBUTE; length : PInteger) : PChar;
> cdecl;
> is this intentional?
>
> 4. what does 'const' mean in, for instance,
> function aw_create (const domain : PChar; port : Integer; instance :
> PAWhInst) : Integer; cdecl;
> can't it be just 'domain: PChar'? I couln't find this in the Delphi
> help, only the syntax 'const xxx = yyy'.
>
> Any help or suggestions, also about books to read, is welcome! My
> e-mail is decastro at cable.a2000.nl, just in case its not appropriate to
> answer to the ng.
>
> Thanx, XelaG
>
> On Fri, 20 Nov 1998 19:55:42 -0500, Canopus <aek2 at ix.netcom.com>
[View Quote]

1  |  
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn