I am testing the code, I encountered a problem. After starting the wallet, it automatically exits. :-[
How to output information to debug.log file ?
debug.log
2014-06-28 02:46:53 Feathercoin version v0.8.6.2-g463f61a-RTM (Wed, 16 Apr 2014 20:46:36 +0100)
2014-06-28 02:46:53 Using OpenSSL version OpenSSL 1.0.1h 5 Jun 2014
2014-06-28 02:46:53 Default data directory C:\Users\lizhi.lizhi-PC\AppData\Roaming\Feathercoin
2014-06-28 02:46:53 Using data directory C:\Users\lizhi.lizhi-PC\AppData\Roaming\Feathercoin
2014-06-28 02:46:53 Using at most 125 connections (2048 file descriptors available)
2014-06-28 02:46:53 Using 2 threads for script verification
2014-06-28 02:46:53 init message: Verifying wallet…
2014-06-28 02:46:53 dbenv.open LogDir=C:\Users\lizhi.lizhi-PC\AppData\Roaming\Feathercoin\database ErrorFile=C:\Users\lizhi.lizhi-PC\AppData\Roaming\Feathercoin\db.log
2014-06-28 02:46:53 Bound to [::]:9336
2014-06-28 02:46:53 Bound to 0.0.0.0:9336
2014-06-28 02:46:53 init message: Loading block index…
2014-06-28 02:46:53 Opening LevelDB in C:\Users\lizhi.lizhi-PC\AppData\Roaming\Feathercoin\blocks\index
2014-06-28 02:46:53 Opened LevelDB successfully
2014-06-28 02:46:53 Opening LevelDB in C:\Users\lizhi.lizhi-PC\AppData\Roaming\Feathercoin\chainstate
2014-06-28 02:46:53 Opened LevelDB successfully
2014-06-28 02:46:53 LoadBlockIndexDB(): last block file = 0
2014-06-28 02:46:53 LoadBlockIndexDB(): synchronized checkpoint 12a765e31ffd4059bada1e25190f6e98c99d9714d334efa41a195a7e7e04bfe2
2014-06-28 02:46:53 LoadBlockIndexDB(): transaction index disabled
2014-06-28 02:46:53 Initializing databases…
2014-06-28 02:46:53 init message: Verifying blocks…
2014-06-28 02:46:53 block index 182ms
2014-06-28 02:46:53 init message: Loading wallet…
then feathercoin-qt.exe automatically quit. :(