Moore, Paul wrote:
>I wouldn't. Everyone ends up exporting the same constants.
you're right. but how would you implement and/or document a
function like GetSystemMetrics? it's a *real* pain...
a possible answer could be: let power users find their way
alone, and for the rest of us... give a hint or two when
requested. that's more or less how I do it actually, but
I realize that's not quite a "democracy".
>use Win32::TypeLib 'Win.tlb', qw/MessageBox MB_YESNO/;
>MessageBox 0, "Clever, aren't I", "Application", MB_YESNO;
way *cool*! this would superseed even Win32::API ;-)
>But it's a way off yet - I've just started to look at the typelib
>reading code.
it doesn't seems too hard at a first glance, you should just need
to implement ITypeLib and ITypeInfo interfaces...
__END__
# Aldo Calpini
print sort {$_{$a} cmp $_{$b}} values %{{split undef,
"xritajbugne fahokem csuctawer jhdtlrnpqloevkshpr"}};