• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • comtypes
  • Bugs

access violation with wrong array.array type

Status: Beta
Brought to you by: cfarrow, jaraco, theller
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Feature Requests
    • Bugs
    • Patches
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#26 access violation with wrong array.array type

open
nobody
None
5
2014-02-19
2012-11-30
ninou
No

i call a COM function waiting a uint32 with a wrong 16bits array.array('H').
The result is an access violation:
File "C:\Python27\lib\site-packages\comtypes\__init__.py", line 604, in call_with_inout
v = atyp.from_param(v)
File "C:\Python27\lib\site-packages\comtypes\safearray.py", line 199, in from_param
value = cls.create(value, extra)
File "C:\Python27\lib\site-packages\comtypes\safearray.py", line 138, in create
memmove(ptr, addr, nbytes)
WindowsError: exception: access violation reading 0x04AFD000

May be a test on types is missing

regards

Discussion

  • Christopher L Farrow

    Christopher L Farrow - 2014-02-19

    Transferred to https://github.com/enthought/comtypes/issues/22 .

     
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    1320 Columbia Street Suite 310
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2026 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×