Displaying 1 result from an estimated 1 matches for "proc_status".
Did you mean:
ioc_status
2006 Jun 21
4
Yet another data structure + pack/unpack question (win32-service)
...vice.rb file in the win32-service
repository (the new one in the toplevel repository path), I''ve got this
bit of code, which succeeds, but I can''t seem to unpack the data
structure properly. Did I pack it wrong to begin with? I should know
this but I''m spacing out.
proc_status = [0,0,0,0,0,0,0,0,0,0].pack(''LLLLLLLLLL'')
enum_service = [0.chr, 0.chr].pack(''pp'') + proc_status
service_buf = enum_service * 1000
bytes_needed = [0].pack(''L'')
services_returned = [0].pack(''L'')
resume_han...