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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T09:10:52+00:00 2026-06-18T09:10:52+00:00

I realize this question might be closed with the not enough research. However I

  • 0

I realize this question might be closed with the “not enough research”. However I did spent like 2 days googling for it and didn’t find a conclusive answer.

Well I have an application that spawns a window, not written in c++. This application can have a c-interface with dlls. Now I wish to use the power of OpenCV, so I started on a dll to extend. Ss passing image data from/to the application is near impossible (only capable of passing c-strings & double values directly – using the hard drive for drawing is slowing down too much for real time image manipulation).

I am looking into letting opencv draw the image data directly – onto the window. I can gain the window handle easily, so would it then be possible to let openCV draw their data “over” the other window – or better into the other window?
Is this even possible with any library (FFMPEG, or something else)?

  • 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-18T09:10:53+00:00Added an answer on June 18, 2026 at 9:10 am

    Yes, it’s possible, but it’s far from ideal. You can use GDI to draw on top of the other window (just convert IplImage to HBITMAP). Another technique is to do such drawing in a borderless layered window.

    An easier approach is, since you own both applications, to write a function that passes an IplImage between them using standard C data types, after all, IplImage is nothing but a data type that is built from these standard types.

    Here is how you will disassemble IplImage into 5 standard parameters:

    • The size (int, int) of the image (width/height);
    • The (int) bit depth of the image;
    • The number (int) of channels;
    • And the (unsigned char*) pixels of the image;

    After receiving these parameters on the other side, you may wonder: how do I assemble a IplImage from scratch? Call cvCreateImageHeader() followed by cvSetData().

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

Sidebar

Related Questions

I realize this might not be a clear cut problem/answer question, but I think
I realize this question might not be that programming related, and that it by
I realize that this question might not make sense to some, but I was
So, I realize this might not be the right site, but I didn't think
I realize this question has probably been asked numerous times, but I have not
I realize that this is a question that will probably not have a single
Greets. I realize this might be seen as a duplicate question as this but
Upon pre-submission review, I realize this question might be incredibly silly. if (this.gameOver(gpos) >
I realize in many cases, putting None might not seem so bad. However, I
I realize this might be an easy question that I may have overlooked in

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.