On 29/10/2005, at 4:00 AM, Stephen More wrote:

Can someone provide a little help on what I am doing wrong:

Perhaps we could if you explained WHAT is going wrong. Your append simply contains some code and no details of what problem you are experiencing. Without a proper description of the problem we're just guessing. Does the code compile? Compiles but doesn't run? What error message ID is returned in the error code structure?

Is the user profile under which this program is running enrolled in the system directory? This is a requirement for using QDLS.

Also, do you have some particular reason for using the HFS APIs? You could do this with normal stream file access.

Also, do you have some particular reason for using QDLS? You could use normal stream files (would be easier and faster) instead.

How many bytes have you defined for Open Information and how many do you set?
        strcpy( open_info, "210 120 " );
Count carefully. Hmm?

Nor do you set the length of the error code structure so whether error_code.bytes_available will be greater than zero is in the lap of the gods.

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175                                   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].