logo       

LoadLibrary on DLL returns null (Check SYSGEN ?? ): msg#00072

gnu.cegcc.devel

Subject: LoadLibrary on DLL returns null (Check SYSGEN ?? )

Hello !

 

I have managed to compile FFmpeg using mingw32ce under cygwin. I get a lot of warning on deprecated functions, but the .so file gets build in the end.

 

 

This is the config I am using:

 

./configure --cross-compile --cross-prefix=/opt/mingw32ce/arm-wince-mingw32ce/bin/  --arch=arm4l  --target-os=WinCE --enable-small --disable-mmx \

--disable-network --disable-ipv6 --disable-ffmpeg --disable-ffserver --disable-ffplay --disable-vhook --disable-encoders --disable-muxers --disable-static --enable-shared\

--enable-memalign-hack

 

I then run make on libavformat,libavcodec and libavutil ,and it produces 3 respective libav*.so files.  I was expecting DLL’s to be produced, so I DID thought that was strange.

 

Anyway, I deploy those files to my WinCE device and rename them as .dll (am I stupid ? ) , but when I attempt to open them using

 

hDLL = LoadLibrary(_T("libavcodec-51.dll"));

 

the function returns null and the output specifies an error:

 

ERROR: function @ Ordinal 2245892 missing in Module 'coredll.dll'

!!! Please Check your SYSGEN variable !!!

 

 

 

The number after the Ordinal does differ from lib to lib and from compile to compile.. I just dunno….

 

I’d appreciate any help !

 

Thanks,

 Radu Poenaru

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/_______________________________________________
Cegcc-devel mailing list
Cegcc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise