Advantage Concepts
Every AEP has a pre-defined function prototype:
function NameOfAEP( ulConnectionID: UNSIGNED32;
hConnection: ADSHANDLE;
pulNumRowsAffected: PUNSIGNED32 ): UNSIGNED32;
begin
end;
Each parameter is described in detail in the general Advantage Extended Procedures documentation. We won’t describe each parameter here; we’ll address these parameters as they are used throughout the rest of the tutorial.
The AEP template that was created for you already contains one procedure entrypoint, MyProcedure. We will enhance this existing procedure in later sections.