View Full Version : self compiled bsn doesn't work with besweet
E-Male
15th May 2004, 22:19
I got bsn compiled (finally)
but the dll doesn't work
besweet gives me that error:
"Error 53: Unable to get bsn.dll interfaces"
can anyone explain what this is or is there any documantation on besweet where i can find details on this error?
thx a lot in advance
E-Male
p.s.: complete log:
------------------------------------------------------------
>"BeSweet.exe" -core( -input "test.wav" -output
"test-New.mp4" ) -bsn( -2ch )
BeSweet v1.5b28 by DSPguru.
--------------------------
Using Shibatch.dll v0.24 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Error 53: Unable to get bsn.dll interfaces
Quiting...
-----------------------------------------------------------
The only man that can answer this is really dspguru but seeing your not getting any replies ill hazard a guess...
When loading the DLL, besweet is doing getprocaddress and not find the functions it expects inside the DLL, and hence exiting is my guess as to the problem.
Now my second guess as to why it's occuring is probably down to name decoration. Use a hex editor on both DLLs and search for "bsn.dll". Straight after that will be the name of the functions exported from the DLL. Make sure they both look exactly the same and don't have things like @4 or other weird characters round them...
Let us know if that makes sense, or better yet give me a link to both bsn.dll files and ill have a look :)
I know nothing about bsn.dll and this is all just a guess, but hey it's a start ;)
-Nic
E-Male
17th May 2004, 17:27
thx for the reply
i'd pm dspguru, but he already helped me alot, and i don't want to anoy him with more noobness
i read through the files with hex-editors and in the original there are the functions, all fine
in my compile there basicly are no functions at all
maybe i did the whole thing wrong: that's what i did:
I found a chance to use Microsoft Visual Studio .NET 2003 C++
I selected new project, bsn, win32 project, type: dll
replaced the bsn.cpp with one from the source-files-pack
at property page/configuration properties/c/c++/command line i added "/I p:\bsn" so the compiler finds the needed source files (nero sdk and others)
hit debug/start(F5) and tried the dll from bsn\debug older
and as you know it didn't work
so might this already explain my problems?
thx
E-Male
p.s. here's the log from VSN2k3C++ in 2 versions:
Build Log ------- Build started: Project: bsn, Configuration: Debug|Win32 -------
Command Lines Creating temporary file "p:\bsn\Debug\RSP000001.rsp" with contents
[
/OUT:"Debug/bsn.dll" /INCREMENTAL /NOLOGO /DLL /DEBUG /ASSEMBLYDEBUG /PDB:"Debug/bsn.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"Debug/bsn.lib" /MACHINE:X86 /FIXED:No kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
.\Debug\bsn.obj
.\Debug\stdafx.obj
.\Debug\bsn.res
]
Creating command line "link.exe @p:\bsn\Debug\RSP000001.rsp"
Output Window Linking...
LINK : warning LNK4243: DLL containing objects compiled with /clr is not linked with /NOENTRY; image may not run correctly
Results Build log was saved at "file://p:\bsn\Debug\BuildLog.htm"
bsn - 0 error(s), 1 warning(s)
------ Build started: Project: bsn, Configuration: Debug Win32 ------
Linking...
LINK : warning LNK4243: DLL containing objects compiled with /clr is not linked with /NOENTRY; image may not run correctly
Build log was saved at "file://p:\bsn\Debug\BuildLog.htm"
bsn - 0 error(s), 1 warning(s)
---------------------- Done ----------------------
Build: 1 succeeded, 0 failed, 0 skipped
As I say, post or upload both DLLs and I'll take a look.
From your output log, everything seems correct ?? So I can't guess what the problem is....
-Nic
E-Male
18th May 2004, 15:38
you got pm
Haven't got much time...But here's what I think:
Did you definitely include the .def file in your project (not just the .cpp & .h files). Just add the file. I don't think your exporting any of the functions. So that's my first guess.
If that's not it, ill try again later :)
-Nic
ps
(oh, for some reason MS VC 2k3 doesn't work as easy as VC6. To add the def file just goto the project property pages and goto the linker tab. Then goto input, then at "Module Definition File" type BSN.def
Then it works :)
E-Male
19th May 2004, 01:46
IT WORKS
after adding that file the way you described and adding all needed cpp and h files to the project i got a working dll compiled
thx a lot nic
now adding my modification can only be a matter of years :)
WOOHOO
neo75903
12th June 2004, 13:09
announcement BsnPresetGui version 2005 for Longhorn ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.