OK, a simple question but I can't find the answer!
My app sends emails, but it's effectively broken on Office 365 (mostly people using BT as an ISP in the UK at the moment).
Anybody know of a solution to this in Delphi? We were even using cdo, but this isn't supported any more either.
At the...
Looks like this forum is dead, but just in case anybody comes across this thread...
We actually managed to work something out that does what we're after.
Using the pgrowlocks() function, then cross-referencing those results with pg_stat_activity by pid = procpid allows us to get the user name...
I'm a bit of an SQL server noob, so forgive me if this is a silly question, but I can't find the answer anywhere...
When my app comes up against a lock and has to wait, I've always displayed a "locked by user xxx" message, so it's easy for the user to shout or run over to the offending...
Forget it - we've just noticed the license warning about having to conform to Microsoft's narrow-minded ideas about how we can use the ribbon control interface. How typically petty. Won't be using that then :/
Rob
I'm generating a TRibbon-based menu at runtime in Delphi 2010. It needs to be created in code at runtime because the menu can be completely different depending on which user logs in (menus are user-defined).
It's working nicely apart from the fact that I can't write to the CommandProperties of...
Steve: Just gave those microolap components a try. They do a PostgreSQL version, and it's absolutely superb. Easy to use and goes like stink. Thanks for the tip-off. Looks like we could be sticking with Delphi after all :)
Just need to get used to Rave Reports now... I was so used to...
Thanks for that Steve - we'll have a look at those while we're at it. We're not utterly decided on Postgre - we'd use another SQL server like MySQL if it performed better. It's just that we've used it a few times before (mostly for web apps) and it's always seemed good, and has the added bonus...
Thanks. There's not really any code to show you yet. We're just evaluating various methods to make sure they do what we need before we commit ourselves. I'm drawn to Delphi again because it seems a shame to waste my 25-odd years experience with Pascal/Delphi, but we really want to use a...
We're planning to redevelop our ageing Delphi 5/BDE/Paradox application and looking into the options.
PostgreSQL is looking good for the database, and we've tried Java/NetBeans, MS Visual Studio and Delphi 2010.
So far, Delphi is looking the most promising, but it seems pathetically slow at...
Right, managed to get to the bottom of this.
Just for anybody who comes across this thread in the future, the solution to my problem was as follows:
Managed to get it to come up with the BDE engine error codes, $2501 and $210D
Did some searching and the fix was to set the SHAREDMEMLOCATION in...
Thanks Daddy,
The app is always run as an administrator user, otherwise it doesn't work at all under xp or later (it creates directories, which MS have decided a normal user is not allowed to do).
Not sure what you mean about the BDE being in the Program Files directory. The BDE is always...
Thanks for the reply Steve.
Perhaps I should have given more background info:
The app has been running fine with nearly 500 customers for years (it's Delphi 5), with lots of them running multiple instances regularly.
Yesterday one of our installation technicians called in reporting the problem...
I've got an error that happens on startup of a second instance of my app on the same machine. I thought I'd be able to get to the bottom of it by running one instance, then running the second one from inside Delphi, but it always tries to recompile the EXE file, which cannot be overwritten...
You are indeed my daddy :)
How could I have missed that? I feel a bit of a fool now!
Working perfectly though - should keep a few people happy.
Thanks again,
Rob
Right, I've got closer to finding out what's going on. The problem happened on my development machine yesterday so I was able to trace the line of code that's hanging.
Pretty much the first thing my app does is checks for other instances of itself on the machine (to stop people running more...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.