AW: Problems with revxml external - solved

Tiemo Hollmann TB toolbook at kestner.de
Wed Oct 17 08:40:25 CDT 2012


Addendum FYI for whoever runs into such stupid issues,
no strange windows things, it was strange me.
I had two different standalone test folders with two different versions of
revxml.dll ...
Thanks Mark again for your advices
Tiemo

> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> Auftrag von Tiemo Hollmann TB
> Gesendet: Mittwoch, 17. Oktober 2012 10:40
> An: 'How to use LiveCode'
> Betreff: AW: Problems with revxml external - solved
> 
> Just FYI,
> after searching, testing and debugging for 2 days I created another
> standalone this morning without changing anything and everything runs
> smooth as ever.
> Sometimes it seems to me that LC on windows makes strange things.
> Tiemo
> 
> > -----Ursprüngliche Nachricht-----
> > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> > Auftrag von Tiemo Hollmann TB
> > Gesendet: Dienstag, 16. Oktober 2012 16:11
> > An: 'How to use LiveCode'
> > Betreff: AW: Problems with revxml external
> >
> > Hello Mark,
> > thanks for jumping in.
> > you are right, actually my application is a splash stack, which
> > creates the standalone and calls my main program in a second
> > stackfile, where I am using the xml functions (while the splash stack
> > keeps in memory, just
> > hidden) - which worked fine in the past.
> > First I tried your suggestion with "start using ..." my splash stack
> > in my "second stack". It results in the same error.
> > I couldn't test to make my "second stack" to a substack of my splash
> > stack, because itself is a main stack with several substacks.
> > I copied the relevant xml statements from my second stack to my splash
> > stack in a test button, just for testing and I get the same error
> > already in my splash stack, where I am sure it is the standalone.
> > So it seems to be something is going wrong in my splash stack.
> > Another issue appeared now when closing the standalone after the
> > revxml functions failed. When closing the application I get from time
> > to time a windows error "mystandalone for windows doesn't work
> > anymore" (translated from German). This seems to indicate - for my
> > small knowledge - any kind of memory issue. Could there be a memory
> > conflict with a custom external or something like this? (I just can't
> > deactivate the custom external for
> > testing)
> > Thanks, Tiemo
> >
> > > -----Ursprüngliche Nachricht-----
> > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> > > Auftrag von Mark Schonewille
> > > Gesendet: Dienstag, 16. Oktober 2012 15:09
> > > An: How to use LiveCode
> > > Betreff: Re: Problems with revxml external
> > >
> > > Dear Tiemo,
> > >
> > > Did you attach the external to the stack that is actually used to
> > > build a standalone? Is it possible that one mainstack is loading the
> > > external while another mainstack is calling it? Perhaps you can
> > > solve this by making one stack a substack of the other or by using a
> > > separate stack that loads all externals and "start using" that stack.
> > >
> > > --
> > > 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
> > >
> > >
> > >
> > > On 16 okt 2012, at 12:35, Tiemo Hollmann TB wrote:
> > >
> > > > Hi,
> > > >
> > > > I have problems with the revxml external in an old LC 4.6.2
> > > > program on
> > > W7.
> > > >
> > > > Everything worked with my xml functions for a long time without
> > > problems.
> > > > Since I worked on an update and made several other changes the
> > > > revxml seems not to work anymore in a standalone. In IDE
> > > > everything still works
> > > fine.
> > > >
> > > > I checked the standalone options, selected the XML library
> > > > manually and also by search for the required inclusions. The
> > > > revxml external seems to be loaded correct, it shows up in the
> > > > externalpackages in stack "home" in the IDE and in stack
> > > > "revExternalLibrary" in my standalone. But calling xml functions,
> > > > like "revcreateXMLTree()" or "revcreateXMLTreeFromFile()" I just get
> an "error in function handler"
> > > as the result.
> > > >
> > > > Copying the same piece of code into a fresh new stack and testing
> > > > the standalone in the same folder (with the revxml.dll in the
> > > > externals subfolder), everything works correct. So there must be
> > > > any kind of conflict in my old stack. But I have no idea, where to
> > > > look for or how to go on testing and debugging. Have you ever
> > > > encountered such behavior with externals? Could there be a
> > > > conflict with other
> > externals?
> > > >
> > > > Any ideas where and what to look for highly appreciated.
> > > >
> > > > Tiemo
> > > >
> > >
> > >
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list