problem about firebreath-Collection of common programming errors


  • taxilian
    plugins npapi createprocess firebreath
    I am trying to start notepad.exe from within a FireBreath-Plugin, but when I call the appropriate API-Function (this time “echo” for testing only) it crashes with “Error calling method on NPObject!” in FireFox.Here is my code:FB::variant redtestAPI::echo(const FB::variant& msg) {STARTU

  • mattferrin
    c++ windows dll google-chrome-extension firebreath
    My deepest apologies. The file wasn’t copied into the correct directory and thus could not be read. The extension works across all Windows platforms after all. This is a reminder to perform proper error handling at all times. Straight question: Do I need to upload more than the FireBreath generated .dll file (needing proper .js, .html, and .json are obvious) for a FireBreath plugin within a Chrome extension? Big picture: FireBreath generates a .dll and I believe putting loading this .dll file into the Chrome extension folder I upload using chrome://extensions/ unpacked is sufficient. In other words, I think I do

  • Joel
    xcode firebreath mtp
    I have a functioning plugin I’ve written using the firebreath framework. I need to add MTP read write support to it. After some research I landed on the libmtp (http://libmtp.sourceforge.net/). I downloaded the source built it and was able to run the examples and read / write to MTP devices. Next I tried to add use this lib in my Firebreath plugin project. I can compile fine, but I get the below linker errors. I’ve added to my search library paths the directories with the libusb.a and libiconv.a files.I’ve also tried using the Mac Ports version (sudo ports install libmtp +universal)note: to use libmtp you need libiconv, and libusb installedHere are the Linker errors im getting in xcode.Undefined symbols for architecture i386:”_libiconv”, referenced from:_ptp_unpack_string in libmtp.a(libmtp_la-ptp.o)_ptp_pack_string in libmtp.a(libmtp_la-ptp.o)_utf16_to_utf8 in libmtp.a(libmtp_la-unicode.o)_utf8_to_utf16 in libmtp.a(libmtp_la-unicode.o)”_libiconv_close”, referenced from:_LIBMTP_Release_Device in libmtp.a(libmtp_la-libmtp.o)”_libiconv_open”, referenced from:_LIBMTP_Open_Raw_Device_Uncached in libmtp.a(libmtp_la-libmtp.o)”_libusb_bulk_transfer”, referenced from:_ptp_write_func in libmtp.a(libmtp_la-libusb1-glue.o)_ptp_usb_getdata in

  • RC1140
    c++ windows google-chrome firebreath gpgme
    I am busy converting by existing firebreath plugin here to use gpgme instead of making calls via the OS and the gpg binary.I have managed to get the code to compile in windows using VS 2010 on a x32 system but after loading the plugin into chrome I can not access the npapi code at all. Even simple version calls fails. When loading the plugin I get no visible errors but when using sawbuck log viewer for chrome I get the erorr messages below..\renderer\webplugin_delegate_proxy.cc 347 PluginMsg_Init returned false ..\plugins\npapi\webplugin_impl.cc 271 Couldn’t initialize plug-inI have tried to use my code with both fi

  • caseyCab
    javascript c++ angularjs firebreath
    I have tried to include a FireBreath plugin object in an AngularJS view, however when I try to render the view I get this error:TypeError: Cannot read property ‘nodeName’ of undefinedI am able to successfully include the object in the view with $compile like this:$(“body”).append($compile(‘~T(); }static void clo

  • enlightx
    cmake xml-rpc firebreath
    i’m trying to use this lib in my firebreath project:http://xmlrpc-c.sourceforge.net/This ext lib got compiled succesfully. I can run the exam

  • nomadicME
    firebreath
    I followed the directions found here:http://www.firebreath.org/display/documentation/Tips+and+Tricks#TipsandTricks-Reloadingaloadedpluginand this is the block that I added to FBControl.htm for FBTestPlugin:var myplugin = “

Originally posted 2013-11-09 23:05:59.