Skip to content

Testing with C++Builder 64-bit in Alexandria #19

@weirdo12

Description

@weirdo12

I'm just adding this as a report. I did notice that 64-bit support is experimental.

If I create a brand new C++Builder 64-bit VCL Application, drop a sin TApdWinsockPort component on the main form and run it I get the following exception:

Project Project1.exe raised exception class 0xc0000005 with message 'Exception 0xc0000005 encountered at address 0xb477ff: Access violation reading location 0xffffffffffffffff'.

If I try to create the component in the main form constructor like this:

__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
  TApdWinsockPort *ApdWinsockPort1;

  // I tried both 0 and this as the Parent argument - same exception
  ApdWinsockPort1 = new TApdWinsockPort(0);
}
//---------------------------------------------------------------------------

I get the following exception:

Project Project1.exe raised exception class 0xc0000005 with message 'Exception 0xc0000005 encountered at address 0x1ff00000000: User-mode data execution prevention (DEP) violation at location 0x1ff00000000'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions