IonicWind Software

IWBasic => General Questions => Topic started by: Bruce Peaslee on March 29, 2012, 10:44:04 AM

Title: Converting Microsoft types to IWBasic
Post by: Bruce Peaslee on March 29, 2012, 10:44:04 AM
Some time ago I saw a chart that showed what IWB variable types conformed to those used by Microsoft in its documentation. For example:

hwndFrom -> uint.

I can't find it now. Does anybody know where it is?

Thanks.
Title: Re: Converting Microsoft types to IWBasic
Post by: LarryMc on March 29, 2012, 11:33:44 AM
Maybe http://www.ionicwind.com/forums/index.php?topic=2067.msg18536#msg18536

LarryMc
Title: Re: Converting Microsoft types to IWBasic
Post by: Brian on March 29, 2012, 01:40:59 PM
Was it something like this:

The following table lists the available/suggested substitutes.

HWND = WINDOW, DIALOG or INT

LPCSTR/LPSTR = STRING, ISTRING

BYTE / UBYTE / TCHAR = CHAR

LONG = INT

WORD = WORD

DWORD = INT

UINT = UINT

BOOL = INT

WPARAM = INT

LPARAM = INT

LP* = POINTER

Brian
Title: Re: Converting Microsoft types to IWBasic
Post by: Bruce Peaslee on March 29, 2012, 02:34:47 PM
Quote from: Brian Pugh on March 29, 2012, 01:40:59 PM
Was it something like this:

The following table lists the available/suggested substitutes.

HWND = WINDOW, DIALOG or INT

LPCSTR/LPSTR = STRING, ISTRING

BYTE / UBYTE / TCHAR = CHAR

LONG = INT

WORD = WORD

DWORD = INT

UINT = UINT

BOOL = INT

WPARAM = INT

LPARAM = INT

LP* = POINTER

Brian

Yes, but a little longer.
Title: Re: Converting Microsoft types to IWBasic
Post by: Brian on March 31, 2012, 05:35:05 AM
Bruce,

I think this is what you were looking for (change the .txt extension to .htm)

Brian