Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Vovin
  • Content: Threads
  • Order by date
  1. Vovin

    Regional settings

    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...
  2. Vovin

    Trying to connect to callback function in C++ dll

    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...
  3. Vovin

    AfxGetApp problem

    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...
  4. Vovin

    Can I embed ##ifdef in a macro?

    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) \...
  5. Vovin

    Forking and Database Connection problem

    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...
  6. Vovin

    passing parameters to plpgsql function problem

    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...
  7. Vovin

    C style header files in perl

    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...
  8. Vovin

    How do I recursively remove files from directories?

    Hi, does anyone have a small elegant piece of code (in C) that recursively remove files from directories. Thanks.
  9. Vovin

    Starting and killing a process

    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...
  10. Vovin

    Message handler button missing in VC++ .Net

    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...
  11. Vovin

    Easy File I/O Question

    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...
  12. Vovin

    Easy File I/O question

    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...
  13. Vovin

    Need help with TOleContainer

    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...
  14. Vovin

    How do I find out what activeX components are being used?

    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...
  15. Vovin

    Easy Debug Question

    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...
  16. Vovin

    Need help with wincrypt.h

    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...
  17. Vovin

    How do you use COM objects that have not been written in Delphi?

    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...
  18. Vovin

    How can I get certificate information?

    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...
  19. Vovin

    What other files do I need to distribute with an executable?

    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...
  20. Vovin

    Need help with compiler options

    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...

Part and Inventory Search

Back
Top