Hi, I am trying to determine if I need to close both of the handles in the following scenario.
void func(MSIHANDLE hArgRecord) { ... } int main() { ... MSIHANDLE hRecord = MsiCreateRecord(n); .. func(hRecord); ... } Here, do I need to do MsiCloseHandle on both hRecord and hArgRecord? It seems that since they are pointing to the same record, closing in the main() only would suffice, but I just wanted to make sure. Thanks! ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users