Archive: readable size REG_EXPAND_SZ??


readable size REG_EXPAND_SZ??
hi,
whats the readable size of an REG_EXPAND_SZ with ReadRegStr?
need to read and write HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ DevicePath

on my system there are 2062 characters in this string.
ReadRegString fails and returns "". Adding a test Key with the same type and 15 characters works fine.

solutions for this?

cheers

Daniel


maybe, try
http://forums.winamp.com/showthread....hreadid=223066


ok, thought its the plugin deliverd with nsis distribution.
will give it a try.

thx a lot!

cheers

Daniel


For read such string you need to use NSIS special build with max string length 8192:
http://sourceforge.net/project/showf...ckage_id=15374

And if you want to use registry plugin with this special build for read strings more then 1024 you need to recompile it with line:

#define MAX_STRLEN 8192

thy a lot Instuctor!