Leo1906

Enumerate through RCData

2 posts in this topic

#1 ·  Posted (edited)

I have developed a script that adds data to itself, very similar to this one: 

It all works very good.

I now need a way to enumerate through all of the data stored in RCData to know how many different files there are and what they are named. Do you know a function that can do that?

Thanks in advance! :)

greetz,
Leo

Edited by Leo1906

Share this post


Link to post
Share on other sites



#2 ·  Posted

Ok damn .. sorry that I've made this post... Found out my self now.

The answer is:

Local $test = _WinAPI_EnumResourceNames("C:\Users\root\test\test.exe", 10)
_ArrayDisplay($test)

 

Couldn't find this first using google and the forum and thought it would be somehow difficult. But it's really simple.
Well .. maybe this thread can help somebody in the future ..

Sorry aggain for posting and answering my own question just a few minutes later .. :/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now