Close all databases - CRASH

Mark Schonewille m.schonewille at economy-x-talk.com
Mon Oct 14 07:27:33 CDT 2013


I forgot to mention: the crash persists despite the debug level.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 10/14/2013 14:09, Ruslan Zasukhin wrote:
> On 10/14/13 2:52 PM, "Mark Schonewille" <m.schonewille at economy-x-talk.com>
> wrote:
>
> Hi Mark,
>
>> Ruslan,
>>
>> If I use vDatabase_SqlQuery() followed by VCursor_GetRecords(), LiveCode
>> crashes consistently.
>
> 1)
>
> But how you do this?
>
> VCursor_GetRecords() need cursorRef
>
> You can get it only from vDatabase_SqlSelect()
>
> But not from SQLQuery(), which returns QueryResult
>      -- a very different thing.
>
>
>
> 2) during development, to avoid often crashes, on such mistakes,
> It is a good idea to use
>
>      Valentina_DebugLevel
>
> Feature.
>
> It prevent from crashes, thanks to special checks.
> And you will see in V4REV_LOG file yet messages,
> That you have provide wrong cursorRef
>
>
>


More information about the Valentina mailing list