Thanks for your support

On Sat, Jan 24, 2009 at 10:19 PM, Benjamin Riefenstahl <> wrote:
Hi Sukhbir,

>> On Thursday 22 January 2009 17:02:42 Sukhbir Singh wrote:
>> > While intergrating FFMpeg static libs with my own code written in
>> > c++ using MSVC++ 6.0,

Keith Marshall wrote:
>>  int _get_output_format( void ){ return 0; }
>> as a global function definition, to the source which provides your
>> main() function, when you must use non-MinGW libraries, for linking
>> to MSVCRT versions predating msvcr80.dll.

Sukhbir Singh writes:
>  i have globaliy defined the _get_output_format function in my code.
>  But still i am getting same linking error.

You mention that you write C++.  In a C++ file that function would
need to have an 'extern "C"' added to make it compatible with C.  So
that would make:

 extern "C" int _get_output_format( void ){ return 0; }


This email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
MinGW-users mailing list

You may change your MinGW Account Options or unsubscribe at:

This list observes the Etiquette found at
We ask that you be polite and do the same.

Most annoying abuses are:
1) Top posting
2) HTML/MIME encoded mail
3) Improper quoting
4) Improper trimming