>Hi,
> How could I pass the DWORD value to RegSetValue API ? I only know that I need to pass value 4 to inform Windows the parameter is data type DWORD, but what is the format should I pass? I tried to pass it as STRING, INTEGER and "00 00 00 01" but not work.
>
>Thank you
Download Ed Rauh's CLSHeap class from the files section here. It has a bunch of useful stuff, but one of the functions converts a number to DWord for you.
Erik Moore
Clientelligence