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
Thanks zevw. I have autoincremental fields, does the "Insert into ... select * ..." preserve the original values or when the records are inserted they obtain new values for the autoincremental fields?
Best regards.
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 the following connection string and it works fine:
procedure TfmData.DataModuleCreate(Sender: TObject);
const
ConnStr = 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=%s;Persist Security Info=False;Jet OLEDB:Database Password=MyPassword';
begin
ADOConnection1.Close...
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...
It´s a good idea, but, what is the best way to copy data from the original to the empty?
I´ve thinking to do something like that (using a query):
insert into empty_table select * from original_table
What happen with AutoIncremental Fields?, does it change or it conserves its original values...
Basically, I want to compare the structure of two Access Databases and "reconcile" them. If I made changes like add fields, rename them or change the type of a field, I want those changes apply to the second database
Thanks.
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...
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.