----boundary-LibPST-iamunique-1358225049_-_-
Content-type: text/plain
The functions ended in 'W' are the unicode version, while the functions
ended in 'A' are the ANSI one. The 'Ex' suffix indicates that the
function is "more powerful" than the generic one (more parameters,
extended flags...)
Regards,
Juan
Campbell, Robert D (UK Edinburgh) wrote:
>Thanks Juan & Chris
>
>I have merged your suggestions into the
>composite below. It works for me, but I
>can't guarantee it for anyone else;
>my understanding of Windows is very
>limited!
>
>
>As a general comment I notice that
>many Windows procedures (for example
>ShellExecute) come in versions with and
>without a final 'A', or 'W' or 'Ex'.
>
>Is there a simple explanation of the
>significance of the suffix?
>
>
>Thanks again
>
>Robert.
>
>
>MODULE WandsAcrobat;
>
>IMPORT WinApi;
>
>PROCEDURE Display*(IN path, file: ARRAY OF CHAR);
> VAR
> doc : POINTER TO ARRAY OF SHORTCHAR;
> BEGIN
> NEW (doc, LEN (path$) + LEN (file$) + 1);
> doc^ := SHORT (path + file);
> IF WinApi.ShellExecute(0, 'Open', doc^, NIL, NIL, WinApi.SW_SHOW) = 0 THEN END
> END Display;
>
>END WandsAcrobat.
>
>
>
> <Q> "WandsAcrobat.Display('\\Abb\c\', 'xyz.pdf')"
>
>--- BlackBox
>--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
>
>
>
>
>
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1358225049_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQ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