News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

EM_FINDTEXT backwards! HELP

Started by xandaz, April 16, 2012, 09:16:38 PM

Previous topic - Next topic

xandaz

    I've been trying to understand how it works for backwards search. For a forward search FINDTEXT.chrg.cpMin is the starting location of search and cpMax should point to last character you want to scan or -1 for a complete scan. How about for backwards scan? The manual says that cpMin must be equal or greater than cpMax, but is it just that? Look at the example and see if you can make something out of it.

xandaz

    OOppps. I'm that rude.
   Thanks and later.
   Bests

jj2007

cpMin is the current position, cpMax is below that position. Setting cpMax to -1 might not be a good idea for an unsigned variable - try zero instead.

xandaz

    So... it doesnt matter what cpMax is as long as it's below cpMin? I feel kinda strange about it. Looking into it.


jj2007

Quote from: hfheatherfox07 on April 16, 2012, 10:56:57 PM
your Dialog Example has a virus in it

Change your AntiVirus, it's a false positive.

hfheatherfox07

Quote from: jj2007 on April 16, 2012, 11:00:09 PM
Quote from: hfheatherfox07 on April 16, 2012, 10:56:57 PM
your Dialog Example has a virus in it

Change your AntiVirus, it's a false positive.

few of AV's detected it ...were is the false positive .... was the file compressed (packed) only than it triggers a false positive ...I had some winsock progies trigger false positive.....

MichaelW

I submitted the fi.exe from the attachment here:

http://virusscan.jotti.org/eng

And all of the scanners (20 total) found nothing.
eschew obfuscation

hfheatherfox07

LOL than my AV's are Crap ... I got Microsft essentials , Norton, and some trogen find thing

My appologies  :red

dedndave

QuoteI got Microsft essentials , Norton, and some trogen find thing

good lord
i bet that computer runs like a snail

hfheatherfox07

Quote from: dedndave on April 16, 2012, 11:59:58 PM
QuoteI got Microsft essentials , Norton, and some trogen find thing

good lord
i bet that computer runs like a snail

It is due for a formatting  :bdg

dedndave

just go to the norton site and get the "norton removal tool" that is appropriate for your version
i bet it runs a lot faster after you run that and reboot

hfheatherfox07

Quote from: dedndave on April 17, 2012, 12:02:09 AM
just go to the norton site and get the "norton removal tool" that is appropriate for your version
i bet it runs a lot faster after you run that and reboot

my compuer crashes on memory I can't figure it or run a debugger it crashes and freezes on break point and other stuff so .....

C:\DO YOU REALLY WANT TO FORMAT: Y/N

C:\Y

:dazzled:

xandaz

   Well....it happened once.... i thought i had removed all of the executables from the packs. Better check it out.

xandaz

    It's working better. Thanks.