troubleshooting Question

PROBLEM with antivirus and function

Avatar of boycoder
boycoder asked on
8 Comments2 Solutions566 ViewsLast Modified:
Hi, my antivirus does not allow my project to run. It finds the following line..

i dont weant to cryot or pack it
REXDUES      := SWET.ExecQuery('SELECT * FROM AntiVirusProduct','WQL',0);

the word it find is "virus"

can i use another word that points to that, so it cant stop me working? below is the function

   Function AVSV:String;
 SWET : OLEVariant;
 REXDUES      : OLEVariant;
 VITEL      : OLEVariant;
 WHATSGV        : IEnumvariant;
 NHFCZ        : LongWord;
 SWET := GetSDX('winmgmts:\\localhost\root\SecurityCenter2');
 REXDUES      := SWET.ExecQuery('SELECT * FROM AntiVirusProduct','WQL',0);
 WHATSGV          := IUnknown(REXDUES._NewEnum) as IEnumVariant;
 while WHATSGV .Next(1, VITEL  , NHFCZ ) = 0 do
   Result:=Result+Format('%s',[fggvc(VITEL  .displayName)])+#13#10; // add ret line

   Result:=Result+#13#10; // add an empty line at end of each block

Freelance Project Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2010

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 2 Answers and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros