Problem with Vista...
-
hi all, i have a problem working with a program in vista, this program made by myself is creating a file in the application path and writing some data in to the file, but when i try to run it in the vista its showing a exceptional error. I think its not allowing my application to write a file in to the installed path. Can Anybody help me to sort out my problem? :(
||SnAkeBed||
-
hi all, i have a problem working with a program in vista, this program made by myself is creating a file in the application path and writing some data in to the file, but when i try to run it in the vista its showing a exceptional error. I think its not allowing my application to write a file in to the installed path. Can Anybody help me to sort out my problem? :(
||SnAkeBed||
Try this: Right-click at the executable file, and choose [Run as Administrator] ...
Maxwell Chen
-
hi all, i have a problem working with a program in vista, this program made by myself is creating a file in the application path and writing some data in to the file, but when i try to run it in the vista its showing a exceptional error. I think its not allowing my application to write a file in to the installed path. Can Anybody help me to sort out my problem? :(
||SnAkeBed||
SnaKeBeD wrote:
showing a exceptional error
I'm amazed!
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
SnaKeBeD wrote:
showing a exceptional error
I'm amazed!
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
It's [C0000005] access violation. :rolleyes:
Maxwell Chen
-
Try this: Right-click at the executable file, and choose [Run as Administrator] ...
Maxwell Chen
-
hi all, i have a problem working with a program in vista, this program made by myself is creating a file in the application path and writing some data in to the file, but when i try to run it in the vista its showing a exceptional error. I think its not allowing my application to write a file in to the installed path. Can Anybody help me to sort out my problem? :(
||SnAkeBed||
SnaKeBeD wrote:
this program made by myself is creating a file in the application path
You do know this is bad practice, right? If you intend your app to be used by standard users, they will have to enter a password every time. There is proper places to create app data files, both common and per-user. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: