Load gewt.dll

asked Feb 10 '5

JQ gravatar image

updated Feb 11 '5

Hi,

I am not able to add gewt.dll:

My code: ierr = psspy.addmodellibrary(r'C:\Program Files\PTI\PSSE35\35.5\PSSBIN\gewt.dll')

ierr=1 indicates that the library was not found. I also tried placing gewt.dll in another directory and updated the path in my code, but the library is still not found.

How can I resolve this issue? By the way, I use PSSE 35.5 and executed my code in visual studio code and pythonwin.

Comments

Have you compiled and linked gewt.dll yourself?

perolofl gravatar imageperolofl (Feb 11 '5)

I see now your other post regarding gewt.dll. The file is not linked for rev 35.5!

perolofl gravatar imageperolofl (Feb 11 '5)

Hi perolofl, how can I compile and link gewt.dll?

JQ gravatar imageJQ (Feb 11 '5)

Always the same answer. The source code is needed, and an appropriate compiler.

perolofl gravatar imageperolofl (Feb 11 '5)