|
-
May 19th, 2000, 01:02 AM
#1
Thread Starter
New Member
I need help.
I have made an arkaniod game.
I have all the code and everything but the only thing is that I get an error when I try to run it.
I get:
run-time error '48':
File not found: MMSystem
But the thing is that I do have the file.
Please help me.
I am getting mad because it is pissing me off.
Thank you,
Vernon
-
May 19th, 2000, 01:06 AM
#2
Lively Member
can you please add the relavent piece of code??
-
May 19th, 2000, 02:49 AM
#3
Maybe it's some type of Multimedia. Are you using some type of sound or MIDI in your game?
-
May 22nd, 2000, 11:18 PM
#4
Thread Starter
New Member
Here is the code for my game.
Here is the code that you wanted!!!!
The error is going to be showed by a =
Dim rc As Integer
Static NotFirstTime As Integer
If Not NotFirstTime Then
NotFirstTime = False
= rc = joyGetDevCaps(IDDevice, JoyCaps, Len(JoyCaps))
If rc <> 0 Then
GetJoyStickPos = rc
Exit Function
End If
JoyCaps.Xmax = uint_to_long(JoyCaps.XmaxIn)
JoyCaps.Xmin = uint_to_long(JoyCaps.XminIn)
JoyCaps.Ymax = uint_to_long(JoyCaps.YmaxIn)
JoyCaps.Ymin = uint_to_long(JoyCaps.YminIn)
JoyCaps.Zmax = uint_to_long(JoyCaps.ZmaxIn)
JoyCaps.Zmin = uint_to_long(JoyCaps.ZminIn)
End If
rc = joyGetPos(IDDevice, JoyInfo)
GetJoyStickPos = rc
If rc <> 0 Then Exit Function
JoyInfo.X = uint_to_long(JoyInfo.Xin)
JoyInfo.Y = uint_to_long(JoyInfo.Yin)
JoyInfo.Z = uint_to_long(JoyInfo.Zin)
JoyInfo.ButtonDown(1) = (JoyInfo.ButtonStates And JOY_BUTTON1) = JOY_BUTTON1
JoyInfo.ButtonDown(2) = (JoyInfo.ButtonStates And JOY_BUTTON2) = JOY_BUTTON2
JoyInfo.ButtonDown(3) = (JoyInfo.ButtonStates And JOY_BUTTON3) = JOY_BUTTON3
JoyInfo.ButtonDown(4) = (JoyInfo.ButtonStates And JOY_BUTTON4) = JOY_BUTTON4
End Function
-
May 24th, 2000, 04:21 AM
#5
New Member
Could you post the line(s) where you declared that function that is returning the error. Also, what version of VB are you writing it in.
-
May 29th, 2000, 08:55 PM
#6
Thread Starter
New Member
Here is the code
Here is the code that I am getting the error on:
rc = joyGetDevCaps(IDDevice, JoyCaps, Len(JoyCaps))
And I am using VB 6.
Please respond ASAP.
-
May 30th, 2000, 09:37 PM
#7
hello,
im just curious how you get those
code:
----------------------
thingies where you can then type in vb code.
i know you guys think this is a simple question, but im stumped.
-thanks
-t_dawolf
-
May 31st, 2000, 12:44 AM
#8
Junior Member
i can't show you coz it'll do it, so just read forum rules and click on the vb code link.
Hope that helps
Please visit my website http://www.geocities.com/perfectlyperfect2000
For a Gamer, Programming is the Ultimate Game
-
Jun 11th, 2000, 08:36 PM
#9
Thread Starter
New Member
Can anyone else help?
Hey!
Can anyone else help me with this project?
Because I need the help.
Please respond ASAP!!!
Thanks,
Vern
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|