Chun Kwong, I am assuming that the access violation is a run time (not a compiling) error. I ran into something recently where I was sending an argument to a subroutine as:
CALL MySubroutine(Arg1,0.0,ResultVar) and got an access violation. It seems obvious in hindsight but what I needed to do was: Arg2 = 0.0 CALL MySubroutine(Arg1,Arg2,ResultVar) in order to avoid the error. Cheers, David At 20:31 2/5/2008, [EMAIL PROTECTED] wrote: >Dear Trnsys users. > >I am trying use the utility subroutine "Pyschrometrics" in my own >component. However, an "access violation" error was found. I have >already included the statements "Use TrnsysConstants" and "Use >TrnsysFunctions" in my source code. Is there anything more that I >have to add in order to use the utility subroutines. Your reply will >be highly appreciated. Thank you! > >Best Regards >LEE, Chun Kwong >PhD student >Department of Mechanical Engineering >University of Hong Kong > > > > >_______________________________________________ >TRNSYS-users mailing list >TRNSYS-users@engr.wisc.edu >https://www.cae.wisc.edu/mailman/listinfo/trnsys-users **************************************************************************************** Thermal Energy System Specialists (TESS), LLC David BRADLEY 2916 Marketplace Drive - Suite 104 Partner Madison, WI 53719 Phone: (608) 274-2577 USA Fax: (608) 278-1475 E-mail: [EMAIL PROTECTED] Web Pages: http://www.tess-inc.com and http://www.trnsys.com "Providing software solutions for today's energy engineering projects" **************************************************************************************** _______________________________________________ TRNSYS-users mailing list TRNSYS-users@engr.wisc.edu https://www.cae.wisc.edu/mailman/listinfo/trnsys-users