Search found 1655 matches

by SparkOut
Thu Jan 18, 2018 11:21 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

Re: How to get started with ... everything?

Well I have completed the conversion of all the library functions for the K8055D.dll and can get and set all inputs and outputs, with the exception of the two readback functions. I will need to read more, but I can't see where things are going wrong at the moment. If I introduce LCMark's _ReadBackAn...
by SparkOut
Wed Jan 17, 2018 10:14 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

Re: How to get started with ... everything?

@livecodeali Thanks, that was a "duh" by me with the ampersand, but correcting that doesn't fix the function. In fact, now it completely crashes out LC. I have added the foreign data type declaration above the foreign handler binding declaration private foreign type CIntArray2 binds to "MCAggregateT...
by SparkOut
Wed Jan 17, 2018 4:08 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

Re: How to get started with ... everything?

@LCMark This is fantastic, thank you again! I have been able to make some extra functions and can get and set each digital input and output, and and clear and set all digital inputs and outputs. I can open and close devices, search devices and parse the version. Your ReadAllAnalog function seems to ...
by SparkOut
Tue Jan 16, 2018 10:39 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 11
Views: 247

Re: database works fine in Livecode, not in Android

specialFolderPath("documents") is a sandboxed location that will not be visible to anything but your application unless you have rooted the phone and/or made some other unsafe changes. If you look at the location: /mnt/sdcard/ you should be able to make a publicly accessible folder there to copy the...
by SparkOut
Tue Jan 16, 2018 9:30 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

Re: How to get started with ... everything?

@LCMark This is brilliant, thank you so much. "Simple" is a relative term, obviously! I thought it should be OK in principle but the syntax to declare the handler binding using !stdcall and the folder structure isn't intutive to me. Nevertheless, I am making progress with everyone's kind help. I hav...
by SparkOut
Mon Jan 15, 2018 12:04 am
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

Re: How to get started with ... everything?

@LCMark sure, where/how would you like it? I am trying to access the K8055D.dll provided with Velleman VM110N USB experimentation board. They have a software kit here: https://www.velleman.eu/downloads/files/downloads/k8055n_vm110n_rev1206.zip with example sample source and compiled files for Delphi...
by SparkOut
Thu Jan 11, 2018 10:24 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

Re: How to get started with ... everything?

Thanks to everyone for helping - there's a lot more info out there than I thought. Special thanks to Bernd who contacted me off forum and gave me invaluable help to get me started. I know I'm trying to run before walking, but my ultimate goal is to access functions in a 3rd party dll on Windows. I h...
by SparkOut
Thu Jan 11, 2018 8:41 pm
Forum: Feature Requests
Topic: For which operating system do you need RunRev?
Replies: 29
Views: 1587

Re: For which operating system do you need RunRev?

FWIW I think that an ARM build is the one that could bring most additional benefit from the development investment. We have already had a version for the Raspberry Pi which worked up to 7.0.4 and if Pi could be included as a properly supported platform it could be positioned to spread the word. Pi i...
by SparkOut
Tue Jan 09, 2018 9:38 pm
Forum: LiveCode Builder
Topic: How to get started with ... everything?
Replies: 19
Views: 576

How to get started with ... everything?

For the life of me, I cannot figure out how to get to set up LCB to do anything useful. I have played with the pink circle widget demo and although that "works" it renders a cropped image. But that isn't helping me learn what to do. I can copy the code and get it to do that, but how do I determine w...
by SparkOut
Sat Jan 06, 2018 9:41 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Print to PDF: Right side of text is truncated
Replies: 21
Views: 663

Re: Print to PDF: Right side of text is truncated

Windows renders text for screen and print with different metrics. Setting the stack property formatForPrinting to will adjust the screen rendering (and probably look ugly on screen) but then when you print, it should correctly output (unless there is a different problem). After printing, you can set...
by SparkOut
Fri Jan 05, 2018 11:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Print to PDF: Right side of text is truncated
Replies: 21
Views: 663

Re: Print to PDF: Right side of text is truncated

Not able to test right now, but check out the formatForPrinting property
by SparkOut
Thu Jan 04, 2018 11:29 pm
Forum: Android Deployment
Topic: Android .obb expansion files??
Replies: 19
Views: 362

Re: Android .obb expansion files??

Better to ADD letters rather than drop them, eh Klausimausi? :lol:
by SparkOut
Wed Jan 03, 2018 9:15 pm
Forum: Raspberry Pi
Topic: FAQ for tha LiveCode raspberryians?
Replies: 15
Views: 10209

Re: FAQ for tha LiveCode raspberryians?

Happy New Year everyone, and a big thank you to everyone involved in the deployment of LiveCode on Raspberry Pi. You can guess what my Christmas present was, obviously. Thanks to LiveCode Fraser for the possibility to use LC on Pi. And the most grateful appreciation of your enormously valuable, help...
by SparkOut
Tue Dec 19, 2017 10:59 pm
Forum: Databases
Topic: Can any experienced HTTPS/MySQL user help build webservice.
Replies: 31
Views: 898

Re: Can any experienced HTTPS/MySQL user help build webservice.

In LC put "name=Max" into mydata before posting mydata to the target url

In the php try
$str1 = $_POST['name'];
by SparkOut
Tue Dec 19, 2017 7:29 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: function returns string with quotes
Replies: 13
Views: 393

Re: function returns string with quotes

Really, you should never name any object with just a number. An object has various properties, one of which is the name, another of which is the number, and they reference the object differently. If you refer to an object such as field "1" this will not be interpreted as the name, but as field numbe...

Go to advanced search