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

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

Open
weirdo12 opened this issue Sep 21, 2021 · 1 comment
Open

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

weirdo12 opened this issue Sep 21, 2021 · 1 comment

Comments

@weirdo12
Copy link

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'.

@romankassebaum
Copy link
Contributor

I'm not a C++ specialist. I can only say that many of the TurboPack components seem to have problems with the C++ 64 bit version. If you know someone who could fix this please ask him.

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