yes, that's the source of the version info (if you are not compiling with MSVC). You may read it at compile time.
But what about users who upgrade their ngspice by just changing the dll?
If you send the command 'version' to ngspice, you will get back
******
** ngspice-30 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please get your ngspice manual from http://ngspice.sourceforge.net/docs.html
** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html
** Creation Date: Thu Feb 21 08:59:50 UTC 2019
******
Well, you have to figure out the ngspice-XX string, but this may be a better way.
@Wyne,
yes, that's the source of the version info (if you are not compiling with MSVC). You may read it at compile time.
But what about users who upgrade their ngspice by just changing the dll?
If you send the command 'version' to ngspice, you will get back
****** ngspice. sourceforge. net/docs. html ngspice. sourceforge. net/bugrep. html
** ngspice-30 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Please get your ngspice manual from http://
** Please file your bug-reports at http://
** Creation Date: Thu Feb 21 08:59:50 UTC 2019
******
Well, you have to figure out the ngspice-XX string, but this may be a better way.