472,783 Members | 1,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,783 software developers and data experts.

AVI API: Mci API (mcisendstring)

AviFileOpen() is an API call and not managed code.
You probably need to mark the code as unsafe if you want to use it.

You find better help under the regular C/C++ forum for API calls.

Thanks so much for that....
i am now thru with it... i can now strip down an Avi file into frames and vice verca...

One more thing..... i am also using the Mci API(mcisendstring) to play media files but i am unable to play the same file types.. like i can play some mp3 files whiles other i can't..... can anyone help with this? a sample code on using the mcisendstring will be ok for me.
Dec 28 '07 #1
1 3505
7,872 Expert 4TB
I renamed and split this topic over to what I believe to be a more helpful forum for windows API calls.
Dec 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Jeroen van Vliet | last post by:
I made a program where wav files will be played from the database, with the full path.LIKE i = mciSendstring(open d:\sound.wav type waveaudio",0&,0,0) i = mciSendstring(play d:\sound.wav...
by: han.phony | last post by:
Hi, I am trying to intercept the message sent back by winmm.dll's mciSendString method when playback is finished. I tried to override the WndProc in the form but I didn't get/intercept the...
by: Dennis | last post by:
I am trying to use the Notify Flag to send a message when a song is finished playing. I got it to work by setting up a dummy window and overriding it's WndProc procedure then raising an event in...
by: Alpha | last post by:
I was told that Unix API can only be called using C++, ATL and MFC. However, I was also told that C# can do that through Pinvoke to a DLL that interfaces with the Unix API. Can someone direct me...
by: kbodily | last post by:
Hi, I have this code in a dragdrop routine for a listview to get the duration of an mp3, where fPath is the path to the file that gets dropped Dim fname As String = Chr(34) + Trim(fPath) +...
by: =?Utf-8?B?Q8Opc2Fy?= | last post by:
Could anyone tell me what am i doing bad? When i use the "MciSendString" always returns a big number instead 0 : What it says that there is an error, and so don't play the sound. Then...
by: BigC | last post by:
I am using the following line of code to save a voice file (.wav) to disk and it works fine when the filename contains no spaces. However the file doesn't get saved when its name contains a space....
by: _nabuchodonozor | last post by:
HI The mciSendString returns different value of tracks length than winamp. The value is longer about 20 seconds and I don't know why. Here is a code: public void SetTime() // I tried to set...
by: bajunaid | last post by:
Hi.. I'm trying to use mciSendString to play MP3 files and record WAV using mciSendString.. I did it successfully in a C# windowsApplicaton.. But when I move the same cod to my ASP file.. It...
by: kofi | last post by:
hi everyone.. i am developing a media player using mcisendstring function call... i have encountered few problems so far.. 1...after setting the screen to fullscreen...the player pauses a video...
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.