Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 12 of 12 total
Thread ElevateDB Error #401 on a Non-Development Machine
Fri, Jul 11 2014 7:22 AMPermanent Link

Michael Riley

ZilchWorks

Avatar

Roy Lambert wrote:

> I believe that relative paths are relative to the directory the config file is in, so
> you are correct as long as you are storing the configuration data in a directory in  
> CSIDL_COMMON_APPDATA and then the database in a directory hanging off that

Yes, the config file sits in the CSIDL_COMMON_APPDATA.

I think the relative path question should be part of the ElevateDB FAQ page.
http://www.elevatesoft.com/supportfaq?category=edb

I'm in the process of updating an older program that has not been through a major rewrite for 8+ years. Back then I simply created a unit called "Globals" to store global variables I used throughout the application. I've also added a database which wasn't part of the original application.

Today, I'm using a static class called TAppInfo instead of global variables. In addition, I wanted my application to use the CSIDL_COMMON_APPDATA which can be different on different machines. I would have preferred to use the newer FOLDERID_ProgramData but it's not supported on XP machines.

I wanted to use modern-day techniques in this new application. It's going a lot slower than anticipated because I have to stop and learn all new concepts but in the long run I believe it ill be well worth it.--

--
Michael Riley
GySgt USMC (Ret)
www.zilchworks.com
Fri, Jul 11 2014 7:54 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Michael

>I wanted to use modern-day techniques in this new application. It's going a lot slower than anticipated because I have to stop and learn all new concepts

<vbg>

Roy
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image