Fix FireBreath plugin for Mac OS / Linux

Cancelled

I have a browser plugin based on the FireBreath framework ([url removed, login to view]) that works perfectly in Windows but has a problem in Mac OS. The plugin creates a boost working thread that blocks waiting for events from the function SCardGetStatusChange that is part of the Windows API and in Linux and Mac OS comes from pcsclite ([url removed, login to view]).

In Windows all works perfectly. However in Mac OS I need to have two problem fixed:

1. Notifications from the worker thread are not working, the function in [url removed, login to view] is not called as it is in Windows. Probably the marshaling of objects across threads is being done in an incorrect way that Windows manages to get across?

2. For some unknown reason I had to leave the "echo" method in WebCardAPI.h:38 and the corresponding member function in the class. In Windows I can safely remove those but in Mac OS if I remove it the plugin would not load. This is more an annoyance than a blocking issue but I would like to understand why is that and fix it.

The code can be seen at [url removed, login to view] and I can send a reader if you need it for testing. I think for somebody who is a boost ninja and knows FireBreath the error is probably easy to spot. Knowing PC/SC would definitely help. Without knowledge of the frameworks in use it might be a complex task to find the bug so I guess I'm calling really for the experts out there.

Skills: C++ Programming, Linux, Mac OS, Windows API

See more: firebreath mac, firebreath, mac firebreath, firebreath linux, linux api, linux firebreath, mac pcsclite, scardgetstatuschange, working at h&m, there fix it, ninja framework, https code org, fix it help, fix it at, c# plugin framework, m linux, linux m, linux boost, debian os, linux find, pc/sc, os 10, i need help find worker, html issue fix, find and fix

Project ID: #4777992