Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

I have a structure in PB. How do I pass it to C function thru DLL call & return values within structure?

I have a structure in PB. How do I pass it to C function thru DLL call & return values within structure?

Any sample code would be appreciated.

Here are sample IDL structures we currently us in PB12.

$PBExportHeader$str_app_error_t.srs

global type str_app_error_t from structure

Char s_component[4]

Char s_type[16]

UnsignedLong ul_num

UnsignedLong ul_level

Char s_text[256]

end type

$PBExportHeader$str_app_user_t.srs

global type str_app_user_t from structure

Integer level

Long plength

Long flength

Long elength

Char principal[258]

Char full_name[258]

Char exp_date[31]

end type

Clint

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question