Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Software

Vista - App fails silently on 64-bit Vista

Reply
 
Old 12-18-2008   #1 (permalink)


Vista Home Premium 32bit
 
 

App fails silently on 64-bit Vista

I've developed an application that runs great on 32-bit Vista. But a user reports that when launched on 64-bit Vista it exits immediately with no error message.

I don't have access to a 64-bit Vista machine to test with. Any ideas of likely places to look? I make many calls to the Windows SDK via [DllImport(user32.dll)]. After a fair amount of searching I don't see anything saying that that should be a problem. Should it be?

Thanks for any ideas.

My System SpecsSystem Spec
Old 12-18-2008   #2 (permalink)


Vista x64 Ultimate
 
 

Re: App fails silently on 64-bit Vista

enable auditing and check the event log. Is it a true 32-bit app? You can't use any 16 bit on 64-bit.
My System SpecsSystem Spec
Old 12-18-2008   #3 (permalink)


Vista Ultimate x64 SP1
 
 

Re: App fails silently on 64-bit Vista

Quote  Quote: Originally Posted by RickMohr View Post
I've developed an application that runs great on 32-bit Vista. But a user reports that when launched on 64-bit Vista it exits immediately with no error message.

I don't have access to a 64-bit Vista machine to test with. Any ideas of likely places to look? I make many calls to the Windows SDK via [DllImport(user32.dll)]. After a fair amount of searching I don't see anything saying that that should be a problem. Should it be?

Thanks for any ideas.
As a developer wouldn't it be better for you to find or work with someone who has a 64bit OS and figure out why it fails? You have a much better understanding of how the program works...you developed it.

I'm a little confused as to what it is you're asking? Plus you don't say or describe what the program is or does.

Just curious
My System SpecsSystem Spec
Old 12-18-2008   #4 (permalink)


Vista Home Premium 32bit
 
 

Re: App fails silently on 64-bit Vista

I read up a little on auditing. I believe it is turned on by changing the Security Policy using SecPol.msc, but unfortunately that tool is not included in the Home versions of Vista.
My System SpecsSystem Spec
Old 12-18-2008   #5 (permalink)


Vista Home Premium 32bit
 
 

Re: App fails silently on 64-bit Vista

So far I've found no friends with 64 bit Vista. Still looking.

My application is a language for creating voice commands. The previous version (Vocola Information Pages - Introduction) works with dragon naturallyspeaking. The new version uses the powerful speech recognition capabilities built into vista.

It's written in c# using .NET 2.0. I have a try/catch around everything in my Main() routine through Application.Run(), but apparently no exceptions are fired.
My System SpecsSystem Spec
Old 12-18-2008   #6 (permalink)


Vista x64 Ultimate
 
 

Re: App fails silently on 64-bit Vista

.net does not give meaningful errors. You might need a debug program for C that can walk through. Can you turn on verbose logging in the app itself?
My System SpecsSystem Spec
Old 12-18-2008   #7 (permalink)


Vista Ultimate x64 SP1
 
 

Re: App fails silently on 64-bit Vista

Thanks. I was just curious. I'm not a programer so it's all greek to me. I just figured if you explained what the program did someone here might be able to help you.

LOL no one you know has Vista 64, guess its just not as wide spread as we like to think.

Good luck in getting it sorted.
My System SpecsSystem Spec
Old 12-18-2008   #8 (permalink)


Vista x64 Ultimate
 
 

Re: App fails silently on 64-bit Vista

I suspect you have a x86-x64 marshalling problem with your native API calls. Try recompiling the app as 32-bit only. Go to Project Properties -> Build -> Platform target and change it from "Any CPU" to "x86". That will at least eliminate any 64-bit marshalling problems.
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
GetStringValue silently fails VB Script
How to uninstall software silently VB Script
Vista - silently changing keyboard layouts Vista General
RE: Windows Briefcase Fails Silently Vista file management
applications quit silently Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46