I have created a dll using QtBrowserplugin. Its running successfully on IE, Firefox and Opera. But it fails with chrome. I am not even able to call the constructor of my plugin class on chrome. It seems the plugin maybe failing in NP_Initialize or NPP_New. Does any one has any idea what went wrong?

how can I debug where the plugin is failing? can I create a log file by adding some debug messages in the Initialize and New functions?