Board index » cppbuilder » Directories in Vista?

Directories in Vista?


2007-05-15 04:26:53 PM
cppbuilder75
Hello
I have installed BCB6 on vista then my applications directory "progperso"
In which I have an apllication named "Optiessai"
This application has subdirectories:
"Mes Liasses"
.............
"Exemple"
When I debud my app it can open and write in "Mes liasses" but not open the
Exemple directory it sais "network error" or EDBEngine error
My application creates directories too in tha application directory, but I
can open to look for values in bdf file and save them but in other dll with
(I think) the same code, I cant open the dbf files these files are in the
directory creates by my application and in its own directory.
Here I can understand that vista have some restrictions, but when I go to
look in c:\Progpreso\Optiessai\ the directories are created and the good
files but it don't want open these.
I have the error have said to you.
Too I don't understand where is the mistake my application works fine with
XP.
I have look for GetUserName etc... to pu the directories created in this
place but I don't know how my application can see if it is running on XP or
Vista, I have seen the method "obsolete" and I dont knox where to find the
good method and what she returns.
What do you think, why in a side she works correctly and in other not!! for
the directories already in the application? "Mes Liasses " which is ok and
the "exemple" which is not.
Where must I question me :in my code? in Vista restrictions?Where to find
solution?
I thank you in adavance
Excuse my English
Patrick
 
 

Re:Directories in Vista?

"patrickartaud" < XXXX@XXXXX.COM >writes:
Quote
Hello
I have installed BCB6 on vista
BCB6 pre-dates Vista by years. There is no way they could have tested
it on Vista, and don't support BCB6 on that platform.
--
Chris (TeamB);
 

Re:Directories in Vista?

Quote

>Hello
>I have installed BCB6 on vista

BCB6 pre-dates Vista by years. There is no way they could have tested
it on Vista, and don't support BCB6 on that platform.
I installed an older version of Delphi in a directory that was not in
the Programs Folder. The only problem I have is when I do a search the
dialog that show the progress the text is drawn half out of site.
Other then that I works fine. I tried it in the Programs Files folder
and it gave me nothing but problems.
Jim
--
www.mustangpeak.net
 

{smallsort}

Re:Directories in Vista?

Thank you but what must I do? another version of BCB6?
A new development toll BCB6 and Vista compatible?
Thank you again
Patrick
"Chris Uzdavinis (TeamB)" < XXXX@XXXXX.COM >a écrit dans le message de
Quote
"patrickartaud" < XXXX@XXXXX.COM >writes:

>Hello
>I have installed BCB6 on vista

BCB6 pre-dates Vista by years. There is no way they could have tested
it on Vista, and don't support BCB6 on that platform.

--
Chris (TeamB);
 

Re:Directories in Vista?

Thank you very much,
I must réinstall borlant out program files?
My "progperso" directory app is out off programfile and then my App that i'm
developping is in "progperso
Thank you very much
Patrick
"Jim" < XXXX@XXXXX.COM >a écrit dans le message de
Quote

>
>>Hello
>>I have installed BCB6 on vista
>
>BCB6 pre-dates Vista by years. There is no way they could have tested
>it on Vista, and don't support BCB6 on that platform.

I installed an older version of Delphi in a directory that was not in
the Programs Folder. The only problem I have is when I do a search the
dialog that show the progress the text is drawn half out of site.
Other then that I works fine. I tried it in the Programs Files folder
and it gave me nothing but problems.

Jim
--
www.mustangpeak.net
 

Re:Directories in Vista?

Quote
I must réinstall borlant out program files?
I would say yes.
Quote
My "progperso" directory app is out off programfile and then my App
that i'm developping is in "progperso Thank you very much
You can install your app in the Program File folder with an installer
but with the program is executing you can't write any files to that
folder you will have to use SHGetSpecialFolderPath and CSIDL_APPDATA
and create a folder there to write any files.
Jim
--
www.mustangpeak.net