Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


FMOD and the device


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-19-2007, 08:18 PM
sloopa's Avatar
Knows the basics
 
Join Date: Apr 2007
Location: Germany
Posts: 55
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

A636 (@416) / WM5 / 4GB / Bluetooth-Keyboard
(I'm not a native english-speaker - if I make mistakes, please correct me!)
Reply With Quote
  #2 (permalink)  
Old 05-19-2007, 08:22 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,199
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, 08:40 PM
sloopa's Avatar
Knows the basics
 
Join Date: Apr 2007
Location: Germany
Posts: 55
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

A636 (@416) / WM5 / 4GB / Bluetooth-Keyboard
(I'm not a native english-speaker - if I make mistakes, please correct me!)

Last edited by sloopa : 05-19-2007 at 09: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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
FMOD library V1.5 Erel Official Updates 15 07-30-2008 10:09 AM
problem with fmod yaqoub12 Questions & Help Needed 4 09-23-2007 02:10 PM
FMOD library and .Net CF 2.0 Erel Announcements 0 05-19-2007 09:02 PM
fmod.lenghtms sloopa Bug Reports 5 05-05-2007 05:20 PM
cf2.0 and fmod on device sloopa Basic4ppc Wishlist 0 05-04-2007 07:17 PM


All times are GMT. The time now is 09:49 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0