Athena

Advanced Pascal Training Day For Delphi Users

This was a UK BUG Training Day held on 2nd June, 1995, 15th February, 1996 and 6th June, 1996 in Upavon, Wiltshire, England.

This day focuses on 16-bit Delphi's Object Pascal language and is intended for those with some experience of Object Pascal.

Those with little or no experience of Object Pascal should look at the standard level Pascal Training Day.


Component events

What are they really?
Setting them up by hand

Interacting with Windows

OnMessage/HookMainWindow
Sending messages
The Windows ways
The Delphi way
Receiving messages (in components and the application object)
Message handlers Resources, e.g. string tables

Application internals & how to change them

COmpiler directives
Screensaving
Data segment, code segments, stack segments and heaps
DLL differences
Segment attributes and grouping
Module decsriptions

32-bit considerations

Message crackers
Windows API
Task handles
ToolHelp
Other issues
Conditional compilation for 16-bit and 32-bit Windows

Less common Pascal expressions

Sets, ranges and cases
Typed constant arrays of non-Integer indices

And...

Procedural types
TFarProc
Trunc/Round
Application.OnHint
Application.OnShowHint
Application.OnException