LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-08-2003, 01:56 PM   #1
jonchapman
LQ Newbie
 
Registered: Sep 2003
Distribution: debian
Posts: 1

Rep: Reputation: 0
wine doesn't pass arguments correctly when calling programs


I just installed wine-20030813 on a Debian linux system (version 2.4.18).

The program I want to run under wine seems to run OK, but when I use one option which is suposed to unpack the contents of a file using pkunzip and add them to a database, wine gives the error

Warning: unprotecting the first 64KB of memory to allow real-mode calls.
NULL pointer accesses will no longer be caught.
err:intOSVM_Loop MsgWaitForMultipleObjects returned unexpected value.

and the program hangs for a while and then fails to unpack the files.

If I check the processes that are running using ps, I find there is a process

wine winevdm.exe --app-name C:\PKUNZIP.EXE C:\pkunzip.exe -o c:\update.fil

This seems to be the problem - wine is interpreting these options rather than pkunzip.exe.

If I run the command line
wine -- winevdm.exe --app-name C:\PKUNZIP.EXE C:\pkunzip.exe -o c:\update.fil
to force the options to be passed to winevdm.exe then everything unpacks OK.

But how can I get the windows program running under wine to call pkunzip in this way? Is this a bug of wine, or is there something I can do?

Many thanks for any help or advice.
Jon

Last edited by jonchapman; 10-08-2003 at 02:02 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass structure as function arguments ssg14j Programming 2 08-20-2005 09:59 PM
calling another program alongwith arguments using execl not working sebythomas Programming 1 06-02-2005 12:37 PM
How to pass arguments from $prompt for php script ukjairaj Linux - Software 4 06-25-2004 11:14 AM
How can we pass arguments to installpkg ? frenchi Slackware 3 04-23-2004 06:43 PM
executing programs with arguments ? shaneblyth Mandriva 10 09-27-2003 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration