1
Vote

ctypes.wintypes.LPCSTR doesn't works correctly

description

This code works in Python:
 
from ctypes.wintypes import LPCSTR
lpstr = LPCSTR(b'\000')
 
but doesn't work in IronPython!
Fails with error:
TypeError: expected char pointer, got bytes

comments