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 8742845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:34:15+00:00 2026-06-13T11:34:15+00:00

I started with a functioning bindings project, but I needed to add a global

  • 0

I started with a functioning bindings project, but I needed to add a global int for a status flag and I can’t get it to bind without error. I started with the sample code and can’t get this to work.

The code I add to my bindings file is:

[Static]
interface CameraEffects {
    [Field ("kCameraEffectsZoomFactorKey", "CameraLibrary")]
    NSString ZoomFactorKey { get; }
}

I get three errors:

obj/Debug/ios/PDFExpert/CameraEffects.g.cs(34,94): error CS0117: `MonoTouch.Constants' does not contain a definition for `CameraLibraryLibrary'
obj/Debug/ios/PDFExpert/CameraEffects.g.cs(34,76): error CS1502: The best overloaded method match for `MonoTouch.ObjCRuntime.Dlfcn.dlopen(string, int)' has some invalid arguments
obj/Debug/ios/PDFExpert/CameraEffects.g.cs(34,76): error CS1503: Argument `#1' cannot convert `object' expression to type `string'

If I leave the library off it tried to assign it to another unknown constant. This seems really screwed up as it is strait from the documentation.

  • 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-13T11:34:16+00:00Added an answer on June 13, 2026 at 11:34 am

    I guess this should be bound like this

    [Static]
    interface CameraEffects {
        [Field ("kCameraEffectsZoomFactorKey", "__Internal")]
        NSString ZoomFactorKey { get; }
    }
    

    This is due to on the final app, the executable and the libxxx.a will be linked and merged together so it should work.

    Alex

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

Sidebar

Related Questions

Started using Quartz.net in my project. But got stuck. Using cron trigger fires only
Just started using fadein/fadeout - it's functioning but with problems. I have a set
Started to learn Haskell, I decided to get acquainted with Parsec, but there were
Started Googling today to research implementing Zend_Translate in a Zend 1.6.x project i have
started a visual studio 2010 database project . however i am only able to
Started with a default Prism Shell project and all was working as expected. I
Started GET /users/new for 127.0.0.1 at 2010-07-11 23:07:03 -0400 Processing by UsersController#new as HTML
I started my project since xcode 4.4, and I have created several view controllers
I just started trying out the mvc-mini-profiler in my MVC3 project with EF4.1 and
I have an otherwise functioning rails project where I'm trying to update some form

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.