×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Certain instructions can't copy pointers and of course user spaces can't be
restored with pointers, or rather the pointer is invalidated. What are you
using to copy the C struct to the *USRSPC?

-Bob Cozzi
www.RPGxTools.com
If everything is under control, you are going too slow.
- Mario Andretti

-----Original Message-----
From: mi400-bounces@xxxxxxxxxxxx [mailto:mi400-bounces@xxxxxxxxxxxx] On
Behalf Of Peter Daransky
Sent: Friday, June 17, 2005 8:59 PM
To: c400@xxxxxxxxxxxx
Cc: mi400@xxxxxxxxxxxx
Subject: [MI400] Write System Pointer to User Space

Hi,
I try to write resolved system pointer of one object to user space ... 
But it doesn't work for me!? Better sayed i've a C structure with many
variables and my wish is write it complet as a block of data to user space,
so that i can later read it with the resolved pointer ... 
Do i need perform something special (API or MI instruction ...) ? 
Has someone done something similar ? 
A little example in C will be help :-) 
 
Thank you 
peter_

_______________________________________________
This is the MI Programming on the AS400 / iSeries (MI400) mailing list
To post a message email: MI400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/mi400
or email: MI400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/mi400.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.