06-22-2006 03:02 PM
06-22-2006 03:26 PM
OK... perhaps a silly question but it does not hurt to ask...Your handle variables are defined as what type? They should be type ViSession.
And yes... it should return a "resource not found" error if it can't find the requested resource.
06-23-2006 04:35 AM
GPF is a common result if you pass an uninitialised handle. You should check that the first call you made does not return an error code: if it does then it is likely that defaultRM is left at its original value (0?) - your second call will then most likely GPF with this 0 value. Just don't make that second call if you get an error from the first.
JR