Bruce pointed out the error of my ways:
>You're doing something wrong: you're using a compiler/linker that's too
>smart for its own good :-). Pascal places information in the object file
>that gives the types of the variables it expects. The linker checks this;
>COBOL puts information about the minimum width acceptable. Since the two
>don't match, the link fails. However, when you use a C routine instead:
>
> int croutine(int p1, int p2, int p3, int p4, int p5, int p6)
>
>and then call it, the right values -- with the right alignment -- get put
>in the right places.
Thanks Bruce! I guess it was too much to ask for three products from the
same company for the same system to operate together cohesively and correctly!
Duane Percox (QSS)
[log in to unmask] (415-306-1608, fax 415-365-2706)
http://www.aimnet.com/~qssnet/ftp://ftp.aimnet.com/pub/users/qssnet/
"The best way to have a good idea is to have a lot of ideas." -- Linus Pauling