For Programmers: Free Programming Magazines  


Home > Archive > Cobol > April 2006 > Re: pstat_getproc()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: pstat_getproc()
Chris

2006-04-14, 6:55 pm

Michael,

This is definitely an issue with the way h2cpy translates the pstat.h
header filer.

I took your advice and started manually backtracking through the
structure/headers to find where I might need 64 vs 32 bit integers.

Since you can make the call with a partial structure, I was immediately
able to figure out that the problem is sizing as you had indicated.

So, I've been playing with h2cpy to see is I can get it to give me the
appropriate structure, but with no luck. I've tried the -e il64 flag,
but apparently where the pstat.cpy refers to int, sometime it wants a
64 bit int, sometimes a 32 bit.

What a pain - now I have to navigate back through the header files and
manually recreate the pst-status structure to insure it is correct.
Unless you've got any tricks/suggestions for h2cpy that I haven't tried
yet?

Thanks!

Chris

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com