--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
>
> Hi forxtra,
> 
> I forget, are you happy with dll plugin? If so,
> maybe you could construct a script implementing:
> 
> declare a WIN32_FIND_DATAA (DWORD [11],  CHAR cFileName[274]) called e.g. 
> findFileData
> 
> then 
> 
>  local hFind = FindFirstFileA("path_to_your_vars.ini", &findFileData)
>  FindClose(hFind);
>  win.debug(hFind)
> 
>  local hFind = FindFirstFileA("path_to_your_plugins.ini", &findFileData)
>  FindClose(hFind);
>  win.debug(hFind)
> 
> if you're not happy with dll plugin, I'll get around to making script for you 
> soon.
>

I'm not sure whether it's correct or not, since I'm a novice. so please correct 
my mistake.

I've both ini files for test.

; ---------------------------------------
Win.Debug(FindFirstFile(PProFolder ++ "vars.ini"))  ;; returns 2171928
Win.Debug(FindFirstFile(PProFolder ++ "plugins.ini")) ;; returns 2169336
Win.Debug(FindFirstFile(PProFolder ++ "_invaild_path_")) ;; return -1


Function FindFirstFile(sFileName)
        Local Dll_Status
        Local findFileData = Dll.Create_Struct("dword[11] ca[274]")

        Local hFind = Dll.Call("FindFirstFileA|s t*", "sFileName", findFileData)
        Dll.Call("FindClose|ui", hFind)
Quit(hFind)
; ---------------------------------------


Thanks.




Reply via email to