

Virgo
Members-
Content Count
109 -
Joined
-
Last visited
Community Reputation
18 GoodTechnical Information
-
Delphi-Version
Delphi 2 - 7
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
IBX is Crashing Application on Windows XP / Server 2003
Virgo replied to MikeMon's topic in Databases
No, but adding unit into uses can make program try to load them. And I thought, that unhandled exception in dll possible reason for crash. -
IBX is Crashing Application on Windows XP / Server 2003
Virgo replied to MikeMon's topic in Databases
I thought, that IBX probably tries to load driver dll on unit initialization. And actually, with IBX driver file is probably gds32.dll. But if it is compiler dependent, then it is probably not dll compatibility thing. But I would still check initialization sections of IBX. -
IBX is Crashing Application on Windows XP / Server 2003
Virgo replied to MikeMon's topic in Databases
What is the version of fbclient.dll? Could it be, that it does not support Windows XP anymore? -
Except Windows documentation defines this lpdwHandle as LPDWORD, So THandle would be wrong.
-
function: how to return nil
Virgo replied to jesu's topic in Algorithms, Data Structures and Class Design
Using variant? function myfunc(const pa_value:string): variant; begin if pa_value = whatever then result := -1 else result := null; end; and then parambyname('myparam').AsVariant := myfunc(); -
Since SFTP is something completely different of ftp, I would not expect TIdFTP to support it. I have been using SshPascal wrapper around libssh2.dll
-
In the end it comes down to Delphi limitation, that duplicate fields are not allowed in variant types... Because logical translation with being at the end would be: case Integer of 0: ( hIcon: THandle; hProcess: THandle;); 1: ( hMonitor: THandle; hProcess: THandle;); end; But this duplicate hProcess is not allowed.
-
Constant declarations keeps baffling me (don't know enough I guess)
Virgo replied to Tommi Prami's topic in RTL and Delphi Object Pascal
But at next invocation of such function foo is already 20. So typed const are like static variables in that sense. Also, in past Delphi versions they were writable by default (Turbo Pascal compatibility). -
Constant declarations keeps baffling me (don't know enough I guess)
Virgo replied to Tommi Prami's topic in RTL and Delphi Object Pascal
From documentation " Typed constants, unlike true constants, can hold values of array, record, procedural, and pointer types. Typed constants cannot occur in constant expressions. ". Try MULTIPLIER = NativeInt(1000); -
Why does the field type change after saving the Table within the database?
Virgo replied to Miguel Jr's topic in Databases
It is really strange, that Delphi 7 book uses Database Desktop to manage Interbase database... Because DBExpress was introduced in Delphi 6 as a replacement for BDE . And even if you wanted to use BDE for Interbase, then even in Delphi 5 (I have no older versions to check, if they had also) there was Database Explorer, that was more useful with SQL databases... And also, specifically for Interbase there where IBX components for database access. But I do not remeber, if there was any specific management interface. Although, there is always Interbase own isql. -
Why does the field type change after saving the Table within the database?
Virgo replied to Miguel Jr's topic in Databases
Why it happens: probably nobody knows, because nobody probably uses Database Desktop for SQL databases... Maybe someone in Borland would have known, but that company no longer exists. And how to solve it: do not use Database Desktop for SQL Databases... It is only useful for working with Paradox databases and maybe DBase/FoxPro databases... -
How to resolve error in Database Desktop execution in Delphi 7
Virgo replied to Miguel Jr's topic in Databases
BDE is not Database Desktop. As I told before, it is program for viewing and modifying Paradox and DBase tables using BDE. It was part of Dephi install in the past versions. -
How to resolve error in Database Desktop execution in Delphi 7
Virgo replied to Miguel Jr's topic in Databases
I do not understand the question. Database Desktop works with paradox tables and dbf files. Interbase or IBexpert do not. So they are not replacement for Database Desktop. -
How to resolve error in Database Desktop execution in Delphi 7
Virgo replied to Miguel Jr's topic in Databases
I mean replacement program, that does what you want database desktop to do. -
How to resolve error in Database Desktop execution in Delphi 7
Virgo replied to Miguel Jr's topic in Databases
Yes. Other way would be to try to write your own replacement for database desktop. Lot of depends, what features of it are you using.