Hello folks building Chrome on Visual Studio 2008 or 2005. I have been trying to integrate a third-party library into chrome to develop and test a plugin. Just like all plugins, this will be built as a dll which should summoned for designated content-type.
I have read in many postings that the NPAPI like external API to develop plugins will be available in May so I decided to get on with work and implement this as an internal plugin by hacking my way through plugin_list.cc and the Glue.vcproject. When I navigate to my test site with content-type, the plugin does get invoked. However all this code is added to the glue.vcproject. I have the code for the thirdparty library that I made a dll project. Here is where the problem starts 1. Glue.vcproject builds a static library (.lib) which calls functions from my third-party project which is built as a DLL. Is this plain wrong? Can a static library make calls to a dynamic library? 2. I was able to build Glue.vcproject when I added my third-party project as project dependency to Glue.vcproject. However, chrome_dll which links to Glue.lib did not link complaining about unresolved references. It was looking for <my project>.lib. But magically, <my project>.vcproj only builds the dll no accompanying .lib. I have tried turning on and off various vcProject options... In the build output, I clearly see /DYNAMICBASE:NO /FIXED:No /IMPLIB being used. I am clueless and would like to know and can share my windows messenger id so that someone can take a look at the vcproject to find out what could be going wrong. Sincerely --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---