Problems with two apps

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Problems with two apps

Post by jeffneedle »

I'm using Wine on a Ubuntu 10.04 box.

I'm having problems with two apps. If it's okay, I'll describe both
problems here and see if there's some insight to be gained.

1. I have a free app called cslesson. It prepares lessons for
Christian Science students. The install goes just fine, but when I try
to run the app, I get a "File not found" error. Since the app is free,
I've uploaded it to http://www.box.com/s/0mkqyx5l0t3vslvvb9dy and hope
someone will take a moment to download it -- a little more than 2 meg --
and see if some insight can be gained.

2. The more difficult problem is with a commercial product called
Concord. It's also a Christian Science-oriented app. It allows you to
enter a search term and it searches the corpus of Christian Science
literature for hits. The behavior is so strange. I can enter a search
term, it then displays -- correctly -- the titles that contain that
search term, with page numbers correctly displayed. But when I click on
the link, a completely irrelevant page opens in the book itself. Just
bizarre! For the record, the app works just fine under both CrossOver
and VirtualBox. It's only under Wine that it misbehaves. I wonder if
anyone has some idea about this kind of error.

Thanks.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with two apps

Post by dimesio »

jeffneedle wrote:I'm having problems with two apps. If it's okay, I'll describe both
problems here and see if there's some insight to be gained.
Please create separate threads for each problem.

You didn't say what version of Wine you're using. If it's not 1.4, upgrade. If the apps don't work in 1.4, post terminal output. http://wiki.winehq.org/FAQ#get_log
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Post by jeffneedle »

Yes, using 1.4.

I started cslesson from a terminal window, and this helped. I got an error message

wine: cannot find L"C:\\windows\\system32\\cslesson.exe"

I have no idea what the L is for in this command line, but the problem emerges rather clearly. cslesson is not in the system32 folder, but in the Program Files folder.

Any thoughts on how to change where Wine is looking for the program?

Thanks again.
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Problems with two apps

Post by jjmckenzie »

On Fri, Mar 9, 2012 at 12:03 PM, jeffneedle <[email protected]> wrote:
Yes, using 1.4.

I started cslesson from a terminal window, and this helped.  I got an error message

wine: cannot find L"C:\\windows\\system32\\cslesson.exe"

I have no idea what the L is for in this command line, but the problem emerges rather clearly.  cslesson is not in
the system32 folder, but in the Program Files folder.

Any thoughts on how to change where Wine is looking for the program?
How are you starting the program? You first have to change to the
directory where the file is located and then run it.
http://wiki.winehq.org/FAQ#run_from_terminal has more information on
running programs through the console/terminal.

James
Alex_G
Level 4
Level 4
Posts: 125
Joined: Fri Mar 02, 2012 2:48 am

Post by Alex_G »

Is it this program?

http://christianscience.org/CSLessons.htm

As I noticed, this program is too old and uses old Visual Basic libraries (1998), such as vbrun300.dll, cmdialog.vbx and blaster.vbx

Anyway it runs fine on Windows XP, and missing those files (listed) in linux.
John Drescher

Problems with two apps

Post by John Drescher »

On Fri, Mar 9, 2012 at 3:27 PM, Alex_G <[email protected]> wrote:
Is it this program?

http://christianscience.org/CSLessons.htm

As I noticed, this program is too old and uses old Visual Basic libraries (1998), such as vbrun300.dll, cmdialog.vbx and blaster.vbx

Anyway it runs fine on Windows XP, and missing those files (listed) in linux.
Winetricks should be able to install vbrun300

winetricks vb3run

John
Alex_G
Level 4
Level 4
Posts: 125
Joined: Fri Mar 02, 2012 2:48 am

Post by Alex_G »

Yes, even with all those files placed to folder with CSLesson.exe it gives same error in message box: File Not Found :?
Alex_G
Level 4
Level 4
Posts: 125
Joined: Fri Mar 02, 2012 2:48 am

Post by Alex_G »

Maybe the program missing some registry entry with the path or value
jjmckenzie
Moderator
Moderator
Posts: 1153
Joined: Wed Apr 27, 2011 11:01 pm

Problems with two apps

Post by jjmckenzie »

On Fri, Mar 9, 2012 at 1:36 PM, Alex_G <[email protected]> wrote:
Yes, even with all those files placed to folder with CSLesson.exe it gives same error in message box: File Not
Found  :?
Start over with a fresh wineprefix and load vb3run before installing
the program as it may need them just to install.

James
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Alex_G wrote:Yes, even with all those files placed to folder with CSLesson.exe it gives same error in message box: File Not Found :?
What is the exact command you are using to start it?
Alex_G
Level 4
Level 4
Posts: 125
Joined: Fri Mar 02, 2012 2:48 am

Post by Alex_G »

Sorry, I'm not a TS, I'm just trying to help him ))

With a small investigation :) I see this the program runs in Windows XP under ntvdm.exe (16 bit virtual machine) as child process.
So, could it be run in Wine at all?
Alex_G
Level 4
Level 4
Posts: 125
Joined: Fri Mar 02, 2012 2:48 am

Post by Alex_G »

Oops, made mistakes in my prev.post )
dimesio wrote:
Alex_G wrote:Yes, even with all those files placed to folder with CSLesson.exe it gives same error in message box: File Not Found :?
What is the exact command you are using to start it?
If about me, tried to run via with terminal, exactly from folder where program is. And via Q4Wine from clean prefix and from prefix with VB3RUN installed. And via file-browser (dolphin) -> open with Wine by default.
Same effect.

Seems the problem is that the program is 16 bit.
Alex_G
Level 4
Level 4
Posts: 125
Joined: Fri Mar 02, 2012 2:48 am

Post by Alex_G »

Though, no.
Looks like Wine can run 16 bit apps with winevdm...
jeffneedle
Level 2
Level 2
Posts: 18
Joined: Tue Mar 06, 2012 8:09 pm

Post by jeffneedle »

Whew! Lots of reading.

I've tried the various things offered here, and no dice. I guess I'll stick with VirtualBox for now -- the app runs well there.

Thanks to everyone. If there are any other suggestions, I'll be glad to have them.

Best.
Locked