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
"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
ok, here are the ones I still need:
TranslateMessageEx
UnlockWindowStation
UpdatePerUserSystemParameters
UserRegisterWowHandlers
WCSToMBEx
TileChildWindows
ShowStartGlass
SetConsoleReserveKeys
SetCursorContents
PrivateKDBreakPoint
QuerySendMessage
MBToWCSEx
MB_GetString
LockWindowStation
LoadKeyboa
[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
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
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(