One advantage of going the dll routine is that it is very well supported. There is a lot of information both here and on msdn on how to solve various issues.
If you have not seen it already this link may be useful
http://zone.ni.com/devzone/conceptd.nsf/webmain/1D0C73348D50DE5486256FAF00614757
This one is old, but still relevant
http://zone.ni.com/devzone/conceptd.nsf/webmain/5CF9A9FFD774028586256869005FF2ED