-
Du hast es richtig verstanden. Die Definition als Pointer ist korrekt.
When OPTIONS(*STRING) is specified for a basing pointer parameter passed by
value or by constant-reference, you may either pass a pointer or a character
expression. If you pass a character expression, a temporary value will be created
containing the value of the character expression followed by a null-terminator
(x’00’). The address of this temporary value will be passed to the called program
or procedure.
Jetzt könnte ggf. noch das Speichermodell ein Problem sein, da die Pointer sich dann unterscheiden.
Prüfe bei der Erstellung der Module das Speichermodell.
*SNGLVL = 16-Byte-Pointer, max. 16MB je Variable
*TERASPACE = 8-Byte-Pointer, max. 2^64-1 Bytes insgesamt.
Ggf. erwartet deine C-Funktion Teraspace-Pointer, dein RPG übergibt SNGLVL-Pointer.
Similar Threads
-
By ExAzubi in forum NEWSboard Programmierung
Antworten: 3
Letzter Beitrag: 02-07-14, 14:13
-
By JonnyRico in forum IBM i Hauptforum
Antworten: 3
Letzter Beitrag: 24-04-03, 16:54
-
By Frank in forum NEWSboard Server Software
Antworten: 0
Letzter Beitrag: 02-09-01, 11:35
-
By FGN in forum IBM i Hauptforum
Antworten: 5
Letzter Beitrag: 08-08-01, 11:18
-
By Helwo in forum IBM i Hauptforum
Antworten: 7
Letzter Beitrag: 08-08-01, 08:50
Berechtigungen
- Neue Themen erstellen: Nein
- Themen beantworten: Nein
- You may not post attachments
- You may not edit your posts
-
Foren-Regeln
|
Erweiterte Foren Suche
Google Foren Suche
Forum & Artikel Update eMail
AS/400 / IBM i
Server Expert Gruppen
Unternehmens IT
|
Kategorien online Artikel
- Big Data, Analytics, BI, MIS
- Cloud, Social Media, Devices
- DMS, Archivierung, Druck
- ERP + Add-ons, Business Software
- Hochverfügbarkeit
- Human Resources, Personal
- IBM Announcements
- IT-Karikaturen
- Leitartikel
- Load`n`go
- Messen, Veranstaltungen
- NEWSolutions Dossiers
- Programmierung
- Security
- Software Development + Change Mgmt.
- Solutions & Provider
- Speicher – Storage
- Strategische Berichte
- Systemmanagement
- Tools, Hot-Tips
Auf dem Laufenden bleiben
|
Bookmarks