Hi, I use Delphi 7. I have the following declaration of a C++ DLL Function:
UFS_STATUS UFS_API UFS_Extract(
HUFScanner hScanner,
unsigned char* pTemplate,
int* pnTemplateSize,
int* pnEnrollQuality
);
I declared in Delphi as:
function UFS_Extract(hScanner : Longint; var pTemplate :PByteArray...
Hi, I use Delphi 7. I have a tlb file with some wrapped dlls. When I import this type library, the xxx_TLB.pas is generated but it doesn´t have any function or procedure declared. The visual component wasn´t generated neither.
The autor says I have to use directly the dlls but he doesn´t have...
Hi, I use the following code to detect if the system date/time changes:
************************************************************
type
TForm1 = class(TForm)
private
procedure WMTimeChange(var Msg: TMessage) ; message WM_TIMECHANGE;
end;
var
Form1: TForm1;
implementation...
Hi, I have my application minimized on the tray bar. When the user presses a combination of keys the application maximizes.
I want the window to appear on the top of the desktop, over any other application running (for example Explorer, Word, etc).
Before I maximize the application I wrote...
Hi, I´m trying to create a table on runtime. I use Access 2000 with ADO.
I use the sql command: create table mytable ( id INTEGER, name VARCHAR(50)) , and it works fine,
but how can I define an autoincremental field ?
thanks
Hi, I have a MDB installed on my client computer. I added fields and made other structural changes on my original MDB. What is the best way to apply those changes to my client MDB without loss data?
I use D7 and MS-Outlook 2003. I send mails using the MAPIMAIL unit (as described in FAQs). It works fine, but before I send the mail, Outlook ask me for a confirmation (it tells that another program is trying to send an email and it may be a virus ... bla, bla, bla). How can I skip this...
Hi, I use D7. I have two tables: customers and departments. I want to make a "customers by department" report, but I want to choose the department before I generate the report.
I want to add a ComboBox dialog that shows:
All Departaments
Department 1
Department 2
...
(Notice the first item...
Hi, I use D7 with MS-Access
I installed my application and database in my client computer.
After that, I made structural changes in my database (add fields, create other indexes, rename fields, etc).
I want to update my client application with those changes. What is the best way to apply the...
I use D7. I need to handle the Change System Date or Time event. For example, when the user changes the system date (or time) through the Control Panel or command window (DOS), I need to evaluate if I want the user does that. If I don´t, I need to forbid the user proced with the change.
is...
Hi, I use D7. I use ADOConnection to connect to my Access 2003 Database. The problem is when I work with other applications that use my database (or the same application in a workstation in my LAN), the main application doesn´t "see" the changes I did until I closet it and open it again.
I...
Hi, I use D7. I want to simulate an user click of a SpeedButton by code. If a write:
speedbutton1.click;
the onclick event fires but the button doesn´t change its state. I want to simulate the "visual" effect of pressing the button.
Thanks
Hi, I use Delphi 7 and MSAccess 2002. I'm trying to connect to my database using ADO. I created the ADOConnection (ADOConnection1) and it works fine when I test it. When I add an ADOTable, I set the connection property to ADOConnection1 and when I select the table changing the TableName...
I want to run my application on a network. What is better?:
1) Put the exe file in the Server and create a shortcut in each client machine.
Problem: too slow?
2) Put the exe file in each machine and configure the path of the Database for each one.
Problem: If I want to upgrate the program I...
Hi, I use Delphi7. I need to get an unique number for each PC (example: processor number, serial number, etc). I got the HDD serial number. The problem is when I format the disk this number changes. I need a number that doesn't change never and unique for each PC.
Thanks
Hi, I use Delphi 7.
I catched information from COM1 (a simple string). I have an event that is executed when the information "arrives" to the port. I need to send this text to the current active program (for example notepad or Word) as if the user has typed it through the keyboard. Any idea...
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.