473,320 Members | 1,580 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

lame_enc.dll and VB.NET

Hello,
I wonder a thing about free mp3 encoder lame if it supports to be used
under Visual Basic .NET. I searched the net then i read sth than Lame
is not accessible under Visual Basic directly. Lame was written under
C language, so is that the reason that lame_enc.dll cannot be used in
Visual Basic projects like a toolbox-added activeX control?

How can i use lame_enc.dll under Visual Basic .NET and what differs
interacting a dll without including it as a COM component from control
toolbox?

Thanks :-)
Dec 10 '07 #1
7 5201
On 2007-12-10, kimiraikkonen <ki*************@gmail.comwrote:
Hello,
I wonder a thing about free mp3 encoder lame if it supports to be used
under Visual Basic .NET. I searched the net then i read sth than Lame
is not accessible under Visual Basic directly. Lame was written under
C language, so is that the reason that lame_enc.dll cannot be used in
Visual Basic projects like a toolbox-added activeX control?

How can i use lame_enc.dll under Visual Basic .NET and what differs
interacting a dll without including it as a COM component from control
toolbox?

Thanks :-)
I haven't ever used lame, but I did look at it once a couple of years
ago... I believe that it exposes an api that you should be able to
access via P/Invoke.

--
Tom Shelton
Dec 10 '07 #2
On Dec 10, 5:39 pm, Tom Shelton
<tom_shel...@YOUKNOWTHEDRILLcomcast.netwrote:
On 2007-12-10, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hello,
I wonder a thing about free mp3 encoder lame if it supports to be used
under Visual Basic .NET. I searched the net then i read sth than Lame
is not accessible under Visual Basic directly. Lame was written under
C language, so is that the reason that lame_enc.dll cannot be used in
Visual Basic projects like a toolbox-added activeX control?
How can i use lame_enc.dll under Visual Basic .NET and what differs
interacting a dll without including it as a COM component from control
toolbox?
Thanks :-)

I haven't ever used lame, but I did look at it once a couple of years
ago... I believe that it exposes an api that you should be able to
access via P/Invoke.

--
Tom Shelton
It would be great if Lame was an COM-compatible control even it's free.
Dec 10 '07 #3
On Dec 10, 9:51 am, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Dec 10, 5:39 pm, Tom Shelton

<tom_shel...@YOUKNOWTHEDRILLcomcast.netwrote:
On 2007-12-10, kimiraikkonen <kimiraikkone...@gmail.comwrote:
Hello,
I wonder a thing about free mp3 encoder lame if it supports to be used
under Visual Basic .NET. I searched the net then i read sth than Lame
is not accessible under Visual Basic directly. Lame was written under
C language, so is that the reason that lame_enc.dll cannot be used in
Visual Basic projects like a toolbox-added activeX control?
How can i use lame_enc.dll under Visual Basic .NET and what differs
interacting a dll without including it as a COM component from control
toolbox?
Thanks :-)
I haven't ever used lame, but I did look at it once a couple of years
ago... I believe that it exposes an api that you should be able to
access via P/Invoke.
--
Tom Shelton

It would be great if Lame was an COM-compatible control even it's free.- Hide quoted text -

- Show quoted text -
Well, you could always create one - or search, maybe someone else has
already done it ;)

--
Tom Shelton
Dec 10 '07 #4
Hi Tom,
>I haven't ever used lame, but I did look at it once a couple of years
ago... I believe that it exposes an api that you should be able to
access via P/Invoke.
It has, the Interface is exposed as Standard-C Exports and
you can easlily access it via pinvoke,...

See here:

beCloseStream
beDeinitStream
beEncodeChunk
beEncodeChunkFloatS16NI
beFlushNoGap
beInitStream
beVersion
beWriteInfoTag
beWriteVBRHeader
Regrds

Kerem
--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Dec 10 '07 #5
On Dec 10, 10:39 pm, "Kerem Gümrükcü" <kareem...@hotmail.comwrote:
Hi Tom,
I haven't ever used lame, but I did look at it once a couple of years
ago... I believe that it exposes an api that you should be able to
access via P/Invoke.

It has, the Interface is exposed as Standard-C Exports and
you can easlily access it via pinvoke,...

See here:

beCloseStream
beDeinitStream
beEncodeChunk
beEncodeChunkFloatS16NI
beFlushNoGap
beInitStream
beVersion
beWriteInfoTag
beWriteVBRHeader

Regrds

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space:http://kerem-g.spaces.live.com/
Latest Open-Source Projects:http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Hi,
Could you sample some code includes P/invoke for VB.NET?

Thanks.
Dec 11 '07 #6
Hi Tom,

see here:

VB Example:
http://www.codeproject.com/KB/audio-...spx?print=true

Other useful Code:
http://www.csharphelp.com/archives/archive264.html
http://groups.google.com/group/micro...fe492f83b5ef1/

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Dec 11 '07 #7
On Dec 11, 9:48 pm, "Kerem Gümrükcü" <kareem...@hotmail.comwrote:
Hi Tom,

see here:

VB Example:http://www.codeproject.com/KB/audio-...spx?print=true

Other useful Code:http://www.csharphelp.com/archives/a...languages.csha...

Regards

Kerem

--
-----------------------
Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space:http://kerem-g.spaces.live.com/
Latest Open-Source Projects:http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or implied."
Hi Kerem,
Thanks for the links replying regarding to Tom but i'm not Tom :-),
however i was aware of some them like codeproject's one but that one
is not well-detailed and assumes that you're experienced.

I don't have much experience about invoking methods, could you
describe and say the differences between invoke, begininvoke,
endinvoke and the important one P/invoke?

Is it about .NET's platform invoke?

Thanks.
Dec 11 '07 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: gilad | last post by:
Hi, I have just released the initial beta of a C# project called 'aumplib'. aumplib is a C# namespace which is made up of a set of classes that interface several prominent open source audio...
3
by: gilad | last post by:
This is to announce the beta 2 release of Aumplib. After garnering comments from this newsgroup, I have modified the code to use a more standard style convention. Aumplib is a C# namespace which...
8
by: Dennis | last post by:
I am trying to decompress MP3 files to WAV using VB.Net. What I really need is a wrapper in VB.Net or C# that includes ALL of the Lame.Dll funcitons including those to decompress to a WAV File. ...
8
by: vtxr1300 | last post by:
I'm getting an error The system cannot find the file specified at System.Diagnostics.Process.StartWithShellExecuteEx when I try to do Process.Start in my asp.net page. It's version 2 and the path...
1
by: Harlin Seritt | last post by:
Is there any type of lame_enc.dll wrapper for Python that's available? Thanks, Harlin Seritt
2
by: =?Utf-8?B?anVhbg==?= | last post by:
Hello: I have tried for weeks to use LAME in Windows. Can somebody tell me how to do it? I can't add a reference to the project (Visual Basic 2005). Thanks.
1
by: echochrome | last post by:
I was wondering if there was a quick and easy way to expose methods of an unknown DLL? is there a program that would dump a list? The reason that I am asking is that I have a few DLLs I'd like to...
16
by: Apostle | last post by:
Hi All, I want to make single file encoder with lame_enc.dll. I have DLL Manual and it tells me steps to follow is to fill BE_CONFIG and going with other stuffs. I'm newbee with this and I need...
0
by: Danish Gul Khan | last post by:
I have deceloped an audio converter interface. But I don't know how to convert the audio formats. I have downloaded 3 DLLs including: lame_enc.dll, libsndfile.dll and madlldlib.dll. I got...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.