paul wrote:
when i run the result with wine, i get a segfault long before control
has been transferred to my code. it appears to be in wine-preloader
i cannot see how to debug this without endless printf's

Don't pooh-pooh print statements as a debugging technique.
It's like the duct tape of the debugging world.

wine-preloader is a special environment, though; you'll
have to use wld_printf rather than normal printf.
- Dan


Reply via email to