Exceptions occur mainly because the parameters you pass are of the wrong data type.
The example that ships with labview
C:\Program Files\National Instruments\LabVIEW 2011\examples\dll\data passing
does give you a lot of information on different data types.
Hope that helps.