Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Advanced PowerBuilder

HomePrevious Lesson: Declaring External Functions
Next Lesson: External Functions Arguments

Data types for External Function Arguments

When you declare an external function, the data types of the arguments must correspond with the data types declared in the function's source definition. The following table lists C++ data types and the corresponding PowerBuilder data types.

The PowerBuilder data type you select, depends on:
The data type in the DLL for the function.
Platform ( running on a 16-bit or 32-bit platform ).

The 32-bit platforms that PowerBuilder supports are Windows 95, Windows NT, Macintosh, and UNIX (Solaris). The 16-bit platform that PowerBuilder supports is Windows 3.1x.

Data type in source code

Platform

PowerBuilder data type

* (any pointer)

Windows 3.1 , 95, NT

Long

 

Macintosh

UnsignedLong.

Handle

Windows 3.1

UnsignedInteger

 

32-bit Windows ( 95 & NT ), Macintosh

UnsignedLong

char *

All

Blob

Strings

   

char

All

char

string

All

String

Boolean

Windows 3.1 , 95, NT

Boolean

 

Macintosh

char

short

All

Integer

unsigned short

All

Integer

int

Windows 3.1

Integer

 

Windows 95, NT, Unix

Long

unsigned int

Windows 3.1

Integer

 

Windows 95, NT, Unix

Long

long

All

Long

unsigned long

All

Long

float

All

Real

double

Only Windows 95/NT

Double

date

All

Not Supported

DateTime

All

Not Supported

time

All

Not Supported

HomePrevious Lesson: Declaring External Functions
Next Lesson: External Functions Arguments

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com