[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] new component error



Pascal,
  The problem is almost certainly not in the code but in the C++ compiler project settings for linking. Unfortunately I am not able to give you any hints on that front. Even getting compiler project settings to match between two different Fortran compilers is very challenging and involves really not much except trial and error. Sorry I cannot offer you a clean solution.
Best,
  David

On 5/26/2014 04:53, Pascal Keppler wrote:

Hello Everyone,

 

I tried to write a new component simulating adaptive windows. I first used FORTRAN but didn’t find a compiler that worked. So I wrote it all again in C++, got it compiled, but it still won’t work. When I try to run the simulation I get the following error:

 

“Access violation at address 6F6910BC in module ‘222.dll’. Write of address 0000001E”

 

This component is the first thing I ever programmed, so I can’t figure out the mistake in the code. The source code is attached

 

If someone maybe could look it over and tell me what I’m doing wrong I would be very greatful.

 

Greetings,

 

Pascal



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com