Closed GoogleCodeExporter closed 9 years ago
Sevices dont have a messageloop, your also not going to get far running it
under the Local Service account either with the security restrictions on these
privileged accounts... msnp-sharp uses allot of invoke's and events and without
that messageloop windows forms simply cannot communicate the event pulse or
invoke message between threads...
You have three choices, you can create your own message loop and change all the
events/invoke's to process messages within your own loop, use task scheduler to
run the process or run the process as a hidden window so its like a background
process.
I dont think you'll get far trying to use msnp-sharp from a service without a
near complete rewrite of the library so I recommend developing it as a process
and using task scheduler to run it (with a different user context if required)
since a messageloop is created there or as the current user using a hidden
window.
dmex
Original comment by dmex04@gmail.com
on 19 Jun 2010 at 5:20
Hi,
Dmex has already get the point :)
Original comment by freezing...@gmail.com
on 21 Jun 2010 at 2:20
Original issue reported on code.google.com by
freakysm...@gmail.com
on 14 Jun 2010 at 7:52