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

  • SEARCH
  • Home
  • 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 9109197
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T02:59:08+00:00 2026-06-17T02:59:08+00:00

I have a program that draws Mandelbrot and Julia sets, displaying them with OpenCV(in

  • 0

I have a program that draws Mandelbrot and Julia sets, displaying them with OpenCV(in separate windows), it runs correctly inside Visual Studio, but when I run the .exe outside visual studio one of the windows doesn’t zoom properly.

The window displaying the Mandelbrot set draws and zooms correctly, the other window, using the exact same zoom method (that works when running inside Visual Studio) doesn’t work

case CV_EVENT_LBUTTONDOWN:
    zx_point += x*zinc;
    zy_point -= y*zinc;
    zinc *= zoom_safe;
    zx_point -= x*zinc;
    zy_point += y*zinc;
    Draw(ptr_kernel, ptr_queue, ptr_image, ptr_context);
break;

It seems like “zx_point” and “zy_point” aren’t being written to, since the window zooms into the top left corner no matter where I click.

In short, debug/release work inside visual studio, have the same strange behavior outside. The dlls are in the same folder as the .exe the output window shows those same dlls loading in VS2010

What might cause such strange behavior?

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-06-17T02:59:10+00:00Added an answer on June 17, 2026 at 2:59 am

    The differences between running a program within Visual Studio and outside visual studio are:

    1. The arguments that are passed to the program.

    2. The working directory of the application.

    3. The environment variables if you changed them after you started Visual Studio (or after you started the launcher if you use such launcher: e.g.: Explorer++)

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

Sidebar

Related Questions

I have a program that draws shapes on an image. I have a separate
I have a program that draws some vector graphics using System.Drawing and the Graphics
I have program that runs fast enough. I want to see the number of
I have a program that draws a random triangle. I wanted to add a
I have a program (a fractal) that draws lines in an interlaced order. Originally,
I have an OpenGL program (C#, using PInvokes to opengl32.dll and glu32.dll) that draws
I have a multithreaded openCV program that uses 4 threads to do the following:
I have written a program in Python that draws some graphs using matplotlib and
I have a program that reads and draws an SVG file in a java
I have a program that draws the contents of a QGraphicsScene to a PNG

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.