I am writng a program that captures all the capabilities of OpenML ML.
but when i write the folowing lines i receive a RUN-TIME error.
MLpv* JackType = mlPvFind( JackCap, ML_JACK_TYPE_INT32 );
printf( "Type of this jack is %s\n" ,(char *)(JackType -> value.int32));
notice that the jack is available-this is the input or output jack.
also the following lines create a RUN-TIME error:
MLpv* Version = mlPvFind( deviceCap, ML_DEVICE_VERSION_INT32 );
printf("Version of this physical device is:%s\n",Version > value.int32 );
notice that many of the capabilities are work good.as an examples when i write the following code there is no error.
MLpv* DeviceName = mlPvFind( deviceCap, ML_NAME_BYTE_ARRAY);
printf( "\nThe name for device %i is %s\n", i, DeviceName ->value.pByte );
I'm looking forward to hear your instructions.
[ July 20, 2004: Message edited by: ehsan2004 ]