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

Re: [TRNSYS-users] Component Build-Problem with Microsoft Visual C++2005 Express edition



Hi Hans-Jürgen,

 

This is a classic situation where you use the same type number in 2 different DLLs. Either you made 2 tests yielding a different .dll each (Type800.dll & Type801.dll, but in the code it says “int Type800()” each time), or you are using a type number which is already used by a standard component (be careful, some have numbers > 100 now) or installed third-party libraries (TESS, …).

 

Try changing the type number to something exotic, I bet the problem will go away.

 

There are also warning messages in the deck showing which DLLs where loaded.

 

Werner

 

De : Bühler Hans-Jürgen [mailto:Hans-Juergen.Buehler@gn-bauphysik.com]
Envoyé : mercredi 21 avril 2010 09:06
À : TRNSYS-users@cae.wisc.edu
Objet : [TRNSYS-users] Component Build-Problem with Microsoft Visual C++2005 Express edition

 

Dear all,

 

we do type-programming with Microsoft C++ 6.0 . It works perfectly. Now we want to use Microsoft Visual C++ 2005 Express edition. The compilation and the build-process of a dll-test file also shows no problems. But at run-time we get the following error bzw message:

 

    TRNSYS Message 200:     

    This Type was found in more than one DLL. The first instance was loaded. Subsequent instances have been ignored

 

    TRNSYS Error 103:            

     The TRNSYS Type checking routine has found an inconsistency in the specified component between the input file an the information expected by the type.

    An illegal number of PARAMETERS (INPUTS) has been specified for this component configuration. 6 PARAMETERS (INPUTS) were required and 1 were specified.

 

 

     In fact only one input and one parameter were specified in the proforma  !!!

 

 

Does anyone know to fix it?

 

Thanks

 

Hans-Jürgen Bühler

 

 

 

 

GN Bauphysik Ingenieurgesellschaft mbH

Bahnhofstr. 27

70372 Stuttgart

Tel.: 0711-9548800

Fax: 0711-564613

www.gn-bauphysik.com

Geschäftsführer: Dipl.-Ing. (FH) Manfred Finkenberger

Sitz der Gesellschaft: Stuttgart, HRB 14870

 

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat

sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese

Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

 

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have

received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying,

disclosure or distribution of the material in this e-mail is strictly forbidden.