Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Structure porting problems

Status
Not open for further replies.

SvenKnie

Programmer
Joined
May 8, 2002
Messages
6
Location
DE
Hi all,

i try to use openGL functions with the powerbuilder, but i have following problem with porting of some structures.

How can i port following structure

Code:
typedef struct _AUX_RGBImageRec {
    GLint sizeX, sizeY;
    unsigned char *data;
} AUX_RGBImageRec;

"*data" should be a blob, but PB 7.0 don't support blobs in structures, so how can i declare a structure what stores all the datas ????

for all the are interested in using openGL in PowerBuilder Applications, here is a little demo
http://www.wildcats-3d-design.de/diggers/daten/rac/OpenGL-Demo.zip
The application was created with PB7.0, so you need at least the PB7.0 SDK.
Key - F => switch the Fogfilter
Arrow Keys Up&Down => rotates the triangle
Arrow Keys Left&Right => rotates the quad
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top