473,698 Members | 2,022 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multithreading Component

Hello,

Out team is developing a GUI Application. This application will display
multiple images at a time. These images must be rotated, zoomed and do
various post processing tools. One of the requirement is to play back
multiple images at a time.
I have few queries here,

I developed a Windows control library Component in VC.NET. This component
is used in C# application to display images and play back. Multiple instance
of the component is created in the C# and used. When I play back any of the
component what happens is the control doesnt come out from it. I do display
each frame in loop. So at a time only one instance of the component play
back. But I need to display multiple components simultaneously. What should I
do it make it play independently.

or

Can I do this as a SDI application instead of C# and use the component or
code as such. But here too if I call the play function the control will not
return back until that play function is fully completed. So what should I do
here to make it work as required.
If I am going to use TIMER, am not sure how many components will be put on
it and how should i proceed.

If I use Multithreaded application, I have single global function to play
back a file. How can I call this global function multiple times
simultaneously. If I have this function as class member I got to have this as
static function and that too not sure will help me out.

So what would be the best option.
Waiting for your ideas..

Thanks a lot
Sudharsan
May 24 '06 #1
0 1179

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
9724
by: Mark Sisson | last post by:
Hey all. I've got a legacy COM dll that I'd like to use in my multithreaded C# app. Problem though is when I create several instances of the interop object and start them on their own threads they always seem to run synchronously. I've boiled down the code to a simple "lab" experiment below. In this console app you'll see that instance one comes back after roughly 4 seconds and then instance two comes back in 8 seconds, twice the...
1
1551
by: Murad Tchary | last post by:
Hi Here is the code that I use in my app and that code works just fine: loProcessThread = New Thread(AddressOf ProcessSomething) loProcessThread.IsBackground = True loProcessThread.Start() 'Wait until some data will be ready to be use ... Do
47
3731
by: mihai | last post by:
What does the standard say about those two? Is any assurance that the use of STL is thread safe? Have a nice day, Mihai.
1
939
by: Ariel Gimenez | last post by:
Hi, in my web application im calling another component that performs tasks that takes too much time, im wandering what is the correct form to handle this... i mean i think i should call the process in another thread and forget about it to allow the user continue using the page TIA
5
2322
by: MS Newsgroups | last post by:
Hi, I have an application that runs a timer and executes a method in a class as a new thread every 60 seconds, the thread takes 65 seconds to execute so there is a 5 second overlap when 2 threads are running. The problem i have is that i am experiencing sudden high CPU utilization that lasts for a couple of seconds, and i believe that i have managed to tie this down to occuring when the thread is terminated.
0
227
by: Sudharsan | last post by:
Hello, I posted this last week and didnt get any reply from anyone. Out team is developing a GUI Application. This application will display multiple images at a time. These images must be rotated, zoomed and do various post processing tools. One of the requirement is to play back multiple images at a time. I have few queries here,
1
264
by: Sudharsan | last post by:
Hello, I posted this last week and didnt get any reply from anyone. Out team is developing a GUI Application. This application will display multiple images at a time. These images must be rotated, zoomed and do various post processing tools. One of the requirement is to play back multiple images at a time. I have few queries here,
3
1386
by: sundar22in | last post by:
Hi, Iam working on a ASP page which updates about 10000 datas. So it takes more than 1 hour. So how can we redure the time? Is multithreading possible in ASP? Kindly Help -Sundar
0
932
by: jaleel | last post by:
Hi , We have a Windows service which polls a DB table and spawns separate threads for each row in the table. Each thread carries some specific information from the table.Here the requirement is we need to update a thirdpart component by each thread(ofcourse, the information carried by the thread).The thirdparty componet is accessed through a ClassLibrary( using the API provided by thirdparty component). Here, we need to ensure that exclusive...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9026
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8893
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
4366
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.