[Win32utils-devel] Using callbacks with ReadFileEx
Berger, Daniel
Daniel.Berger at qwest.com
Tue Sep 25 14:10:07 EDT 2007
> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of
> Berger, Daniel
> Sent: Tuesday, September 25, 2007 7:30 AM
> To: Development and ideas for win32utils projects
> Subject: [Win32utils-devel] Using callbacks with ReadFileEx
>
>
> Hi all,
<snip>
> When I run this, however, I get this error:
>
> C:/ruby/lib/ruby/site_ruby/1.8/windows/error.rb:329:in
> `call': wrong number of parameters: expected 1, got 0 (ArgumentEr
> ror)
> from C:/ruby/lib/ruby/site_ruby/1.8/windows/error.rb:329:in
> `get_last_error'
> from nio.rb:124:in `read_async'
> from nio.rb:140
The "real" error is actually "The Parameter is incorrect". It seems I've
smoked out a void prototype bug in win32/api. But, my original code
still doesn't work.
Regards,
Dan
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
More information about the win32utils-devel
mailing list