EurekaLog newsgroups
  #1  
Old 19-Jan-2006, 10:33 AM
johnfaris johnfaris is offline
Member
 
Join Date: Aug 2005
Posts: 31
Question Log file name

I have a windows service that uses a DLL called MasterImportProcessor.dll. For some reason the logfile produced by EurekaLog has the name MASTER~1.elf. Any ideas why the filename is getting truncated in this way? It is strange because it seems to be using DOS (8 character) filenames, but other dlls apps I use have more than 8 character names and get given a proper log file name.

Thanks.
Reply With Quote
  #2  
Old 19-Jan-2006, 03:31 PM
Jouni Aro
Guest
 
Posts: n/a
Default Re: Log file name

johnfaris wrote:
> I have a windows service that uses a DLL called
> MasterImportProcessor.dll. For some reason the logfile produced by
> EurekaLog has the name MASTER~1.elf. Any ideas why the filename is
> getting truncated in this way? It is strange because it seems to be
> using DOS (8 character) filenames, but other dlls apps I use have more
> than 8 character names and get given a proper log file name.


I've seen a similar thing to happen with my own logging, when used from
a COM server, instantiated by a client. Application.ExeName (equals to
ParamStr(0) in Delphi) contains the short name in this case (an my log
name generated from that also), but if I launch the app manually,
Application.ExeName (and the log name) contains the long name...
Reply With Quote
  #3  
Old 24-Jan-2006, 02:41 PM
admin
Guest
 
Posts: n/a
Default Re: Log file name

Hi,

johnfaris wrote:
> I have a windows service that uses a DLL called
> MasterImportProcessor.dll. For some reason the logfile produced by
> EurekaLog has the name MASTER~1.elf. Any ideas why the filename is
> getting truncated in this way? It is strange because it seems to be
> using DOS (8 character) filenames, but other dlls apps I use have more
> than 8 character names and get given a proper log file name.
>
> Thanks.


I have just fixed this little bug in the last EurekaLog 5.1.1 RC 2.

Try it and tell back to me your result, ok?

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Reply With Quote
  #4  
Old 27-Jan-2006, 11:09 AM
Jouni Aro
Guest
 
Posts: n/a
Default Re: Log file name

admin wrote:
> I have just fixed this little bug in the last EurekaLog 5.1.1 RC 2.


How did you do it (what was the problem)?
Reply With Quote
  #5  
Old 30-Jan-2006, 11:20 AM
admin
Guest
 
Posts: n/a
Default Re: Log file name

Hi,

Jouni Aro wrote:
> admin wrote:
>> I have just fixed this little bug in the last EurekaLog 5.1.1 RC 2.

>
> How did you do it (what was the problem)?


Now the Log File name is stored in long format (not old DOS 8.3 format).

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Reply With Quote
  #6  
Old 30-Jan-2006, 12:56 PM
Jouni Aro
Guest
 
Posts: n/a
Default Re: Log file name

admin wrote:

> Now the Log File name is stored in long format (not old DOS 8.3 format).


So you convert it in the code to ensure that it is using the long format?
Reply With Quote
  #7  
Old 30-Jan-2006, 06:51 PM
admin
Guest
 
Posts: n/a
Default Re: Log file name

Hi,

Jouni Aro wrote:
> admin wrote:
>
>> Now the Log File name is stored in long format (not old DOS 8.3
>> format).

>
> So you convert it in the code to ensure that it is using the long format?


Yes, it's so!

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Reply With Quote
  #8  
Old 02-Feb-2006, 08:05 AM
johnfaris johnfaris is offline
Member
 
Join Date: Aug 2005
Posts: 31
Default

I have compiled the new version into my application but I'm still waiting for an Exception to occur so that I can see if the problem is fixed

Will let you know as soon as I get one!
Reply With Quote
  #9  
Old 03-Feb-2006, 09:20 AM
johnfaris johnfaris is offline
Member
 
Join Date: Aug 2005
Posts: 31
Default

This issue is resolved now thanks! Interestingly it also uses the old style dll name in the exception message e.g.

"Access violation at address 07DA8091 in module 'MASTER~1.DLL'. Read of address 07DF4000."
Reply With Quote
  #10  
Old 03-Feb-2006, 11:29 AM
admin
Guest
 
Posts: n/a
Default Re: Log file name

Hi,

johnfaris wrote:
> This issue is resolved now thanks! Interestingly it also uses the old
> style dll name in the exception message e.g.
>
> "Access violation at address 07DA8091 in module *'MASTER~1.DLL'*. Read
> of address 07DF4000."


I have just fixed this little issue too, in the version 5.1.2 RC 2.

--
Best regards...

Fabio Dell'Aria.
----------------
http://www.eurekalog.com
Catch every BUG, every time!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem if *proj file and the project source file don't have the same name Unregistered Bugreports 3 22-Mar-2010 09:16 AM

All times are GMT. The time now is 07:24 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright © EurekaLab s.a.s. - VAT ID: IT05554520824