I did not mean hProcess, I meant .hInstApp Sorry... Can you help?
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Truckle, Andrew J > Sent: 21 October 2005 13:26 > To: 'msvc@beginthread.com' > Subject: [msvc] Importing registry > > > I have code that runs regedit to import a .reg file. I > though I should test .hProcess aginst < 33 to know there were > errors. But I did get an error message and the .hProcess was > 0x00000994 so my code thinks it executed fine. What can I do > to change this? I need to be sure that my code realized > there is an error and that it did not import... > > Andrew Truckle > CAD Manager > Atkins Survey and Mapping > Avon Way, Langley Park, Chippenham, Wiltshire. SN15 1GG > Telephone: 01249 455032 > Switchboard: 01249 455000 > Fax: 01249 455045 > E-Mail: [EMAIL PROTECTED] > www.atkinsglobal.com <www.atkinsglobal.com> > > > > This email and any attached files are confidential and > copyright protected. If you are not the addressee, any > dissemination of this communication is strictly prohibited. > Unless otherwise expressly agreed in writing, nothing stated > in this communication shall be legally binding. > > _______________________________________________ > msvc mailing list > msvc@beginthread.com > See > http://beginthread.com/mailman/listinfo/msvc_beginthread.com > for subscription changes, and list archive. > > > This message has been scanned for viruses by MailControl - > (see http://bluepages.wsatkins.co.uk/?4318150) > _______________________________________________ msvc mailing list msvc@beginthread.com See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.