Massimo wrote:
Looking more with some debug print statements, it appears that Autocad allocates 4 bytes of buffer for the value, but RegEnumValueA needs much more, 94 in this case, giving an Out-Of-Buffer error back. It seems to me that the 94 bytes are for the name of the key, not for the value....
Regards
Max
Is it me, or did you just say that placing a five characters value in the registry will cause Autocad to hang indefenitely on Windows? Sloppy programming if I ever saw one.
Not that this is, in any way, an excuse, mind you.
Shachar