boo-lang/boo

How to cal win32 API functions from Boo ?

Closed this issue · 4 comments

Hi, I like Boo. It's a nice language. But i am trying to call some win 32 api functions (like ShowWindow, FindWindow, SendMessage, etc etc...) from my Boo class. How can i do it. Any tutorials ?.

Here's an example.

It's essentially done the same way as in C#, except that there's no need for an extern keyword because the compiler automagically recognizes the DllImport attribute.

Hi masonwheeler,
Thanks a lot. Let me try it. I would like to learn more about Boo. Is there any forum for Boo programmers ?

The official discussion forum for the language is at https://groups.google.com/forum/#!forum/boolang

this website is good help for c#, and presumably boo, for calling win32 functions
https://pinvoke.net/