Author Topic: Where to download bass.dll,BASSenc.dll 2.3.0.2 files and samples for vb?  (Read 14204 times)

aloneant

  • Posts: 3
I use bass.dll,BASSenc.dll(2.4.0.1) to develop a recording mp3 OCX with lame,but it not work on the PC that has bass.dll 2.3.0.2.
Now, I must replace bass.dll,BASSenc.dll  2.3.0.2 for my OCX,I don't find out this version files and sample in this website.
Please help me.   
Thank you for any help! :)

Ian @ un4seen

  • Administrator
  • Posts: 25758
You can't let the presence of another BASS version on the system deter you from using the version that you want to :)

Where are you installing your files, including the BASS DLLs? Note they should not be installed in the Windows (or other system) directory.

aloneant

  • Posts: 3
thanks you reply.
I regsvr32 my ocx file on different directory,including bass dlls(2.4 version) ,but other Applaction "B" use bass(2.3.0.2). My ocx base on "B" applaction, I can't change "B", because of not have source code file and It's complicated program.
What is a good way to solve it?

Ian @ un4seen

  • Administrator
  • Posts: 25758
OK, so to confirm... your OCX is using BASS 2.4, but an application that wants to use your OCX is already using BASS 2.3? If so, a possible solution would be to rename your BASS.DLL (eg. to "BASS24.DLL") and load it dynamically. What programming language are you using? Also, are you using any add-ons? That could scupper the idea as they expect the file to be named "BASS.DLL".

(: JOBnik! :)

  • Posts: 1080
Hi ;D

I guess you're using VB.

You can make it work with no matter how many BASS versions you have, by "telling" VB to load BASS and its add-ons from the specific directory inside your application directory, e.g:

1. Make a new directory by name "SoundSystem" (or whatever you like) inside your main application directory and copy all BASS dlls to that directory.
2. Change inside BASS.BAS - Lib "bass.dll" to Lib "SoundSystem\bass.dll"
   2.1. The same applies to any add-on you're using

btw, it doesn't work on other PC, because other BASS.DLL is inside windows\system32 directory.
The solution above will ignore BASS.DLL that inside system directory :)
« Last Edit: 18 Mar '09 - 18:02 by (: JOBnik! :) »

aloneant

  • Posts: 3
Thanks for Ian and JOBnik help me, Now,I have find a way for it.
Thanks again for your help :D

jekaterina

  • Guest
I use bass.dll,BASSenc.dll(2.4.0.1) to develop a recording mp3 OCX with lame,but it not work on the PC that has bass.dll 2.3.0.2.
Now, I must replace bass.dll,BASSenc.dll  2.3.0.2 for my OCX,I don't find out this version files and sample in this website.
Please help me.   
Thank you for any help! :)