Hi Rich,
For the problem you are having with Ini_ReadGeneric function, the thing is that ptrMem parameter is passed as a void pointer. So, inside your Ini_ReadGeneric function, you have to type cast it back to whatever the type you are expecting to be passed before accessing its memebers, like itScript or iHandle.
For the second part of your problem, are you referring to "threadFunction Data" that is a void pointer? If so, what it's saying that you cannot pass the address of a variable that might not be valid when the function (threadFunction, which is a callback function) is executed. It's not saying that you cannot pass a varialble if its value changes when the function gets called. This makes sense because you always want to pass a variable that is still valid w
hen the threadFunction gets called.
Mika Fukuchi
Applications Engineering
National Instruments