Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Windows API GetSystemInfo() structure...

Windows API GetSystemInfo() structure...

RE: Windows API GetSystemInfo() structure...

Which COBOL compiler are you using? There are several that are available on Windows...

Tom Morrison

RE: Windows API GetSystemInfo() structure...

Hi Tom,

I am using the Net Express compiler. In the above mentioned structure the member dwActiveProcessorMask
can compile for both Win32 and Win64 target machines, and I set it to many different data types and sizes
to no avail.


RE: Windows API GetSystemInfo() structure...

https://msdn.microsoft.com/en-us/library/windows/d... would be a more proper link. As I look at this, as long as you can define small endian binary values in whatever it is you're using, you should be able to define this structure as all I can see is 2 or 4 byte binary values there. It'd be something like S9(4) COMP-5 or S9(8) COMP-5 if Net Express supports it. Can't help any more since I don't have a COBOL compiler here, but hopefully that will be a pointer in the right direction.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close