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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:40:49+00:00 2026-05-15T23:40:49+00:00

Okay, here’s my setup. I have a c# app working perfectly on all 32-bit

  • 0

Okay, here’s my setup.

I have a c# app working perfectly on all 32-bit Windows XP-Vista-7 machine. I already have a verisign PFX to support the ClickOnce deployment and is using Atalasoft DotTwain 8.0 as the 3rd party scanner helper.

When I publish my application, I choose “Any CPU” as the Platform target. When I try to make it run on a Windows 7 64-bit Home Premium, my application crashes after the installation.

I tried re-publishing the work on a specific x64 platform but still failed.

Any ideas on what i’m doing wrong here? thanks so much~!

  • 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-05-15T23:40:50+00:00Added an answer on May 15, 2026 at 11:40 pm

    Choose ‘x86’ and I’ll bet it will work;

    You most likely have an ‘x86’ (32-bit) reference in your project, for example DotTwain. ‘Any CPU’ means that the .NET framework will run it as ‘x64’ because you’ve told it anything is OK. Then it tries to load a reference, finds it’s 32-bit and gives a ‘BadImageFormatException’ (usually).

    And so, you’d need a version of DotTwain that’s not been ‘ngen-ed’, has a CPU reference of ‘Any’ too, or release a separate 64-bit version where all of your references are definitely not set to ‘x86’ (you’d want ‘any’ or ‘x64’).

    (Experience this problem all the time; have several apps out there that run on 32-bit, 64-bit, and use DotTwain and other Atalasoft components)

    Hope that helps!

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

Sidebar

Related Questions

Okay here's my situation. I have the following branches development development-kirby (270 commits ahead
Okay here is what I'm trying to do: I have a model object that
Okay basically here's where I'm at. I have a list of PropertyDescriptor objects. These
Okay, here's the scenario. I have a utility that processes tons of records, and
Okay, here's the situation: We have a table of about 50 columns (created by
Okay, here is the deal: User's can buy 'gold' inside of the app with
Okay so here is the problem I am having. I have several unit tests
Okay so here's the thing: I have a linq query which loads approx. 1000
Okay here is the scenario! I have a Person object which has an Address
Hey all. Okay here is the situation. I would like to be able to

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.