Hi,
Problem 1
=========
I am trying to follow this discription on how to compile win32
source code with the winelib
http://www.winehq.org/Docs/winelib-user/
winelib-getting-started.shtml#WINEMAKER-INTRODUCTION
The process generates a Makefile that is supposed to complie a
ressource file e.g. winemine.rc with the wrc compiler, but
winemaker adds a '-L' option to the wrc compilwr that is does
not recognize.
I am using wine-20021219 on RedHat 8.0.
It seems like a bug in winemaker.
I have …
[View More]changed this line in the Makefile
## WRCFLAGS = -r -L
WRCFLAGS = -r
and it compiles.
Problem 2
=========
When i try to run winemine I get this error
(/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs
winemine-hcs.so
Warning: could not find wine config [Drive x] entry for
current working directory
/user/usr/local/wine/programs/winemine-hcs; starting in
windows directory.
/usr/local/bin/wine: cannot find 'winemine-hcs.exe'
This is a list of the source directory
(/user/usr/local/wine/programs/winemine-hcs) #ls -o | cut
-c1-12,25-
totalt 2076
drwxr-xr-x 4096 jan 1 20:59 autom4te-2.53.cache
-rw-rw-r-- 13613 jan 1 20:59 config.log
-rwxrwxr-x 20661 jan 1 20:59 config.status
-rwxrwxr-x 158121 jan 1 20:59 configure
-rw-rw-r-- 17915 jan 1 20:59 configure.ac
-rw-r--r-- 3687 jan 1 20:59 dialog.c
-rw-r--r-- 1161 jan 1 20:59 dialog.h
-rw-rw-r-- 345180 jan 1 21:00 dialog.o
-rw-r--r-- 30208 jan 1 20:59 main.c
-rw-r--r-- 4852 jan 1 20:59 main.h
-rw-rw-r-- 378552 jan 1 21:00 main.o
-rw-rw-r-- 7630 jan 1 21:00 Makefile
-rw-rw-r-- 2749 jan 1 20:59 Makefile.in
-rw-rw-r-- 4925 jan 1 20:59 Make.rules
-rw-rw-r-- 4716 jan 1 20:59 Make.rules.in
-rw-r--r-- 1440 jan 1 20:59 resource.h
-rw-r--r-- 25941 jan 1 20:59 rsrc.rc
-rw-rw-r-- 25941 jan 1 20:59 rsrc.rc.bak
-rw-rw-r-- 8864 jan 1 21:00 rsrc.res
-rw-rw-r-- 969 jan 1 21:00 wineapploader
-rw-rw-r-- 968 jan 1 20:59 wineapploader.in
-rwxr-xr-x 969 jan 1 21:00 winemine-hcs
-rwxrwxr-x 793446 jan 1 21:00 winemine-hcs.so
-rw-rw-r-- 44160 jan 1 21:00 winemine-hcs.spec.c
-rw-rw-r-- 92648 jan 1 21:00 winemine-hcs.spec.o
-rw-rw-r-- 173 jan 1 20:59 winemine.exe.dbg.c
-rw-rw-r-- 2040 jan 1 21:00 winemine.exe.dbg.o
-rw-rw-r-- 43665 jan 1 15:39 winemine.exe.spec.c
Any suggestions ?
Regards
--
Hans Christian Studt : http://hc.studt.dk mailto:hc@studt.dk
.dk og W3C standarder : http://w3c.studt.dk
[View Less]
On January 1, 2003 12:48 pm, Shachar Shemesh wrote:
> * _stricmp is not defined, and is called directly instead of as
> stricmp. * As a result of the above, there is a compilation warning when
> compiling.
There's no point in importing msvcrt just for this function.
Just use lstrcmpiA (exported by kernel32 and defined in winbase.h)
as suggested by Francois.
As for the patch, please include even new files in the patch
(as I explained in the message "Re: Tests for URL functions in …
[View More]shlwapi")
by diffing against /dev/null.
--
Dimi.
[View Less]
Hi,
I'm trying to figure out why an app works on Windows but not Wine,
and it'd sure be nice to be able to log all the api calls the
app makes under each of the two environments; then perhaps
I could compare the logs to see where Wine differed from Windows.
Does anyone else do stuff like that? If so, what tools do you use?
http://www.wheaty.net/FAQ.htm#APISPY32 says that the best tool out there is
http://www.internals.com/utilities_main.htm
(Supposedly the author will send source to you on …
[View More]request, too.)
That program requires a text file containing the prototype for
each API you want to spy on, though, and it only comes with 3 APIs
as an example. Does anyone have a full version of that file, or
a perl script to create it from the wine tree?
I suppose I could write my own, too, if that's the only way
to get a tool that works well in both environments.
http://help.madshi.net/ApiHookingMethods.htm
seems to have lots of info on that.
--
Dan Kegel
Linux User #78045
http://www.kegel.com
[View Less]
Don't know mny things on winelib compilation, but look under other
programs/ examples. It seems you have incorrect extension for your
files. You're missing the .exe before the .so (wine looks
for winemine-hcs.exe.so if I remember correct)
Last thing I can say : check your winemaker options.
> (/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs
> /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
>
> It still cannot file 'winemine-hcs.exe'.
> What comes nearest is
&…
[View More]gt; -rwxr-xr-x 969 jan 1 21:00 winemine-hcs
> -rwxrwxr-x 793446 jan 1 21:00 winemine-hcs.so
> -rw-rw-r-- 44160 jan 1 21:00 winemine-hcs.spec.c
> -rw-rw-r-- 92648 jan 1 21:00 winemine-hcs.spec.o
> -rw-rw-r-- 173 jan 1 20:59 winemine.exe.dbg.c
> -rw-rw-r-- 2040 jan 1 21:00 winemine.exe.dbg.o
> -rw-rw-r-- 43665 jan 1 15:39 winemine.exe.spec.c
>
> --
> Hans Christian Studt : http://hc.studt.dk mailto:hc@studt.dk
> .dk og W3C standarder : http://w3c.studt.dk
>
=====
Sylvain Petreolle
spetreolle(a)users.sourceforge.net
Fight against Spam ! http://www.euro.cauce.org/en/index.html
ICQ #170597259
"Don't think you are. Know you are." Morpheus in Matrix, chapter 15.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
[View Less]
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/…
says
"NTSTATUS
RtlUnicodeStringToInteger(
IN PUNICODE_STRING String,
IN ULONG Base OPTIONAL,
OUT PULONG Value
);
Declared in wdm.h and ntddk.h. Include wdm.h or ntddk.h."
Shouldn't this be declared in wine/include/winternl.h, like
the other Rtl functions? And shouldn't wine/dlls/ntdll/rtlstr.c
declare it to use an unsigned long instead of an int as
its 2nd arg, and an unsigned long * …
[View More]instead of an int * as
its 3rd arg?
If so, I can submit a patch to fix all that, but as I'm
a total wine newbie, I bet there's something I'm missing.
- Dan
--
Dan Kegel
Linux User #78045
http://www.kegel.com
[View Less]
Hans Christian Studt wrote:
> Sylvain Petreolle wrote:
>
>
>>> Problem 2
>>> =========
>>
>>
>> Define a drive that can see rhis directory, for example P: as
>> /user/usr/local/wine/programs/ or move the source directory where it
>> can be seen by current defined drives in $HOME/.wine/config.
>>
>> If you read it, the error message describes exactly what must be
>> done...
>
>
> Stupit me ;-)
>
>>&…
[View More]gt; When i try to run winemine I get this error
>>> (/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs
>>> winemine-hcs.so
>>> Warning: could not find wine config [Drive x] entry for current
>>> working directory /user/usr/local/wine/programs/winemine-hcs;
>>> starting in windows directory.
>>> /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
>>
>
> (/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs
> /usr/local/bin/wine: cannot find 'winemine-hcs.exe'
>
> It still cannot file 'winemine-hcs.exe'.
> What comes nearest is
> -rwxr-xr-x 969 jan 1 21:00 winemine-hcs
> -rwxrwxr-x 793446 jan 1 21:00 winemine-hcs.so
> -rw-rw-r-- 44160 jan 1 21:00 winemine-hcs.spec.c
> -rw-rw-r-- 92648 jan 1 21:00 winemine-hcs.spec.o
> -rw-rw-r-- 173 jan 1 20:59 winemine.exe.dbg.c
> -rw-rw-r-- 2040 jan 1 21:00 winemine.exe.dbg.o
> -rw-rw-r-- 43665 jan 1 15:39 winemine.exe.spec.c
>
--
Hans Christian Studt : http://hc.studt.dk mailto:hc@studt.dk
.dk og W3C standarder : http://w3c.studt.dk
[View Less]
I am already working on a patch for both of these problems. I will
post it to wine-patches and send you a copy in a little while. The
second problem has existed for some time, but I believe the first
is due to recent changes the wrc resource compiler.
The patch incorporates more changes than just these two, although
they are the most visible. Note that you will want to apply the
patch to the CVS version.
-- Jeff S
>From: Hans Christian Studt <hcstudt(a)post10.tele.dk>
>
>Hi,…
[View More]
>
>Problem 1
>=========
>I am trying to follow this discription on how to compile win32 source code
>with the winelib
>http://www.winehq.org/Docs/winelib-user/
>winelib-getting-started.shtml#WINEMAKER-INTRODUCTION
>
>The process generates a Makefile that is supposed to complie a
>ressource file e.g. winemine.rc with the wrc compiler, but winemaker adds a
>'-L' option to the wrc compilwr that is does not recognize.
>
>I am using wine-20021219 on RedHat 8.0.
>
>It seems like a bug in winemaker.
>
>I have changed this line in the Makefile
>## WRCFLAGS = -r -L
>WRCFLAGS = -r
>and it compiles.
>
>Problem 2
>=========
>When i try to run winemine I get this error
>(/user/usr/local/wine/programs/winemine-hcs) #./winemine-hcs
>winemine-hcs.so
>Warning: could not find wine config [Drive x] entry for current working
>directory /user/usr/local/wine/programs/winemine-hcs; starting in windows
>directory.
>/usr/local/bin/wine: cannot find 'winemine-hcs.exe'
>
>Any suggestions ?
>
>Regards
>--
>Hans Christian Studt : http://hc.studt.dk mailto:hc@studt.dk
>.dk og W3C standarder : http://w3c.studt.dk
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
[View Less]