Hi, that is in fact what happened -my fault off course, but I got confused at that point, because I wanted to use the object much later in a procedure.
regards, Dag-Jarle 2011/9/13 Caveat <gam...@caveat.demon.co.uk> > Benoit, > > Try this: > > Dim myObject As Clipboard > myObject.Clear > > The program will stop at the myObject.Clear line with a little 'hover > message': "NULL Object in FMain:14" (for example). I think that's the > message Dag-Jarle is talking about. > > In my opinion this points to some kind of application/logic error, but > perhaps as a consequence of things that have changed in the process of > moving to GB3. > > Regards, > Caveat > > > > On Tue, 2011-09-13 at 02:08 +0200, Benoît Minisini wrote: > > > Hi, > > > > > > I am trying to create a pretty complex software here, but things that > > > worked a year ago are now completely different. I can understand that, > as > > > Gambas is heavely developed. For me sometimes a little frustrating - > with > > > help and hints from the board here I get one step further and get a lot > of > > > new things to think about. I changed > > > > > > Public PROCEDURE ConnectUser() > > > > > > to > > > > > > Public Function ConnectUser() As String > > > > > > and get a lot of errors, f.eks "NULL OBJECT in ...." and "gbx3: > warning: > > > .Eval.?.0: Object.LastEventName is deprecated." > > > in procedures that worked a minute ago. > > > > > > I can go back and use a Global to get rhe status of the connection, but > I > > > wonder how something what is there can be deprecated, and how it is > > > possible to see the content of a NULL OBJECT. > > > > > > I will be grateful for every help, sometimes there is just a little > kick > > > needed. :-) > > > > > > regards, > > > Dag-Jarle > > > > If you don't give enough details, nobody can help you. > > > > Please send a source code project and a way to reproduce the problem. > There is > > no "NULL OBJECT in...." message in Gambas, so I don't know what you are > > talking about. > > > > I have removed the deprecated Object.LastEventName property in the last > > revision, so now you will get an error and maybe a backtrace that will > tell > > you where is the problem exactly. > > > > Regards, > > > > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user