Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8075361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T14:57:47+00:00 2026-06-05T14:57:47+00:00

Have imported the ZXingWidget project and it seems to be working as expected (after

  • 0

Have imported the ZXingWidget project and it seems to be working as expected (after quite a bit of trail and error). What it can do now is to be activated, display a white framed view finder, scan a QRCode and return the result.

What I wish to add is to have ZXingWidget to turn the white view finder frame red when the scan result does not match any predefined strings.

My strategy is to update a global flag in my own project for the string matching result and have ZXingWidget read it.

My problem is, ZXingWidget cannot find the header file (where the global flag variable is declared) despite having set its header search path.

My feeling is, it is either because the search path is wrong or the strategy is flawed. Please advise.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T14:57:49+00:00Added an answer on June 5, 2026 at 2:57 pm

    Well, it kinda sounds like a hack, so if you’re not concerned about cleanliness, just extern it in the widget rather than bothering it to include a header.

    At the point of defintion:

    bool my_red_flag;
    

    In the hacked widget:

    extern bool my_red_flag.
    

    The “proper” way to do it would be add an API for the widget, but that might not be worth the effort to you. (Polling that variable somehow would seem to be required: the widget draws the frame directly and won’t generally redraw it unless given a reason.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have imported the ShockWave flash Activex Control in my Delphi project. I can
I have #imported the FirstViewController.h and i get the error expected ':' before '.'
I have imported a JSF/Facelets project from SVN into Netbeans. Any change which I
I have imported the data into an database. Patient(pt_id,pt_name,pt_type,pt_loc) Now , I want to
I have imported our SVN repository into Mercurial and now we have entries for
So I have imported a project to netbeans. I am using jsf and xhtml
Can MlPy / SciPy be used on GAE? I believe I have imported NumPy
I have imported a project with Mercurial (hg clone ...). When opening it with
I have imported jars for a project under Libraries and attached the corresponding source
At first i have imported #import GDataXMLNode.h in .h file. Now this is my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.