delphi

Checking for Administrator user login in non-English installations of windows

Hi! I have some small questions...I have a program that stores a list of users in a database and compares on program startup if the user is in the list or is an administrator before letting them use it. At the moment, the way I'm using to check if the user is an administrator is simply by comparing the username to a string constant calle...

Twitter Oauth Delphi 7 home_timeline getting 401 unauthorized.

I am using Oauth for Delphi from ChuckBeasley.com I am able to get a request token, then call with my callback url and put in my credentials. I then get redirected correctly to my callback url in a TEmbeddedWB component. I then get an access token (at least I believe I am) since screen_name and user_id come back in the response. When ...

Wall on FaceBook

i would like to post a message on facebook wall (standard friend/group's wall) not the Apps. using delphi, i could log-in but i dont know how to post a message on it. any suggestion? ...

ribbon controls in delphi

(sorry this question is not based on software but about legal issues ) I have used tms ribbon controls and ribbon controls came with Delphi 2009 in my project. i can remember the Delphi setup warned me about ribbon controls and said me to get license from microsoft. whats is the licences and can i distribute this application as a comerc...

.net assembly interop exceptions handling

I am calling a .Net assembly from a Delphi project using COM interop. Can I catch .Net exceptions in Delphi thrown by the assembly? ...

Word automation does only work for administrator, or with a delay after creating word.application

We have a program made in Borland Delphi that uses Word automation to create documents. On an installation (terminal server) we are only able to get the Word automation to work when running as local administrator. When runnnig as anoter user we get an error message "Opdracht mislukt -2146824090" (its dutch version of Office), wich I gues...

Why do fewer developers use Delphi?

This is a non technical question. I am a Delphi developer so I have met many developers from the community , but only a few have said they know a programming IDE called Delphi and only a very very few know Delphi. I am very comfortable with Delphi and I always prefer Delphi for windows development(but I know many developers on the inter...

DelphXE: GlobalMemoryStatus vs. GlobalMemoryStatusex

Hello! I am using DelphiIXE. I learned that GlobalMemoryStatus may return wrong results on 64 computers with more than 4G RAM, so GlobalMemoryStatusex should be used. But, on the other hand, if I use GlobalMemoryStatusex on 32 computer, the results are wrong on as well (returned numbers are 0 or huge). Of course I can prepare two pro...

Delphi TreeView: Can I have different styles in one node's text?

I want to show a string like this as a note's text: Name: John It has a bold part and a regular one. Is there a way that I can do this? ...

Compile Delphi 2010 Project with MSBuild

Hi Everybody, I am trying to compile a Delpho 2010 project using the msbuild tool. Unfortunately when firing the command msbuild Delphi.dproj it returns the error code MSB4040, which means that there is no target in the project. So far a RAD Delphi 2010 environment is still installed on the machine. Does anybody know which files do ...

Problem in generating complex types while using XML Data Binding

Hi, I am using XML Data Mapping and having a problem with generating complex types while using it. If i am having an XML like below its working fine <?xml version="1.0" standalone="yes" ?> <Sample> <connection> <item Name="ABC">123</item> <item Name="XYZ">123</item> <item Name="MNO">123</item> </...

using CefRegisterExtension of delphichromiumembedded component on Borland C++ ?

Hi I compiled the delphichromiumembedded using Borland Studio 2006 (c++) , and tried to use the CefRegisterExtension that in the ceflib.dll , I translate the Delphi code of the Execute function to C++ but seems that this doesn't work , I did it using the GetInterface of DelphiInterface Class. here is a sample code , if somebody know ...

Shrinking exe by removing RTTI

In this question (link) it was said that the line below (in each unit) would remove as much RTTI as possible: {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} The posting didn't mention what Delphi version it works with, but I assume D2010. However, when I include the line above, I get this error: DCC Fatal Error: E21...

How can I check an interface property's visibility?

I have started writing web services in Delphi 2010 and am unit testing to make sure they function as planned. My unit tests of the code passed but one web service method didn’t return a value when called as a service (i.e. through SoapUI). After many hours of searching through the code I discovered it was because the properties on my ret...

Needed to be guided trought SSH Tunnel with a delphi Application

Hi there I created a Delphi 2010 application. It is use by many company in the region from trusted to untrusted users. The application authenticate users with MySQL behind MD5 encrypted password. Following this, the application need to upload and download many files trought ftp. The fact is : any network sniffer (such as Ethereal also ...

Is there merit to having less-than-8-byte pointers on 64-bit systems?

Hello! We know that in 64bit computers pointers will be 8bytes, that will allow us to address a huge memory. But on the other hand, memories that are available to usual people now are up to 16G, that means that at the moment we do not need 8 bytes for addressig, but 5 or at most 6 bytes. I am a Delphi user. The question (probably for...

How can I handle arrow keys in a custom component in delphi?

I'm using delphi XE. I'm developing a component that is come from TPanel. TApGUITab=class(Tpanel) I handled key down event by handling WMKeyDown message, but it isn't called when I press arrow keys and it sets focus to another control instead of calling the event. What should I do now? ...

VCL port to .NET

Is there a open source effort to port VCL (Delphi Lib) to .NET ...

How to Send to back for a control at runtime?

Hi, First, Please download this file ( download ). how to i can set Form2 to "Send to back" for show Image1 to user ?? i use Image1.BringToFront; but this code not work!! here is main unit: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type ...

GLScene Basic facial expression

i need help on how to do basic facial expression on GLScene like moving the eyes lips eyebrows etc. the 3ds mesh is already given. Any idea? example on http://www.facegen.com/ but i only need the basic. ...