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,
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...
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...
Hi,
can anyone help me with this? I'm trying to start a small C program (foo.exe) from my perl program.
Once started the C program runs forever monitoring a directory for incoming files. I want to start this process but stop it when it outputs the following line to the screen:
'Waiting for...
Hi,
can anyone help me out here? I've installed VC++ .Net on 2 machines. If I create a project from scratch on both machines I can only add message handlers on one of the installations.
On the other PC the 'Message Handler' button in properties (the one with a picture of lightning) is missing...
Hi,
this is probably really easy but I don't know how to do it. I have a piece of code that opens a file and reads it's contents. The first time I open the file this code works fine - the second time it doesn't. I have checked all my opens and they all have matching close's.
My question is...
Hi,
this is probably really easy but I don't know how to do it. I have a piece of code that opens a file and reads it's contents. The first time I open the file this code works fine - the second time it doesn't. I have checked all my opens and they all have matching close's.
My question is...
Hi,
can anyone help with this? I'm trying to write some code in a button event handler. When a user clicks the button they are asked to select a file. This file then should be displayed in the TOleContainer object on my form.
At the moment all I'm getting in the TOleContainer is the name of...
Hi,
can anyone help me with this - I'm not a VB programmer and don't really know my way around it.
I have a VB project that does a task which I want to put into my Delphi program. To acomplish this task it uses a number of ActiveX components but I don't know what ones and where there are on my...
My breakpoints aren't working correctly can anyone help me. My application just does not stop on breakpoints when it's run....arrghhh
I know this is some kind of project options thing but I just don't know what's wrong with this. Does delphi not have the option to choose between different types...
Hi,
I copied and pasted some code off the Microsoft site i.e. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/security/security/example_c_program_creating_a_certificate_chain.asp
I then added Crypt32.lib and Advapi32.lib to the Link section of project settings. When I run the...
Hi,
can anyone help me with this? I have created a COM object in Visual C++ using the ATL COM AppWizard (that's me alienated most of the Delphi forum now).
If your still reading then this is my problem. There are plenty of examples of Delphi code that use COM objects that have been written in...
Hi,
can anyone help me with this? I'm trying to write some code that will retrieve the data stored within a certificate held in the certificate store.
For example. If you open Windows Explorer and click on Tools->Internet Options->Content->Certificates. If you then click on one of the...
Hi,
I've finished a small application using Delphi 5. I created an installer using InstallShield Express but this is pretty basic for what I want to do. I want to copy and register dll files to the users PC and InstallShield doesn't seem to provide for this.
I've been looking at the NSIS...
Hi,
can anyone help help me with this? I have an application written in Delphi 5 that works fine on my machine but not on anyone else's.
It basically breaks on this line:
QP := CreateOleObject('iSED.QuickPDF');
The iSEDQuickPDF stuff is basically a load of .dcu file that I've shoved in my...
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.