Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on 64-bit Windows? #7

Closed
franissirkovic opened this issue May 26, 2013 · 4 comments
Closed

Problem on 64-bit Windows? #7

franissirkovic opened this issue May 26, 2013 · 4 comments

Comments

@franissirkovic
Copy link

Ciao.

I have tried to use the lib. I have encountered a problem when I made a switch to 64-bit windows. I think that the problem is in core.py module. HidDevice property ptr_preparsed_data is initialized as c_ulong(). I have changed that to c_void_p() and I was not able to reproduce the error. Can you check that?
I think lib is great and I would like to use it, but I need it to work on 64-bit.

Best wishes, Franis Sirkovic.

@rene-aguirre
Copy link
Owner

Thanks Franis,

Sure, I'll take a look.

Some people including my self had being using the library on 64 bits. Few
testing on Windows 8 though.

What OS version are you using?

Best regards

Rene

On Sunday, May 26, 2013, franissirkovic wrote:

Ciao.

I have tried to use the lib. I have encountered a problem when I made a
switch to 64-bit windows. I think that the problem is in core.py module.
HidDevice property ptr_preparsed_data is initialized as c_ulong(). I have
changed that to c_void_p() and I was not able to reproduce the error. Can
you check that?
I think lib is great and I would like to use it, but I need it to work on
64-bit.

Best wishes, Franis Sirkovic.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7
.

@franissirkovic
Copy link
Author

Hi.

I am using Windows 7 64 bit and Python 2.7.3 64 bit. I have started
development on XP 32bit and Python 32 bit. I have never seen such problem
on XP.

Best wishes, Franis.

On Mon, May 27, 2013 at 2:04 AM, René Aguirre notifications@github.comwrote:

Thanks Franis,

Sure, I'll take a look.

Some people including my self had being using the library on 64 bits. Few
testing on Windows 8 though.

What OS version are you using?

Best regards

Rene

On Sunday, May 26, 2013, franissirkovic wrote:

Ciao.

I have tried to use the lib. I have encountered a problem when I made a
switch to 64-bit windows. I think that the problem is in core.py module.
HidDevice property ptr_preparsed_data is initialized as c_ulong(). I
have
changed that to c_void_p() and I was not able to reproduce the error.
Can
you check that?
I think lib is great and I would like to use it, but I need it to work
on
64-bit.

Best wishes, Franis Sirkovic.


Reply to this email directly or view it on GitHub<
https://github.com/rene-aguirre/pywinusb/issues/7>
.


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-18472188
.

@rene-aguirre
Copy link
Owner

Hello Franis,

I'm using also Windows 7 64 bits, strangely this didn't show up in my machine.

Anyway, I fully agree with the change, it is already on the repo. Thanks for letting me know about it.

Best regards

Rene

@franissirkovic
Copy link
Author

Thanks Rene.

I have forgot to mention (describe) how to recreate the error. I didn't see
the error with simple test app, I mean start program, open dev, read,
close, exit app.
I have encountered error in real app when dev was reopened and I tried to
used dev again. I saw that I can reproduce the error from the console.

Best wishes and thanks for nice lib, Franis.

On Tue, Jun 11, 2013 at 7:12 AM, René Aguirre notifications@github.comwrote:

Hello Franis,

I'm using also Windows 7 64 bits, strangely this didn't show up in my
machine.

Anyway, I fully agree with the change, it is already on the repo. Thanks
for letting me know about it.

Best regards

Rene


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-19243153
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants