* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
OK - I understand your problem now Gizmo - I'm not used to colossal databases, well not as a coder anyway!
Glad you have a working solution.
2
Android / Re: LAMW App Crashes on Start up
« Last post by CC on Today at 02:29:14 am »
jmpessoa

 "AppmORMotDemo1\build.xml"  existed, but it its content was not right.  After replacing it with the original file from DonAlfredo LAMW works with  mORMot again.

You were very helpful, thank you!
3
General / Re: LIKE operator for Pascal
« Last post by Bazzao on Today at 02:06:11 am »
Ok Thaddy & bytebites, please calm down.

This is MY topic.

All this discussion and code snippets is very useful, but it all comes down to the fact that others out there, members of the forum or not, beginners or not, will grab published code and expect it to run and be frustrated by compilation errors generated from unsupported code. And it is too easy to forget to replace unsupported code by supported prior to posting.

Please continue, because I am learning ...

My 2c.

Bazza
4
General / Re: RaiseGDBException "Division by zero"
« Last post by jamie on Today at 02:06:04 am »
I also wanted to add it was a way of trapping code and redirecting execution to a DIV 0
handler.
5
General / Re: RaiseGDBException "Division by zero"
« Last post by jamie on Today at 02:04:56 am »
It looks like someone took a short cut to test for the length(msg), if 0 then it
generates a DIV 0 error..

  Back before fault handling that was assured to dump the
program. That was also a way to dump the program under conditions of checking valid
information, like license keys etc.

6
Android / Re: LAMW App Crashes on Start up
« Last post by jmpessoa on Today at 02:00:15 am »
You can:

1.Test if you have "C:\Android\sdk\tools\ant\build.xml"

2. Check "AppmORMotDemo1\build.xml" for missing sdk path ...
7
General / Re: Delete-Insert Logic escapes me!
« Last post by jamie on Today at 01:49:55 am »
replacing should be simple but, there is always that chance of utf8 in the mix but in this
case it should be simple..

 For L := 1 to Length(S) do
   If S[L] ='*' Then S[L] :=' ';
8
Android / Re: LAMW App Crashes on Start up
« Last post by CC on Today at 01:49:52 am »
 My JNIAndroidProject.ini, all paths are valid. Is there any other place I could change the path?

[NewProject]
PathToAndroidSDK=C:\Android\sdk
PathToAndroidNDK=C:\Android\ndk
PathToNdkPlataforms=C:\Android\ndk
PathToJavaTemplates=C:\fpcupdeluxe\ccr\lamw\java
PathToJavaJDK=C:\Program Files (x86)\Java\jdk1.8.0_144
PathToAntBin=c:\Apps\apache-ant\bin
NDK=3
PrebuildOSYS=windows
PathToWorkspace=C:\A\Test
FullProjectName=C:\A\Test\LamwGUIProject2
InstructionSet=2
ProjectModel=1
AntPackageName=org.lamw
AndroidPlatform=0
MinApi=2
TargetApi=1
AntBuildMode=debug
MainActivity=App
SupportV4=
9
General / Re: using timer to set form colour
« Last post by jamie on Today at 01:45:03 am »
In the timer event..

 Tag := (Tag + 1) and 3;
 Case Tag of
    0:Form1.color := ?
    1:Form1.color := ?
    2:Form1.color := ?
    3:Form1.Color := ?
 End;
10
Android / Re: LAMW App Crashes on Start up
« Last post by jmpessoa on Today at 01:42:34 am »
Quote
Panic: C:\A\Projects\DEMO\AppmORMotDemo1\build.xml:12: Cannot find C:\tools\ant\build.xml imported from C:\A\Projects\DEMO\AppmORMotDemo1\build.xml

Maybe a path issue? It seems as if "C:\tools\" was somehow hard-coded. (It is installed to a different directory.)

Your  problem is here:
Quote
Cannot find C:\tools\ant\build.xml
                             

This part "C:\tools\" should be replaced [by LAMW] to your "android-sdk" local path
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus