Adding ExpandVars

delphi package - automated exception handling
Post Reply
TLgwen
Posts: 2
Joined: Fri Oct 09, 2015 1:55 pm

Adding ExpandVars

Post by TLgwen »

Hi,

I try to add a new value for the reporting, for this, I add this line in the ExpandVars
ReplaceTextW(str, '%username%', TIMEException(self).FBugReportSections['user name'] );

In the settings, I add too the %username% in the Custom Strings for the "Send - bug tracker title", but It doesn't work. I try to access in step by step but it's no possible. Perhaps I must compilate the madexcept.dpk ?

Can you help me ?
Thanks

Gwanael
Company : Tite-Live
Licence : Company edition
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Adding ExpandVars

Post by madshi »

There is no "self" in ExpandVars. Did you add that?

Are you using the madExcept_.bpl runtime package?
TLgwen
Posts: 2
Joined: Fri Oct 09, 2015 1:55 pm

Re: Adding ExpandVars

Post by TLgwen »

OK thanks, it was my error, with the runtime package it work good.

Thanks !
Post Reply