delphi

Delphi 2007 isn't generating the XML I want to send to my Java-WS web service

I have a Java web service to which I've linked from a Delphi 2007 app using the WSDL Importer. Setting it up has been a rocky road but I'm almost there! I now have the situation where my arrays aren't being serialized in a way that my Java web service can consume. I've written the same app in .Net to test it out (it works fine) and the ...

Social networks in an Delphi win32 application

I want to create some kind “social” connection/interaction in an application that I am creating. The application is for a restrict group of professionals, that would benefits for social connection/interaction with each other. So now I don’t know what to do. Do something new, integrate with an existing one ? I am open for ideas. ----...

How to open multiple files with Delphi program invoked via shell open

I am currently using: if ParamStr(1)<>'%1' then begin address.Text:=ParamStr(1); autoconfigfile; end; to pick up the name of the file that was used to open the file with via file association. I now want to develop the ability to operate on multiple files. I.e. if I select 5 files and right click and select open with "EncryptionS...

Delphi Web Service Importer and NonAscii Character Problem

I'm working with Delphi 2009 update 2. Borland WSDLIMP Version 2.3 - $Rev: 16699 $ Why does the identifier rápido shows as r_pido ? Where did the character á go? Is this WSDLIMP bug or MS XML bug ? thanks for replies File.XSD <?xml version="1.0" encoding="UTF-8"?> .... .... .... <xs:simpleType name="displayName"> <xs:restriction bas...

Too many open files

I get an EInOutError with message 'Too many open files' when executing this code block repeatedly for some time from a number of client threads: var InputFile : Text; ... Assign (InputFile, FileName); Reset (InputFile) try // do some stuff finally CloseFile (InputFile); end; The number of client threads is approximately 10, so on...

Why does execution jump to the end of a proc after an exception?

When an unhandled exception happens while debugging some code in any procedure/function/method, the debugger stops there and shows the message. If I now continue debugging step by step, the execution jumps directly from the line that created the exception to the end of the current procedure (if there is no finally block). Woulnd't it ...

madExcept + UPX

I'm having problems using madExcept + UPX on Delphi 2007. Whenever I open the compressed application, a Windows exception dialog appears code 0xc0000005. Anyone has the solution for this? Thanks! ...

Inscriber Technology Via Builder and Delphi - Alpha Channel support

Hi there, I'm working with Via Builder, from Inscriber Technology. This app merges a TGA sequence animation into one single .via file, making it much better to load large sequences, as this file is optimized. There are plugins to use this with some Adobe products. I'm working on Delphi, and my problem is that I can't get back the origi...

Indy Write Buffering / Efficient TCP communication

I know, I'm asking a lot of questions...but as a new delphi developer I keep falling over all these questions :) This one deals with TCP communication using indy 10. To make communication efficient, I code a client operation request as a single byte (in most scenarios followed by other data bytes of course, but in this case only one sin...

Tools to detect Dead code in delphi2007 or above

Are there good tools to detect dead code in DELPHI2007 or above? That can integrate with the IDE? The option to look at blue dots is just time consuming, so it’s ruled out. ...

Delphi: Open a file from another computer

Hi, my names's Carlos Im from Brazil. Im trying to open a file like this: image1.picture.loadfromfile('\\ntmemo01\c$\ozzy2.bmp'); but it doesnt work. Im receving the exception class EFOpenError with message "Cannot open file '\ntmemo01\c$\ozzy2.bmp' Access denied." Thanks, Carlos ...

How do I enumerate JvMemoryData...Or, how do I create a hash with a single key and multiple values?

I am using JvMemoryData to populate a JvDBUltimGrid. I'm primarily using this JvMemoryData as a data structure, because I am not aware of anything else that meets my needs. I'm not working with a lot of data, but I do need a way to enumerate the records I am adding to JvMemoryData. Has anyone done this before? Would it be possible to so...

Indy HTTP: reading response content on a 403

I am having a problem using Indy HTTP (in Delphi) with the Google Contacts API. Please refer to the section "ClientLogin Response" on the following page: http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html The server returns a 403 when the authentication is incorrect or an error occurs... as expected. However, accordi...

How to import a function from a DLL made in Delphi?

Can you tell me how do i use the following functions in my C program. Delphi DLL - Exported functions : function GetCPUID (CpuCore: byte): ShortString; stdcall; function GetPartitionID(Partition : PChar): ShortString; stdcall; I don't have the source code for that DLL so I must adapt my C program to that DLL and not the other way aro...

GDIPlus.dll Access violation error

I am getting an access violation error stating "Access Violation at address 4EC842CD in module gdiplus.dll". Language Used : - Delphi 10, Borland Studio 2006 Environment: - Windows XP I am having an application in which I am using File Open dialog in Delphi which facilitates users to open some type of files from any location of their sys...

Where can I find a free/opensource Delphi multimedia component?

I was in a project where I must be able to play almost audio/video files (format). The requirements: Video: .dat (vcd & svcd) .vob (dvd) .rmvb (real media) .mp4 (mpeg4/x264/h264) .wmv/.asf (windows media) .avi (xvid/divx/mpeg2,etc...) .mkv (matroska, optional) Audio: .mp3 (you probably know this) .ogg (vorbis) .wma (windows media) ...

Faster CompareText implementation for D2009

Hello, I'm extensively using hash map data structures in my program. I'm using a hash map implementation by Barry Kelly posted on the Codegear forums. That implementation internally uses RTL's CompareText function. Profiling made me realize that A LOT of time is spent in SysUtils CompareText function. I had a look at the Fastcode site...

Is it possible to install multiple instances of the same delphi service application?

I have a service application built in Delphi that works great. It does exactly what I want it to do and all is happy. All is fine until I want to run two (or more) instances of that service on a single machine. Since the service name is hard coded into the program (via the Name property of the service), I can only install the service ...

Enumerating a List of systems Com Ports in Delphi

Objective: I would like to be able to list the available COM Ports on a system in Delphi. Homework: I have read this SO thread on enumerating the LPT ports of a system using the registry. I have also found that the COM ports are listed in the registry at HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\SERIALCOMM but found unanswered gesticulation...

Annoying click sound in TWebbrowser

I'm using a TWebbrowser component in my Delphi app, whose content I load programmatically: (aWebBrowser.Document as IPersistStreamInit). Load(TStreamAdapter.Create(aMemoryStream)) On every Load the component produces an annoying click sound. Can this be disabled? TIA ...