Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

FMOD and the device

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-19-2007, 07:18 PM
sloopa's Avatar
Knows the basics
 
Join Date: Apr 2007
Location: Germany
Posts: 60
Default FMOD and the device

Hi Erel,

do you know your example for fmod on the PPC.

It don't work on the PPC (with V4.05 it does) -

V5 says:
An error occured on sub btnload_click

Line number: 20

fmod.Play(OpenDialog1.File)
Error description:
MissingMethodExeption


Here is the source:


'Add an FMOD object named fmod first, and a ProgressBar named bar
Sub Globals
dim pause,file
End Sub

Sub App_Start
form1.show
fmod.New1
bar.New1("form1",5,100,230,30)
Timer1.Interval = 1000
End Sub

Sub Timer1_Tick
bar.Value = 100 * fmod.Position/fmod.Length1
Label1.Text = bar.Value & "%"
if bar.Value = 100 then 'end of song
Timer1.Enabled = false
form1.Text = "MP3 Player"
end if
End Sub


Sub btnLoad_Click
if OpenDialog1.Show <> cCancel then
fmod.Play(OpenDialog1.File)
file = OpenDialog1.File
form1.Text = StrReplace(FileName(OpenDialog1.File),".mp3","")
Timer1.Enabled = true
btnPause.Text = "Pause"
end if
End Sub

Sub btnPause_Click
if btnPause.Text = "Pause" then
pause = fmod.Position
btnPause.Text = "Resume"
Timer1.Enabled = false
fmod.Stop1
else 'Resume
fmod.Play( file)
fmod.Position = pause
btnPause.Text = "Pause"
timer1.Enabled = true
end if
End Sub
__________________
sL00Pa

-1- HTC Diamond / WM6.1
-2- Asus A636 / WM5

(I'm not a native english-speaker - if I make mistakes, please correct me!)
Reply With Quote
  #2 (permalink)  
Old 05-19-2007, 07:22 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 15,733
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

You are probably missing fmodce.dll.
See the setup instructions: http://www.basic4ppc.com/help/fmod/index.html
Reply With Quote
  #3 (permalink)  
Old 05-19-2007, 07:40 PM
sloopa's Avatar
Knows the basics
 
Join Date: Apr 2007
Location: Germany
Posts: 60
Default

You are right... (the bug is in front of the PPC)



the fmodce.dll wasn't in the basic4ppc-program-directory (only in the source-directory)

Thx
__________________
sL00Pa

-1- HTC Diamond / WM6.1
-2- Asus A636 / WM5

(I'm not a native english-speaker - if I make mistakes, please correct me!)

Last edited by sloopa : 05-19-2007 at 08:26 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FMOD library V1.5 Erel Official Updates 17 04-30-2010 10:57 AM
problem with fmod yaqoub12 Questions (Windows Mobile) 4 09-23-2007 01:10 PM
FMOD library and .Net CF 2.0 Erel Announcements 0 05-19-2007 08:02 PM
fmod.lenghtms sloopa Bug Reports 5 05-05-2007 04:20 PM
cf2.0 and fmod on device sloopa Basic4ppc Wishlist 0 05-04-2007 06:17 PM


All times are GMT. The time now is 07:12 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0