Jose's Read Only Forum 2023

IT-Consultant: Charles Pegge => OxygenBasic => Topic started by: Chris Chancellor on May 08, 2018, 02:50:42 AM

Title: how to include a C header like iphlpapi.h
Post by: Chris Chancellor on May 08, 2018, 02:50:42 AM
Hello Charles

how do i include a c header file such as iphlpapi.h  into O2 code?

what statement should i use?
Title: Re: how to include a C header like iphlpapi.h
Post by: Charles Pegge on May 08, 2018, 03:38:10 AM
Hi Chris,

It's much the same as an inc file.

Here is an example using IUP:


includepath "iup\"     
extern lib "IUP\iup.dll" cdecl
'include "iup.h"
uses iup.h