hello sir/madma
may i ask question about C/C++ build a api for powerbuilder to consume,i'd like write dll which powerbuilder could call in function which is defined int myfun(string ls_param1,ref string ls_param2) "mydll.dll;Ansil" ,i just cant figure out the ls_param2 in C++,if should write as
int myfun(char * theparm1,char** ls_param2) ?
do i have to use char ** in the second parameter?
thanks
regards
Ken
Request clarification before answering.
Hi Ken,
The responses from Bruce and Roy in this post should help you out.
Http://codeverge.com/sybase.powerbuilder.objects/calling-c++-function-in-pb/891348
Hth,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello mark, thanks,i have checked the link,but i still confused that char ** means string array or refrenece a string pararmeter in POWERBUILDER,what do you think?
it sounds like i should use char ** as parameter in C++ if i'd like to reference the string In Powerbuilder to cosume the C++ dll
regards
Ken
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.