- Posts: 3
- Thank you received: 0
Question Problem with Lazarus Library in CodeTyphoon
- TECHNOLOG
- Topic Author
- Offline
- New Member
-
I have a commercial library from Elevatesoft.
Converting the x64 Library to Codetyphoon give me a compiler error:
edbcommon.pas(1443,89) Error: Call by var for arg no. 6 has to match exactly: Got "QWord" expected "LongWord"
The code line is
FThreadHandle:=BeginThread(nil,0,@ThreadProc,Pointer(Self),CREATE_SUSPENDED,FThreadID);
I have tried to convert the QWord to Longword with the following code
FThreadHandle:=BeginThread(nil,0,@ThreadProc,Pointer(Self),CREATE_SUSPENDED,longWord(FThreadID));
result in the following compiler error
edbcommon.pas(1443,99) Error: Can't take the address of constant expressions
Any idea how to get the x64 library to work? We develop only x64 Applications, so using x86 Application is not possible and not tested.
Thank you in advance.
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Away
- Moderator
-
PtrInt( or
PtrUInt(
PilotLogic Core Programmer
Please Log in or Create an account to join the conversation.
- TECHNOLOG
- Topic Author
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
FThreadHandle:=BeginThread(nil,0,@ThreadProc,Pointer(Self),CREATE_SUSPENDED,PtrInt(FThreadID));
edbcommon.pas(1443,97) Error: Call by var for arg no. 6 has to match exactly: Got "Int64" expected "LongWord"
FThreadHandle:=BeginThread(nil,0,@ThreadProc,Pointer(Self),CREATE_SUSPENDED,PtruInt(FThreadID))
edbcommon.pas(1443,98) Error: Call by var for arg no. 6 has to match exactly: Got "QWord" expected "LongWord"
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Away
- Moderator
-
FThreadID is TThreadID
what type is FThreadHandle ?
a code Sample ?
PilotLogic Core Programmer
Please Log in or Create an account to join the conversation.
- TECHNOLOG
- Topic Author
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
As Moderator, please send me a message to my email and I will send you more information by email.
Please Log in or Create an account to join the conversation.
- Matis A.
-
- Away
- Moderator
-
it's commercial library, so we can't help you,
If you are NOT the owner of the Library.
If you are the owner of the Library,
you can first send an email
to This email address is being protected from spambots. You need JavaScript enabled to view it. without any source
to discuss this.
PilotLogic Core Programmer
Please Log in or Create an account to join the conversation.