Just for your information:
(if somebody have same problem)
The described problem seems to be a bug in MapInfo Professional 6.0
I have tried the same situation with MapInfo Professional 7.5 and no error
appeared.
Also I could read on NET complains about internal error 34623 and there the
"solution" also was MapInfo upgrade to newer version.
regards
George
----- Original Message -----
From: "rugo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 10, 2004 11:51 AM
Subject: MI-L internal error:34623 still...
> Hmmm...
> I am quite confused...
>
> Without CallBack not all the time but frequently I also got the "internal
> error: 34623" message and MapInfo connection broken...
> Again: this problem only happen in case of calling Mapinfo "Close All"
> command or closing all opened tables in a loop.
> If I call Mapinfo's "Close" command that works fine (but dialog appears
and
> user should push buttons)
>
> Have somebody same experiences? Have somebody solution? Is it a bug in
> MapInfo/MapBasic or the problem is in my system?
>
> Any help would appreciated very much.
>
> George
>
> To test out the situation I have created application which is as simple as
> possible.
> In VB I have a form
> I initialize Mapinfo connection
> Set my form like Application window
> I open one or more table(s)
> I call mapinfo "Close All" command (MapInfo.runMenuCommand
M_FILE_CLOSE_ALL)
> Then I get the internal error message....
>
> Help! Help! Help!
>
> ----- Original Message -----
> From: "rugo" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 09, 2004 9:47 PM
> Subject: Re: internal error:34623
>
>
> > Seems to be the problem somewhere in CallBack.
> > I have created a test app without callback functions.
> > In it "close all" works perfectly.
> >
> > George
> >
> > ----- Original Message -----
> > From: "rugo" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Friday, April 09, 2004 7:59 PM
> > Subject: internal error:34623
> >
> >
> > > Hi list,
> > >
> > > I am working with VB 6.0 and MapBasic, (I use Callbacks to Retrieve
> > > Information from MapInfo.)
> > >
> > > When I want to use Mapinfo's "Close All" command from VB some cases I
> get
> > > "Internal error:34623"
> > > If I use Mapinfo "Close" command to close opened layers one-by-one I
> never
> > > get this error!
> > >
> > > I use the command like this:
> > > "MapInfo.runMenuCommand M_FILE_CLOSE_ALL"
> > >
> > > The situation is same if I pick up number of opened layers:
> > > n = MapInfo.Eval("MapperInfo(" & mapWinID & "MAPPER_INFO_LAYERS)")
> > >
> > > then I want to close them one-by-one in loop:
> > > For i = n to 1 step -1
> > > lname = MapInfo.Eval("LayerInfo( WindowID(1)," & i & " ,1)")
> > > MapInfo.Do "Close Table " & lname
> > > Next i
> > >
> > > But if I make slow the loop, e.g. I put a message inside the loop
(e.g.
> > > MSGBOX(lname + " closed...")
> > > and after every layer closed program displays the message and
continues
> > when
> > > I push OK button, the "internal error" never comes....!
> > >
> > > What the problem can be? Please give me any idea what to do, what can
be
> > the
> > > reason of this stupid situation and how can I prevent it.
> > >
> > > Thank you.
> > > George
> > >
> >
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 11357
>
>
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 11358