• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

how to include a C header like iphlpapi.h

Started by Chris Chancellor, May 08, 2018, 02:50:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Chris Chancellor

Hello Charles

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

what statement should i use?

Charles Pegge

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