[EMAIL PROTECTED] writes:
> Good day!
> 
> I am trying to make a winelib rundll32, but I can not get GetProcAddress
> to return anything but (nil).  I must be doing something even stupider
> than the stupid errors I have already fixed, but I can't see it.  Maybe

Hallo,

in my understanding, winelib programs should stay within the scope of
the win32 api. index() doesn't seems to be a win32 api:

gauss:~/tmp/wine/compile/programs/rundll32> i386-mingw32-gcc rundll32.c
rundll32.c: In function `WinMain':
rundll32.c:21: warning: assignment makes pointer from integer without a cast
rundll32.c:26: warning: assignment makes pointer from integer without a cast
/tmp/cce1JxDZ.o(.text+0xaf):rundll32.c: undefined reference to `index'
/tmp/cce1JxDZ.o(.text+0x153):rundll32.c: undefined reference to `index'

strchr however is recognized by mingw.

Bye

Uwe Bonnes                [EMAIL PROTECTED]

Free Software: If you contribute nothing, expect nothing
--


Reply via email to