Joanne Thank you for your reply. I discovered the problem and I copy you my findings below, which I'd sent to members who offered help. For everyone's enlightenment I'm CCing this to the List.
Cheers Terry McDonnell ------------------------------------ SOLN: I have a proc which displays a named cursor/layer of Bus Stops (e.g. all the stops for a particular route). One part of the system also created a cursor of stops for a particular route, but with a different name. I was trying to use the same routine to display this but, of course, got an error. So I parameterized the routine so that the name of the stops layer/curor to be displayed was passed. This routine is used in/referred to by a few modules, which all need its declaration. Start of my woes! Somewhere MB doesn't like my param. declarations I guess. I put the routine back as it was an the fatal error doesn't happen now. I don't know if the reason is that you can't just pass a filename as a string and hope the routine will open the cursor of that name. Maybe it's the declaration's parameter, referenced as: Declare Sub SHOW_STOPS_HILITE( tcStopsCursor as String) or Declare Sub SHOW_STOPS_HILITE( lcStopsCursor as String) i.e. In the actual proc. I ref. the param. with prefix "tc", but the calling program uses a param, of the local declared var., prefixed with "lc". Should they be the same (i.e. "tc")? Indeed, if the "lc" prefix is used in the referring, calling prog's declaration, does the variable have to be "known" - declared, prior to this. UPDATE: I made sure the proc declarations in other modules feature the "tc" param and it''s working. But, heh! - what an obscure and unhelpful error message. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 07 June 2005 17:01 To: Terry McDonnell Subject: Re: Fw: Fatal error in Mapbasic.exe Importance: High Terry, The error that you are experiencing is unfortunately a generic error that appears when MapInfo/MapBasic crash. Without seeing the setup of your project I can only suggest that you try changing the order that in which your MBOs are linked. Also MapInfo commonly crashes when the temp directory is full. Try clearing out this directory to see if this resolves the issue (C:\Documents and Settings\<user>\Local Settings\Temp). -----Original Message----- Dear Sirs I've a project with several .MBOs, all to be linked together to one big .MBX. I've just made some program changes to one of my MBOs, compiled it OK. Then I went to link the project and Mapbasic just bombed out on me with an error report for M$ The essence of the error report is: Appname: Mapbasic.exe Version: 7.8.0.17 Modname: NTDLL.DLL Mod. Version: 5.1.2600.2180 Offset: 0001142e ... whatever all that means! I assume there's some problem with a dll but what, why, when, where, how? There are at least 5 copies of the above DLL on my computer, 2 different dates, but all the same size and no evidence of curruption. I do not have any global variables, similarly named but with different data types. Any help would be much appreciated Terry McDonnell --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 16720
