PB and C Data types comparison table

Source: Internet
Author: User
Tags comparison table
8. Pb_c Data Type conversion table

Pb_c Data Type conversion table
MICROSOFT PB (16Bit) PB (32Bit)
Bool Boolean Boolean
Byte, Char Char Char
char* ref string Ref string
COLORREF Uint Ulong
Double Double
Dword Uint Ulong
Float N/a N/A
Handle Uint Ulong
HDC Uint Ulong
hfile Uint Ulong
HINSTANCE Uint Ulong
Hwnd Uint Ulong
int int int
Long Long Long
Lparam Uint Ulong
LPBYTE ref INT ref Long
LPCWSTR ref BLOB ref BLOB (Unicode use Tounicode ())
Lpcvoid ref string Ref string
Lpdword ref Uint ref Ulong
Lpfiletime ref time ref
Lpint ref INT ref Long
Lpstr,lpcstr ref string Ref string
LPVOID ref structstruct_inst ref Struct Struct_inst
Lpword ref INT ref Ulong
Mcierror Long Long
Pbyte ref int[#] Ref long[#]
short int int
Structure ref Struct Struct_inst ref Struct Struct_inst
Uint Uint Uint
void** subroutine subroutine
Word Int Long
Wparam Uint Ulong
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.