Hi,
I want to change the regional settings for my application. I don't want to permanently change these settings on the host PC (i.e. using SetLocaleInfo). I just want to change regional settings for my application irrespective of the regional settings on the users PC.
This is what I currently...
Hi,
I'm new to Delphi programming (well re-learning after a 14 year break) and I'm trying to get a Delphi application to communicate with a Dll writen in C++ (I don't have access to the Dll source code). I can call most of the dll's functions fine but I'm struggling to get callbacks to work...
Hi,
an MFC question. Within my CMainFrame class I want to access my App class methods. I've tried the following code:
CPOSAnywhereClientNTApp *app = dynamic_cast<CPOSAnywhereClientNTApp*>(::AfxGetApp());
IPAddress commandLineIPAddress = app->getTargetIPAddress();
if...
Hi,
I have a macro of the form:
#define MACRONAME (expr) OTHER_MACRO_TO_CALL (expr)
however I only want the macro OTHER_MACRO_TO_CALL to be called if a certain token is already defined. For example something like this:
#define MACRONAME (expr) \
#ifdef MY_TOKEN \
OTHER_MACRO_TO_CALL (expr) \...
Hi Travs69,
thanks for the suggestions. I'm not a DBA but the DB does allow multiple connections. At the moment I'm looking at my forked children calling "system" and executing an external program to do any database connections that I need. It's a horrible messy solution though and it still...
Hi,
I'm having a bit of a problem losing database connections. I have a perl script that forks 2 children. Each child connects to the same database. The first child completes it's processing correctly but the second loses it's database connection.
I put some logging into the code and it...
The above function does actually solve the problem of passing a comma-delimited list of values to a plpgsql function.
If I remove everything that refers to a date then this seems to work ok. For some reason when I pass a date into the sored proc it doesn't treat it correctly. If I use the now()...
thanks for your help but unfortunately I didn't manage to solve the problem using your solutions. I think the correct way to do it is by using EXECUTE but currently this isn't returning the value that I'm expecting (it always returns 0). If you have any ideas why this might be so then any help...
Hi,
I'm having a problem passing a comma-delimited list of values to a plpgsql function (stored procedure) that I've created. I'm calling the function as follows:
select * from get_total_jobs_passed_at_eol(268, date('2006-03-19'), 2, '1,2', '1');
The 4th parameter is the one that I'm having...
Hi,
I have a list of constants that I want to re-use in several *.pl and *.pm files e.g.
# boolean values
use constant TRUE => 1;
use constant FALSE => 0;
I want to put this stuff in an external file and not copy/paste it into every file that uses it. Sort of like a C++ header file.
Can...
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.