Reply To: Incremental Search spikes CPU usage

Product Compare Forums Multi-Edit Support Incremental Search spikes CPU usage Reply To: Incremental Search spikes CPU usage

#5420
Eric Pement
Participant

I forgot you have to define Sleep import. Add following somewhere before IncSrch macro or into win32.sh file where it should be:

[code:11huempy]import void Sleep(DWORD dwMilliseconds)
kernel32 "Sleep";
[/code:11huempy][/quote:11huempy]

In the win32.sh file, I added it, ran “compile CMAC macro” and received the error message, “Error 5005: Macro being loaded is an incompatible version.”

But it did work fine when added in the Search.s file. I recompiled the Multi-Edit macros, and now the incremental search works as expected, with no CPU spiking. Thanks for your help!