Re: __declspec(selectany)

2003-08-11 Thread Dimitrie O. Paun
On August 6, 2003 12:12 am, Dan Kegel wrote: > Silly me. For some reason I thought the builtin declarations were > magic. Here's a little demo that might show the basic idea. winegcc already defines these things: gcc_argv[i++] = "-D__stdcall=__attribute__((__stdcall__))"; gcc_a

Re: Implement a typelib loader cache

2003-08-11 Thread Dmitry Timoshkov
"Mike Hearn" <[EMAIL PROTECTED]> wrote: > Implement a typelib loader cache, minor debug message improvements + for (entry = tlb_cache_tail; entry != NULL; entry = entry->next) + if (!strcmpW(entry->path, szPath)) { + TRACE("cache hit\n"); Shouldn't this be a case insensitive comparison? -- Dmi

Does anyone have prototypes for the following user32.dll functions?

2003-08-11 Thread Jonathan Wilson
ok, here are the ones I still need: TranslateMessageEx UnlockWindowStation UpdatePerUserSystemParameters UserRegisterWowHandlers WCSToMBEx TileChildWindows ShowStartGlass SetConsoleReserveKeys SetCursorContents PrivateKDBreakPoint QuerySendMessage MBToWCSEx MB_GetString LockWindowStation LoadKeyboa

Re: Threading experts?

2003-08-11 Thread Peter Hunnisett
[EMAIL PROTECTED] wrote: I had to use with-nptl to build winex pn Mandrake 9.1, the binarys did't work without that option. This wasn't necessarry on wine, but winex won't run without it. WineX is a different in this regard. We don't differentiate between NPTL and LinuxThreads - and the option is

Re: Wine CVS Build Error

2003-08-11 Thread BiGgUn
Hi > I'm using GCC 3.2.3 and kerenl 2.4.21 on a Linux From Scratch distribution. Did you try to compile your sources with a lower version of GCC ? I personnaly use GCC 3.0.4 for compiling. GCC 2.95 can be used as well. HTH, Stephan

export variables in dlls

2003-08-11 Thread flyker
example: - main.cpp #include #include extern "C" __declspec(dllimport) void xxx(char *str, ...); extern "C" __declspec(dllimport) char *zzz; int WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR szCmdLine, int) { xxx("blahblah\n", 1, 2, 3); printf(