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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:37:53+00:00 2026-05-14T16:37:53+00:00

I have in Visual Studio 2008 a .NET 3.5 C# project that uses a

  • 0

I have in Visual Studio 2008 a .NET 3.5 C# project that uses a dll compiled from a C# project (let’s call it dll A). Dll A is using on his turn some C++ libraries.

The problem is that when I encounter an error while calling objects from dll A, the application just closes, without showing any error. But I need to know what’s the problem, I cannot just guess and go blind all along the project with this…

I checked Window’s event log, could not find anything. I checked the settings of throwing errors in Visual Studio, in menu Debug – Exceptions, all of them are checked (including C++ exceptions), so, any errors should be thrown.

My code looks something like this:

tessnet2.Tesseract tessocr = new tessnet2.Tesseract();
tessocr.Init(@"s:\temp\tessdata", "eng", false);
tessocr.GetThresholdedImage(bmp, Rectangle.Empty).Save("s:\\temp\\" + Guid.NewGuid().ToString() + ".bmp");
List<tessnet2.Word> words = ocr.DoOCR(bmp, "eng"); //App exits at this line

If I put in my code something like

int x = Convert.ToInt32("test");

this should throw an error. And it throws, and Visual Studio shows it.

Does anyone having any idea why the errors are not being shown? Or where else could be registered?

Any help is very appreciated! Thanks!

  • 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-14T16:37:53+00:00Added an answer on May 14, 2026 at 4:37 pm

    Did you activate unmanaged debugging in the property page of your C# project?

    Without that, debug output from the C++ DLL wont make it to visual studio’s output window.

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

Sidebar

Related Questions

We have a project written in VB.NET using Visual Studio 2008 that is to
Using Visual Studio 2008 and VB.Net: I have a working web app that uses
I have a Visual Studio 2008 C# .NET 3.5 project that I am implementing
I have a Visual Studio 2008 .NET Framework 2.0 project that I'm building. It
I have a Visual Studio 2008 .NET 3.5 Web forms project that constantly shows
I have a visual studio 2008 solution that includes an asp.net-hosted remoting project in
I have a Visual Studio 2008 C# .NET 3.5 project using MySql 5.1.53 and
I have a VB.NET project in Visual Studio 2008 that I created a specialized
I'm using Visual Studio 2008 with a project that's targeting .NET 2.0. I need
I have a WPF VB.NET project in Visual Studio 2008. For some reason, Visual

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.