[Mono-list] Unable to read ini file in Windows Service

k1Ll5w1tcH garriths at gmail.com
Tue Jul 29 05:02:41 EDT 2008


I know this is not a mono related question, using VS2008 for this one, but
please help me out.

I've written a windows service app, which needs to read an ini file. When I
read the file, the getprivateprofilestring function returns no result, no
errors and only "". When I run it in a windows forms app, it works fine.
Is there something I'm missing??

Please help me out guys!

P.S. The file is on the local disk and the SYSTEM account has full control
of the file. 
View this message in context: http://www.nabble.com/Unable-to-read-ini-file-in-Windows-Service-tp18708069p18708069.html
Sent from the Mono - General mailing list archive at Nabble.com.

More information about the Mono-list mailing list