LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2007, 05:50 PM   #1
yezu
LQ Newbie
 
Registered: Apr 2007
Location: Gdynia, Poland
Distribution: Fedora 10/11
Posts: 22

Rep: Reputation: 15
Question A simple (hopefuly) Wine problem.


I've managed to install Wine in SuSE 10.2
It seems to run most programs, BUT...

It would seem, that any program I run under Wine is unable to access any files on the disk.

For example: I've written a very simple program counting prime numbers, compiled it with Borland C++.
The program has an option to read from a file a set of pre-counted numbers. The file should be, and is in the same directory. However I get a message "Cannot open file".

The same with any other program that has to access any files at runtime.

What should I do? I think that enabling programs to access the disk, is part of the basic functionality of wine. Right?

And BTW where should I put custom dll's that normaly go in the c:\windows\system32 folder?
 
Old 04-17-2007, 07:00 PM   #2
ipalaces
LQ Newbie
 
Registered: Apr 2007
Posts: 3

Rep: Reputation: 0
DLLs usually get loaded in the following order:

1.The directory the program was started from.
2.The current directory.
3.The Windows system directory.
4.The Windows directory.
5.The PATH variable directories.

In short: either put the required DLL into your program directory (might be ugly), or put it into the Windows system directory. Also, if possible you probably shouldn't use NT-based native DLLs, since Wine's NT API support is somewhat weaker than its Win9x API support (possibly leading to even worse compatibility with NT DLLs than with a no-windows setup!).
 
  


Reply

Tags
path, suse, wine


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
simple Wine question lupusyonderboy1 Linux - Newbie 5 09-23-2006 04:55 PM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
Help....Simple problem hkstandard Mandriva 1 09-20-2004 05:03 AM
Simple Wine Question rmw889 Linux - Software 8 12-07-2003 07:41 PM
Simple Wine Question 2TonCartoon Linux - Software 4 11-29-2003 07:35 PM


All times are GMT -5. The time now is 03:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration