I succeeded to do it by encapsulating the C routine as a DLL and doing an FFI call from my image (as suggested by Guille).
I also tried to perform the nativeboost call by creating my structures in Pharo. The function in Windows that can be used to retrieve mac address in Windows:��
GetAdaptersInfo��that accepts a
PIP_ADAPTER_INFO����structure. I subclassed NBExternalStructure to define this struct and the other used by it in the image but my NB call returned with 87 code (Invalid parameter) and it was impossible to debug. However, I would like to make this thing work to understand what went wrong.
With ProcessWrapper, I could not load the classes essential for making the plugin work.
HTH,
Usman