On Dec 22, 2022, at 3:39 PM, DEnglander--- via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx> wrote:
Thank you Jon.
Here are the messages:
*RNF7535 30 9822 050400 The type and attributes of parameter 2 do not
of the prototype.
*RNF5406 30 9822 050400 The call passed fewer parameters than the
indicates are required.
Here is the invocation:
9822 ssdrawing_createpicture(h_anchor : h_picture);
Parameters for above:
dcl-s h_anchor like(ssclientanchor);
dcl-s h_picture int(10 : 0) inz;
Prototype [courtesy of Scott Klement]:
?* SSDrawing_createPicture(): Establish a picture by associating
?* an anchor in a sheet with a picture that has already been
?* loaded into the workbook.
?* anchor = anchor object that describes how this
?* picture is attached to the sheet
?* pictureIndex = index of picture loaded into Workbook
?* returns the SSPicture object
D PR like(SSPicture)
D : DRAWING_CLASS
D : 'createPicture')
D anchor like(SSClientAnchor)
D pictureIndex 10i 0 value
h_picture = ss_addpicture(h_book : p_logo : ss_pic_jpeg);
h_anchor = new_SSClientAnchor(h_book : 1 : 1 : 4 : 4 : 9 : 0 : 9 : 1);
ssdrawing_createpicture(h_anchor : h_picture);
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments accompanying it) contain confidential information belonging to the sender. The information is intended only for the use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or the taking of any action in reliance on the contents of the information is strictly prohibited. Any unauthorized interception of this transmission is illegal under the law. If you have received this transmission in error, please promptly notify the sender by reply e-mail, and then destroy all copies of the transmission."
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.