[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CygWin woes

From: Earnie Boyd
Subject: Re: CygWin woes
Date: Thu, 24 Apr 2003 10:46:00 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2.1) Gecko/20021130

Magnus Therning wrote:

  foo(int bar)
    return 42 * bar;

FWIW, if you wish to export this function from the dll then you should prototype it as ``__declspec(dllexport) int foo (int);'' so that the linker doesn't have to guess.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]