winapi icon indicating copy to clipboard operation
winapi copied to clipboard

Delete reg key

Open moteus opened this issue 13 years ago • 7 comments

Can you add binding to RegDeleteKey?

moteus avatar Jul 06 '12 12:07 moteus

Sure, sounds like a good idea. Any other APIs that would be useful?

stevedonovan avatar Jul 06 '12 13:07 stevedonovan

You can look at afxLua. I use it, but there no src.

moteus avatar Jul 06 '12 15:07 moteus

You can look at afxLua.

I remember that - no source is not a problem, coding is not difficult. Choosing a good API is difficult ;)

For example, it would be useful to provide simple prompt dialogs, so you could ask a user for a string. But then when to stop?

stevedonovan avatar Jul 06 '12 16:07 stevedonovan

Choosing a good API is difficult ;) I know that. :)

I tried to start use winapi several times and every time i fail with it. Main problem is multithreaded and buffer overflow (setenv('xxxx', ('1'):rep(1300))).

moteus avatar Jul 06 '12 17:07 moteus

Hah, now I take back my words - writing good C is hard ;) I should allocate those buffers dynamically!

stevedonovan avatar Jul 09 '12 07:07 stevedonovan

Any other APIs that would be useful?

May be FindFirst/FindNext. AfxLua has very convinient interface (IMHO)

moteus avatar Jul 09 '12 11:07 moteus

@stevedonovan, I'd like to support this ticket. Thank you!

pkulchenko avatar Sep 24 '14 21:09 pkulchenko