Welcome, Guest
Username: Password: Remember me
CodeTyphon Android Development, LAMW, etc, discussions and problems
  • Page:
  • 1

TOPIC:

Need help. Cannot add my library from another Code Typhon proj to LAMW Project. 3 weeks 3 days ago #19039

  • Ak.Saharov
  • Ak.Saharov's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 1
I wanted to use a few function of my library from another Code typhon project in LAMW Project.

I created new LAMW Project.

I tried to add the path to my library in Project Options.

But I had error message from LAMW about wrong path. 
   
In attachments I have marked the path on screenshot with red arrow. 

Need help how to use my library in LAMW Project.
Attachments:

Please Log in or Create an account to join the conversation.

Need help. Cannot add my library from another Code Typhon proj to LAMW Project. 3 weeks 3 days ago #19040

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1239
  • Thank you received: 191
My suggestion is to put your files to 
controls.ctpr folder

MyAdndroidApp/jni/
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Need help. Cannot add my library from another Code Typhon proj to LAMW Project. 3 weeks 18 hours ago #19042

  • Ak.Saharov
  • Ak.Saharov's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 6
  • Thank you received: 1
Thank you, sir.

I copied library to jni folder.
But I had the same error.

No matter the path to jni was on the first place or on the last place.
Screenshots are attached. 
Path to jni is marked with red arrow.

I decided to link the library with {$Linklib} directive and it worked.

I had to use library format, because:

1. The units were written with very old version of free pascal.

2. I failed to compiled the source code because of the differences between new and old freepascal compiler.    
Attachments:

Please Log in or Create an account to join the conversation.

Need help. Cannot add my library from another Code Typhon proj to LAMW Project. 3 weeks 13 hours ago #19043

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1239
  • Thank you received: 191
Thanks Sir
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1