C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 25th, 2004, 12:54 PM
MarleyGPN MarleyGPN is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 MarleyGPN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Programing is Borland c++ builder?

Hi,

I just recently started learning how to program with C++. On my computer I have Borland c++ 5.02 loaded. With that I just type the program that is on the tutorial, and it runs in its own window. I am currently on a computer on campus trying to develop a program to start up an audio and video stream for two different applications. The program they have here is Borland C++ Builder 6. This is nothing like 5.02 that I work with. To me this language it uses doesn’t even look like c++. I work with a lot of video files, and play the audio separate from the video while working with them both. The video player I use is the old mplayer2. The audio editing program is Wavelab. I can’t find any programs that can start both of these up at the same time and I am trying to create a global control to play and stop both the audio on Wavelab, and the video on mplayer2 to keep them in sync? If anyone has any idea how to do this I would appreciate it. I know it would be easier to attempt this with VB but none of the computers here have it.

Thanks,
MarleyGPN

Reply With Quote
  #2  
Old January 25th, 2004, 01:37 PM
MarleyGPN MarleyGPN is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 MarleyGPN User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have been playing around with it for a while. There is a program that comes with this called WinSight. By the looks of this this, I am assuming I use this to identify the buttons on the program and call them from c++. I got to the point where I am able to pinpoint the ID for the button, I dont know if its unique for each program, so that might not work. I dont exacly know what to do with it, but at least its a start.

Reply With Quote
  #3  
Old January 26th, 2004, 12:48 PM
f'lar's Avatar
f'lar f'lar is offline
Senior WeyrLeader
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Aug 2003
Location: WI
Posts: 4,130 f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level)f'lar User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 1 Month 2 Weeks 11 h 49 m 55 sec
Reputation Power: 977
Send a message via Google Talk to f'lar
Actually, I think Builder is much easier to use than VB. I think, though, that what you want to do isn't really start up two separate programs and have them play at the same time, but actually have your program play the audio and video. The best thing would be to get a movie editing program and mix the two, but you can do this in Builder. The function you want to use for the audio is PlaySound( ). It's part of the Win32API, but you can call it straight from builder. For the video you want to use a media player control, and process the events of clicking play. It will take a bit of research in the help files, but you can do it. To help you out, I've included a program I wrote when I was learning builder. It doesn't use the media player component, but I think it does use PlaySound, and following this code will help you to understand how builder works.
Attached Files
File Type: zip doorprize.zip (295.5 KB, 311 views)
__________________
Primary Forums: .Net Development, MS-SQL, C Programming
VB.Net: It's not your father's Visual Basic.

[Moving to ASP.Net] | [.Net Dos and Don't for VB6 Programmers]

Reply With Quote
  #4  
Old February 3rd, 2004, 08:25 AM
dwaipeyan dwaipeyan is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Location: INDIA
Posts: 11 dwaipeyan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
In VB

Hi
In VB it is very much easier

Just add Micosoft Meadia Player Component and just assign, whichever file you want

While coming to C++ Bilder

The same procedure you have to follow

Just the add the component for media player and then assign the reqiured file for playing audio / vdioe files

MR

Reply With Quote
  #5  
Old June 17th, 2005, 05:54 AM
C++programer C++programer is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 1 C++programer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 10 sec
Reputation Power: 0
I have the same borland c++

If there id a problam you can ask me and maybe i'll

now

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Programing is Borland c++ builder?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT