My anti-virus (ZoneAlarm, version 9.3, the latest...) is giving me a serious security warning when the SET HELPFILE function is called.
Image of the warning:
I was able to isolate the call of the security warning by inserting a MsgInfo() before and after the call to SET HELPFILE TO.
I am getting the error in my application and don't want my users to stress with this.
The problem can be reproduce with one of the FWH samples (fwh\samples\testhlp2.prg)
1) Modify the file fwh\samples\testhlp2.prg and replace CurDrive() with HB_CurDrive()
2) Add some MsgInfo() before and after the SET HELPFILE TO "fwcmd.chm" line (See code example)
3) Compile and start the application ( BUILDH testhlp2 )
The message does appear with my ZoneAlarm, but I do not have any kind of warning on my daughter's PC who is using avast! anti-virus.
- Code: Select all Expand view
function Main()
SetKey( K_F1, { | nKey | MsgInfo( "Help" ) } )
#ifdef __HARBOUR__
MsgInfo("Before SET HELPFILE TO")
SET HELPFILE TO "fwcmd.chm" // Here you set your default HELP file
MsgInfo("After SET HELPFILE TO")
HelpSetTopic( "winhelp" )
#else
SET HELPFILE TO "fwfun.hlp"
#endif
Any help or comments would be really appreciated.....
My configuration:
Windows 7 32 bit
FWH 10.8
Harbour 2.1
BCC55
Claude.