I've develpoed a dll that contains a form and some edit boxes. It reads and writes some values from registry. The dll is working fine with an Delphi application, but when I try this with rundll32, it gives me an error **Invalid page fault error**
Infact Rundll32 correctly executes the dll (Correctly reads & writes values to the registry). The error comes when I close the form in the dll.
what could be the possible error.