Hey,

> I am using the mingw32ce toolchain for the mobile plaform. I need to
> control a camera, and take pictures etc. So to do this, i will use
> DirectShow, etc. ( don't really know all the needed libraries). However,
> there is scattered and limited directx support in the toolchain.
>
> Where do i begin? I think i should create the .def and .h files. Then
> generate .lib files with which my application can link to. Is this the
> right direction?

you can look at the page:

http://www.cygwin.com/cygwin-ug-net/dll.html

1) to create the . def file, you have several xays:
  a) use pexports program (http://www.geocities.com/yongweiwu/pexports-0.43.zip)
  b) type that:

echo EXPORTS > foo.def
nm foo.dll | grep ' T _' | sed 's/.* T _//' >> foo.def

2) to create the import library:

dlltool --def foo.def --dllname foo.dll --output-lib foo.a

of course use dlltool from the mingw32ce package.

About the header files, I don't know. A MinGW developpers told me to 
create it yourself by looking at documentation in msdn and using code with 
the same licence you want. Note that you can't copy code from header files 
protected by GPL or LGPL (like cygwin or wine or reactos or...)

> BTW, i am using this in conjunction with EFL libraries.

Thanks for using them :-) Don't hesitate to ask questions or reports 
problems on IRC or the ML.

Vincent Torri

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to