Skip to content

Demo31 raise AV exception (D13) #518

@floating-clouds

Description

@floating-clouds

Run the demo31 got AV exception, nil object of DelphiObject in WrapDelphi.pas line 3758.
The python test case code

def testCreateComponent(self):
    NewButton = CreateComponent('TButton', None)
    self.assertEqual(NewButton.__bound__, True)
    self.assertEqual(NewButton.__owned__, True)
    NewButton.Free()
    self.assertEqual(NewButton.__bound__, False)

python version min-python3-windows-3.12.7-amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions