Re: GetProcAddress Problem

2008-07-24 Thread Christopher Faylor
On Wed, Jul 23, 2008 at 04:29:46PM +0100, Dave Korn wrote: >Stefano Facchetti wrote on 23 July 2008 16:17: > >> How specify in FAQ 6.16 I try to compile this code: >> >> ... >> HMODULE h = LoadLibrary("cygwin1.dll"); >> void (*init)() = GetProcAddress(h, "cygwin_dll_init"); >> init(); >> ... >>

RE: GetProcAddress Problem

2008-07-23 Thread Dave Korn
Stefano Facchetti wrote on 23 July 2008 16:17: > How specify in FAQ 6.16 I try to compile this code: > > ... > HMODULE h = LoadLibrary("cygwin1.dll"); > void (*init)() = GetProcAddress(h, "cygwin_dll_init"); > init(); > ... > > The compiler give my the following error: > > festivalDll.cc: In