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

Compile Error Invalid cast InvokeCall.inc(116) #245

Open
kaizirlewagen opened this issue Mar 5, 2021 · 2 comments
Open

Compile Error Invalid cast InvokeCall.inc(116) #245

kaizirlewagen opened this issue Mar 5, 2021 · 2 comments

Comments

@kaizirlewagen
Copy link

kaizirlewagen commented Mar 5, 2021

I use Delphi 10.1 with the latest MASTER code source.

I use the sample from "Samples\TestApp" and i add source folder to the search path of the project.

I don't install the packages. I want to have a stand alone version. I worked a lot with Pascalscript.

All units where found but if i try to compile the new test project the following error raised:

[dcc32 Error] InvokeCall.inc(116): E2089 Invalid typecast

btSingle: psingle(res.dta)^ := Double(Invoke(Address,Args,SysCalConv,TypeInfo(Single),False,IsConstr).AsExtended); btDouble: pdouble(res.dta)^ := Double(Invoke(Address,Args,SysCalConv,TypeInfo(Double),False,IsConstr).AsExtended);

What is missing in my stand alone installation? Do you have any ideas?

@martijnlaan
Copy link
Collaborator

Try the stable branch, it shouldn't have this problem.

@kaizirlewagen
Copy link
Author

Thx... works as expected.

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