Re: winegcc and wrc

2004-03-06 Thread Chris Seaton
If you mean that you're using the latest from CVS, something is wrong with your PATH because winewrap has been removed for a few days now. I also means that you're using an old winegcc/wineg++. What I suggest you do is that first you remove these old binaries. Try: which wine{gcc,g++,cpp,wrap} to

winegcc and wrc

2004-03-06 Thread Chris Seaton
he latest snapshot. As I said it was all working fine before I moved system. What could be causing this? Thanks, Chris Seaton

Modifying font objects

2004-02-21 Thread Chris Seaton
seem to be possible so I thought that perhaps I could call CreateFont, using attributes from the other font object, just using my own size, but there doesn't seem to be anyway to get attributes like the char set from a font object. What can I do? Thanks, Chris Seaton

Common controls?

2004-02-16 Thread Chris Seaton
eg faults at startup with err:heap:HEAP_GetPtr Invalid heap (nil). It does this even if I comment out the call to InitCommonControlsEx. The program starts fine if I don't like to comctl32.dll. What am I doing wrong? Thanks Chris Seaton

Re: Can't get a minimal Windows app running with winelib

2004-02-12 Thread Chris Seaton
You don't need these: -Iwine/windows -lwine The other libs: -lkernel32.dll -luser32.dll are not needed either, they are linked in by default. Aha, that solved the crash as well. Thanks very much. Chris Seaton

Can't get a minimal Windows app running with winelib

2004-02-12 Thread Chris Seaton
IT_SUCCESS; } --- With winegcc -mwindows -o test.exe -Iwine/windows test.c -lwine -lkernel32.dll -luser32.dll Which succeeds but when I run ./test I get err:heap:HEAP_GetPtr Invalid heap (nil)! Segmentation fault Any ideas, anyone? Chris Seaton

Re: Does winelib implement main()?

2004-02-12 Thread Chris Seaton
e it's in a DLL that I can't start in GDB, that's why I don't like the wrapper script. Chris Seaton

Does winelib implement main()?

2004-02-12 Thread Chris Seaton
main() anywhere so I get a "undefined reference to `main'" from "_start". Currently I just have the WinMain function, no other code yet. What am I doing wrong? The winelib user's guide is no good for answering this sort of thing, by the way. It assumes you're p