|
From: Rob C. <ro...@so...> - 2003-04-06 16:17:26
|
While scanning my harddrive I suddenly found this dll file. (Get it here = http://www.solidrocketboosters.com/dev/openqtdll/OpenQuicktimeLib.dll) I have really no idea where I got it from .. I guess it came with some = application? Anyway a enumeration of the dll's functiosn tells me that about all the = OpenQuicktime API's functions are present in this dll. Is there any documentation on the DLL? I tried to access some of the functions from VB, but I did not really = succeed, its a kin a black box now. -Rob |
|
From: Yann <ya...@3i...> - 2003-04-06 16:43:53
|
Hello Rob, OpenQuicktime can be used by anyone respecting the LGPL license. It's currently used by some of the DirectShow filters used by 3ivx D4 = (www.3ivx.com) ... The API of that dll is well-known and its documentation can be found = here (http://www.openquicktime.org/docs/openquicktime/). It's not a black-box at all, you can find its source code in the = openquicktime CVS (http://sourceforge.net/cvs/?group_id=3D26082) hope that helps, Yann. ----- Original Message -----=20 From: Rob Coenen=20 To: ope...@li...=20 Sent: Sunday, April 06, 2003 6:17 PM Subject: [Openquicktime-users] Who compiled this OpenQT dll? While scanning my harddrive I suddenly found this dll file. (Get it = here = http://www.solidrocketboosters.com/dev/openqtdll/OpenQuicktimeLib.dll) I have really no idea where I got it from .. I guess it came with some = application? Anyway a enumeration of the dll's functiosn tells me that about all = the OpenQuicktime API's functions are present in this dll. Is there any documentation on the DLL? I tried to access some of the functions from VB, but I did not really = succeed, its a kin a black box now. -Rob |
|
From: Rob C. <ro...@so...> - 2003-04-06 17:13:50
|
allright, I know the API is well known, but -and this might be off =
topic-, I have trouble using this specific DLL.
I want to use it within Visual Basic and the problem is that I have no =
idea how to call the functions in the dll in the right way.
The API documentation say for example about oqt_get_info_list :
---start quote---
OPENQUICKTIMELIB_API oqt_udta_t* OQT_STDCALL oqt_get_info_list (
oqt_t *file
);
Parameters
Name Description
file The file to get the info fields from'
Result: The array of info field records
---end quote---
Now I woudl like to access this function from VB, and I tried something =
like this:
Public Declare Function oqt_get_info_list Lib "OpenQuicktimeLib.dll" =
(ByVal file as string) as variant
test =3D oqt_get_info_list("my_kewl_movie.mov")
This results in a "Run-time error '49': Bad DLL Calling convention"
I think this has to do because the function is not using a STDCLL but a =
OQT_STDCLL (whatever that exactly might be, I am little experienced with =
C++, but I did figure out that VB only seems to support STDCLL)
Also as I don't have the source code of the dll I cannot change =
anything. I tried to compile such a DLL myself using VC++ but I ran into =
problems because if a missing "inttypes.h" which seems to be not part of =
Visual C++.
So any help on compiling myself a OpenQT dll and / or how to use this =
from within VB ... mucho gracias (this will result into support for not =
only .avi & .mp4 but also .mov in my awesome, non commercial, opensource =
yet-top-secret-for-now project !)
-Rob
----- Original Message -----=20
From: Yann=20
To: Rob Coenen ; ope...@li...=20
Sent: Sunday, April 06, 2003 6:43 PM
Subject: Re: [Openquicktime-users] Who compiled this OpenQT dll?
Hello Rob,
OpenQuicktime can be used by anyone respecting the LGPL license.
It's currently used by some of the DirectShow filters used by 3ivx D4 =
(www.3ivx.com) ...
The API of that dll is well-known and its documentation can be found =
here (http://www.openquicktime.org/docs/openquicktime/).
It's not a black-box at all, you can find its source code in the =
openquicktime CVS (http://sourceforge.net/cvs/?group_id=3D26082)
hope that helps,
Yann.
----- Original Message -----=20
From: Rob Coenen=20
To: ope...@li...=20
Sent: Sunday, April 06, 2003 6:17 PM
Subject: [Openquicktime-users] Who compiled this OpenQT dll?
While scanning my harddrive I suddenly found this dll file. (Get it =
here =
http://www.solidrocketboosters.com/dev/openqtdll/OpenQuicktimeLib.dll)
I have really no idea where I got it from .. I guess it came with =
some application?
Anyway a enumeration of the dll's functiosn tells me that about all =
the OpenQuicktime API's functions are present in this dll.
Is there any documentation on the DLL?
I tried to access some of the functions from VB, but I did not =
really succeed, its a kin a black box now.
-Rob |
|
From: Yann <ya...@3i...> - 2003-04-06 21:47:56
|
Yeah, you're right the dll uses cdecl and not stdcall. So, either, there =
is a way to call a cdecl function from visualbasic or you have to =
recompile the dll.
The current OpenQuicktimeLib.dsp works nicely in my dev env ... I cannot =
help you more without other precisions :(
Be sure to use the sources from the cvs and not the old 1.0 Release ...
----- Original Message -----=20
From: Rob Coenen=20
To: Yann ; ope...@li...=20
Sent: Sunday, April 06, 2003 7:13 PM
Subject: Re: [Openquicktime-users] Who compiled this OpenQT dll?
allright, I know the API is well known, but -and this might be off =
topic-, I have trouble using this specific DLL.
I want to use it within Visual Basic and the problem is that I have no =
idea how to call the functions in the dll in the right way.
The API documentation say for example about oqt_get_info_list :
---start quote---
OPENQUICKTIMELIB_API oqt_udta_t* OQT_STDCALL oqt_get_info_list (
oqt_t *file
);
Parameters
Name Description
file The file to get the info fields from'
Result: The array of info field records
---end quote---
Now I woudl like to access this function from VB, and I tried =
something like this:
Public Declare Function oqt_get_info_list Lib "OpenQuicktimeLib.dll" =
(ByVal file as string) as variant
test =3D oqt_get_info_list("my_kewl_movie.mov")
This results in a "Run-time error '49': Bad DLL Calling convention"
I think this has to do because the function is not using a STDCLL but =
a OQT_STDCLL (whatever that exactly might be, I am little experienced =
with C++, but I did figure out that VB only seems to support STDCLL)
Also as I don't have the source code of the dll I cannot change =
anything. I tried to compile such a DLL myself using VC++ but I ran into =
problems because if a missing "inttypes.h" which seems to be not part of =
Visual C++.
So any help on compiling myself a OpenQT dll and / or how to use this =
from within VB ... mucho gracias (this will result into support for not =
only .avi & .mp4 but also .mov in my awesome, non commercial, opensource =
yet-top-secret-for-now project !)
-Rob
----- Original Message -----=20
From: Yann=20
To: Rob Coenen ; ope...@li...=20
Sent: Sunday, April 06, 2003 6:43 PM
Subject: Re: [Openquicktime-users] Who compiled this OpenQT dll?
Hello Rob,
OpenQuicktime can be used by anyone respecting the LGPL license.
It's currently used by some of the DirectShow filters used by 3ivx =
D4 (www.3ivx.com) ...
The API of that dll is well-known and its documentation can be found =
here (http://www.openquicktime.org/docs/openquicktime/).
It's not a black-box at all, you can find its source code in the =
openquicktime CVS (http://sourceforge.net/cvs/?group_id=3D26082)
hope that helps,
Yann.
----- Original Message -----=20
From: Rob Coenen=20
To: ope...@li...=20
Sent: Sunday, April 06, 2003 6:17 PM
Subject: [Openquicktime-users] Who compiled this OpenQT dll?
While scanning my harddrive I suddenly found this dll file. (Get =
it here =
http://www.solidrocketboosters.com/dev/openqtdll/OpenQuicktimeLib.dll)
I have really no idea where I got it from .. I guess it came with =
some application?
Anyway a enumeration of the dll's functiosn tells me that about =
all the OpenQuicktime API's functions are present in this dll.
Is there any documentation on the DLL?
I tried to access some of the functions from VB, but I did not =
really succeed, its a kin a black box now.
-Rob |
|
From: Rob C. <ro...@so...> - 2003-04-07 06:42:57
|
Oops right I was not using the CVS version buty the old 1.0 I tried the latest CVS version and it has 2 .dsp 's in the WIN32 folder. = Still got 2 problems: 1) On opening it complains that "OQTDemux.dsp" is unavailable. 2) When trying to compile OpenQuicktimeLib the compiler gives these = errors: c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2065: = 'PACKAGE' : undeclared identifier c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): warning C4047: = 'function' : 'char *' differs in levels of indirection from 'int' c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2143: = syntax error : missing ')' before 'string' c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2059: = syntax error : ')' c:\Dev\OpenQT\Compress\OpenQuicktime\lib\moov.c(24): fatal error C1083: = Cannot open include file: 'zlib.h': No such file or directory (tried both VC++ 6 & VC++.NET). I guess I can fix the last error about = the missing zlib.h but the other erros are less clear to me. (at least why they appear as you were able to build it) ----- Original Message -----=20 From: Yann=20 To: ope...@li...=20 Sent: Sunday, April 06, 2003 11:46 PM Subject: Re: [Openquicktime-users] Who compiled this OpenQT dll? Yeah, you're right the dll uses cdecl and not stdcall. So, either, = there is a way to call a cdecl function from visualbasic or you have to = recompile the dll. The current OpenQuicktimeLib.dsp works nicely in my dev env ... I = cannot help you more without other precisions :( Be sure to use the sources from the cvs and not the old 1.0 Release ... |
|
From: Nicholas H. <nj...@ec...> - 2003-04-07 10:09:31
|
Hi, Sorry I didn't reply about your previous emails - I have very very little knowledge about Windows. I can however tell you the problem with a couple of the problems. The 'PACKAGE' macro needs to be defined in winconfig.h Try bunging in the following stuff I took from my config.h. And the 'zlib.h' header file is part of zlib - and probably needs install on your system? http://www.gzip.org/zlib/ Cheers, nick. /* The name of the host system OpenQuicktime is running on. */ #define OQT_HOST "some-windows-machine" /* Increment when the Plugin interface API changes. */ #define OQT_INTERFACE_AGE 1 /* Name of package */ #define PACKAGE "openquicktime" /* Define to the address where bug reports for this package should be sent. */ #define PACKAGE_BUGREPORT "ope...@li..." /* Define to the full name of this package. */ #define PACKAGE_NAME "OpenQuicktime" /* Define to the full name and version of this package. */ #define PACKAGE_STRING "OpenQuicktime 2.0.0b1" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "openquicktime" /* Define to the version of this package. */ #define PACKAGE_VERSION "2.0.0b1" >Oops right I was not using the CVS version buty the old 1.0 >I tried the latest CVS version and it has 2 .dsp 's in the WIN32 >folder. Still got 2 problems: >1) On opening it complains that "OQTDemux.dsp" is unavailable. >2) When trying to compile OpenQuicktimeLib the compiler gives these errors: >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2065: >'PACKAGE' : undeclared identifier >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): warning C4047: >'function' : 'char *' differs in levels of indirection from 'int' >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2143: >syntax error : missing ')' before 'string' >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\udta.c(230): error C2059: >syntax error : ')' >c:\Dev\OpenQT\Compress\OpenQuicktime\lib\moov.c(24): fatal error >C1083: Cannot open include file: 'zlib.h': No such file or directory > >(tried both VC++ 6 & VC++.NET). I guess I can fix the last error >about the missing zlib.h but the other erros are less clear to me. >(at least why they appear as you were able to build it) > > >----- Original Message ----- >From: <mailto:ya...@3i...>Yann >To: ><mailto:ope...@li...>ope...@li... >Sent: Sunday, April 06, 2003 11:46 PM >Subject: Re: [Openquicktime-users] Who compiled this OpenQT dll? > >Yeah, you're right the dll uses cdecl and not stdcall. So, either, >there is a way to call a cdecl function from visualbasic or you have >to recompile the dll. >The current OpenQuicktimeLib.dsp works nicely in my dev env ... I >cannot help you more without other precisions :( >Be sure to use the sources from the cvs and not the old 1.0 Release ... |