yetanothergeek/fxite

Could not run under Windows 7

Opened this issue · 17 comments

I tried to run the program using Windows 7. Nothing happened. The program does show as running in Task Manager.

Hi, John -

I don't have Windows 7 here so I can't test, but it works for me in 32-bit Windows XP.
FXiTe version 0.91 is a fairly new release, so it is entirely possible there could be
some problems.

Can you try the previous version[1] and let me know if you still have this problem?

Thanks,

  • Jeff

[1] http://fxite.googlecode.com/files/fxite-0.9-win32.zip

Tested, fxite v0.9 on Windows7 PC has the same problem.

morler:

It would be great if you could try a couple things to help me track this down...

If you try starting fxite.exe from a command prompt, are there any error messages printed to the console?

Also, I'm wondering if something like this might help:
http://www.dummies.com/how-to/content/how-to-make-an-older-program-run-in-windows-7.html

Thanks,

  • Jeff

There are no messages of any sort when I run the program from the
command prompt. I tried changing the compatibility level and it makes no
difference. I tried both fxite-0.9-win32 and fxite-0.91-win32

On 4/3/2013 1:43 AM, Jeff Pohlmeyer wrote:

morler:

It would be great if you could try a couple things to help me track
this down...

If you try starting fxite.exe from a command prompt, are there any
error messages printed to the console?

Also, I'm wondering if something like this might help:
http://www.dummies.com/how-to/content/how-to-make-an-older-program-run-in-windows-7.html

Thanks,

  • Jeff

Reply to this email directly or view it on GitHub
#1 (comment).

John Harvey
john_DOT_harvey_AT_verizon.net

We can never be sure that the opinion we are endeavouring to stifle is a false opinion; and even if we were sure, stifling it would be an evil still. --- John Stuart Mill

Thanks for your efforts, SgtCedar...

I talked to a friend who has Windows 7 and he says the program works for him if he right-clicks and chooses "Run as... administrator" . But I think this is not a good solution, the program really should be able to run as a normal user.

I am shopping around for a good used Windows 7 computer but until I can reproduce the problem, there is not much I can do to fix it.

  • Jeff

Version .9 runs in Windows 7 if set as running under Windows XP and run
as administrator. Version .91 shows up in Task Manager as running but
nothing shows up on the screen.

On 4/4/2013 12:07 AM, Jeff Pohlmeyer wrote:

Thanks for your efforts, SgtCedar...

I talked to a friend who has Windows 7 and he says the program works
for him if he right-clicks and chooses "Run as... administrator" . But
I think this is not a good solution, the program really should be able
to run as a normal user.

I am shopping around for a good used Windows 7 computer but until I
can reproduce the problem, there is not much I can do to fix it.

  • Jeff

Reply to this email directly or view it on GitHub
#1 (comment).

John Harvey
john_DOT_harvey_AT_verizon.net

We can never be sure that the opinion we are endeavouring to stifle is a false opinion; and even if we were sure, stifling it would be an evil still. --- John Stuart Mill

I finally got my hands on a newly-refurbished PC with a fresh installation of Windows 7 Home Premium (32-bit).

FXiTE-0.91 starts up fine here as a normal user, no administrative privileges required.

If anyone here has access to any other Windows 7 computers, I would be interested to see what the general consensus is on success/failure, and hopefully find some common denominator as to what might be causing the problem.

http://code.google.com/p/fxite/

New version, just released today. Would you try it and let me know if it still has problems?
Thanks.
http://fxite.googlecode.com/files/fxite-0.92-win32.zip

It will run under Windows 7 but is basically unusable. I start the
program and it does not show up until something like 3 hours. I first
started the program. When nothing happened I thought it would not run. I
thought I closed all the copies using Program Manager. Several hours
later I was working and suddenly the fxite window popped up on the screen.

On 10/3/2013 7:19 AM, Jeff Pohlmeyer wrote:

New version, just released today. Would you try it and let me know if
it still has problems?
Thanks.
http://fxite.googlecode.com/files/fxite-0.92-win32.zip


Reply to this email directly or view it on GitHub
#1 (comment).

John Harvey
john_DOT_harvey_AT_verizon.net

We can never be sure that the opinion we are endeavouring to stifle is a false opinion; and even if we were sure, stifling it would be an evil still. --- John Stuart Mill

Same problem with FXiTe 0.92 under Windows 7 x64, but the window finally appeared after a random delay (15 seconds...2 minutes when I checked) ! Compatibility settings and/or administrator mode didn't change that.
Also, on first execution, the window appeared on my second screen (1280x1024) but with the size of of the first screen (1080x1920, portrait mode).

Okay, I added some debug info that might help track down the problem. This version creates a console window that should print some information about what the program is doing at startup:

http://devel.zzl.org/fxite-debug-2013-10-16-1.zip

Would you guys try this out and let me know the last line printed to the debug window when the program stalls?

main() /src/fxite/src/appmain.cpp:544
main() /src/fxite/src/appmain.cpp:547
main() /src/fxite/src/appmain.cpp:549
init() /src/fxite/src/appmain.cpp:331
init() /src/fxite/src/appmain.cpp:341
ClientSend() /src/fxite/jef/interproc.cpp:213
^^^^^^^^^^^^^^ Stalled there ! ^^^^^^^^^^^^^^
ClientSend() /src/fxite/jef/interproc.cpp:270
TopWindowBase() /src/fxite/src/appwin_base.cpp:100
TopWindowBase() /src/fxite/src/appwin_base.cpp:138
TopWindow() /src/fxite/src/appwin.cpp:1010
TopWindow() /src/fxite/src/appwin.cpp:1020
create() /src/fxite/src/appwin_base.cpp:164
create() /src/fxite/src/appwin_base.cpp:208
StartServer() /src/fxite/jef/interproc.cpp:278
StartServer() /src/fxite/jef/interproc.cpp:289
init() /src/fxite/src/appmain.cpp:441
main() /src/fxite/src/appmain.cpp:551

From what I saw in the code of ClientSend(), perhaps it's the FXThread::sleep(100000) theoretically expressed in ns (1e-9 s) that is badly calibrated (not 0.1 ms multiplied by at most 25 loops as expected, 2.5 ms would be completely unnoticeable), else it's probably in one of the two a->runWhileEvents();. With more traces around theses 3 calls, it could be diagnosed easily (with GetTickCount() value). I would debug it myself if it was a Visual Studio project (I know, I know, portability...), I don't have gcc.

Thanks for the report, cbouc - I suspected that's where the problem was.

DDE is a rather antiquated technology, supposedly it is still supported but I googled up some other reports of problems using DDE on 64-bit Windows 7. (Even reports of Microsoft Office apps freezing and crashing!)

The only thing I'm using it for here is to provide a single instance of FXiTe that secondary invocations can communicate with. There are other ways to accomplish the same thing, so it looks like my IPC handling for Windows may end up needing a complete re-write.

Here is another build for testing. I completely ripped out all of the old DDE code and replaced it with something called a "named pipe."

Would you please try this one and see if it works any better?
http://devel.zzl.org/fxite-testing-2013-10-22-1.zip

Thanks,

  • Jeff

The version in fxite-testing-2013-10-22-1.zip starts immediately under Windows 7 x64, problem [probably] solved ! Thank you.

Hooray! I pushed the changes just now. Anytime I can fix a bug and eliminate 200 lines of code, I'd call that a win/win.