delphi

access facebook with ICS-SSL

Hi, I'm trying to access/login to facebook with a program(OverbyteIcsHttpTst.exe) compiled with delphi using component ThttpCli ( ICS-SSL which is the latest version that support https). www.overbyte.be/eng/products/ics.html The idea is, i wanna to access to facebook just like ordinary browser did. for example, i trying to login by "p...

How to programing delphi?

what i need? what about tool for programing via delphi programing? i am a novice for delphi. ...

Which Delphi technology to use?

I have a Client/Server application written Delphi. Essentially all the application is doing is transferring xml data streams between a server application and connected clients. I am currently using the Indy TIdTCPServer component. But the server side application keeps crashing on some of my installments. And it has been extremely dif...

how to handle unicode data in delphi7

hi all in my application ,i am sending data from my application to database i am getting some odd characters in my database like this i am sending my data like this var w:widestring; u:utf8string; begin w:=data //data is function to get some info(string) u:=utf8encode(w); sendfn(u); end; i am using utf8_decode(my ge...

Why is Windows.dcu being flagged as a virus?? DELPHI

I thought maybe the delphi virus had infected my .dcu so I recompiled windows.pas that was in Delphi's C:\Program Fiels...\source\Win32\rtl\win. Here are the results. Here's the virustotal result http://www.virustotal.com/analisis/419f755ae57e6ba469f5c6e36305153dc298517edae2f48ae24af6682335260b-1281224937 I reformated my computer and ...

Is TWebBrowser dependant on IE version?

I am thinking about using the TWebBrowser component that comes within Delphi's default pallet of components in a project, but I wonder if it uses the IE version installed on the client machine? If yes: then I guess it would share its history, cookies, workoffline and stuff like that? Can I separate them somehow? Is there any webbrowser ...

What minimum screen size should I assume?

I'm designing various unsizeable forms and layouts in Delphi to run on Windows. I'm worried that if I assume a minimum 1024x768 screen size (or greater), I'll run into customers still using 800x600. What minimum screen size should I assume? I don't want to require a minimum that irritates users. What's the best practice or current re...

Include files in ridl

The Delphi project I'm working on requires me to create a very large type library in order to add COM support. The problem is with the type library/ridl editor in Delphi is that it becomes difficult to manage (from a programmer point of view) such a large file, and I'd like to split it along functional lines. The problem I have is tha...

Delphi multithreaded application built in vista and won't run in XP

I am really stumped. I am running delphi 2007 on vista. I have built many applications and run them in XP with no problem. This latest app had to make use of threads. I'm pretty sure my code is correct. It runs fine on Vista, but when I run it on XP (tried multiple PC's) my program seems to lag (both os's 32 bit, XP sp3 and Vista sp1, d...

Problem with running WebService in separate thread in Delphi

I have never asked questions in any community as I always solved problems by myself or could find them online. But with this one I came to dead end and need Help! To make it very clear – I converted a simple app, found elsewhere to make it use a Tthread object. The idea is simple – the app checks online using webservice, through THTTPRIO...

Stack corruption when using TSQLConnection.SetTraceEvent ?

I've multithreaded application where new TSQLConnection is created for each thread. If I try to use tracing (TSQLConnection.SetTraceEvent or TSQLMonitoring) I get the trace results as expected, but after that the main thread seems to beserk when I try to use any database functionality. Application throws excpetion "access violation at 0x...

how to adjust master volume in vista/xp

i want to adjust the volume programatically like Get/SetMasterVolume in vista and xp? using mmsystem unit? ...

How to adjust microphone input level in delphi?

i want to Get/Set the mic level using delphi? that works on vista and xp uses only mmsystem, any freeware component will do as long as no external dll's on the run. and also getting the peak level. ...

delphi TCollection count not increasing after Add

i have the types TNotifyReply = class(TCollectionItem) TNotifyReplylist = class(TOwnedCollection) NotifyReplylist := TNotifyReplylist.Create(self, TNotifyReply); After calling this function (Any number of times), Count it still zero function TNotifyReplylist.addItem: TNotifyReply; begin Result := inherited Add as TNotifyReply; ...

Delphi TPath.GetTempPath result is cropped

Hi all! I am using Delphi 2010 and my program wants to get the system's temp path. I am using TPath.GetTempPath and everything is working fine... at least for me and my coworkers. But on some customer machines this method returns a cropped path which is (of course) not existing. I found out that the problem seems to be the result from u...

Voice Recording/Saving in Delphi

Is there a component or code that allows the following: Record a spoken word (or words) and save it/them to a file that can be played back. The file must be able to be played back on XP, Vista and Windows 7. The file can be either stand alone or saved to a datasource. [Using Delphi 7 for creating apps on XP and using Absolut...

Initialization in Delphi

When compiling code without initializing a THandle the Delphi 2009 compiler gives a warning of the variable not being initalized. Is there any need to initialize these THandles? If you need to init. them do you need to also free a THandle when you no longer need it? ...

What is the "identity pointer" before a TTypeInfo there for?

If you poke around enough in Delphi internals, you'll find something strange and apparently undocumented about TTypeInfo records generated by the compiler. If the PTypeInfo points to a TTypeInfo record at address X, at X - 4 you'll find the next 4 bytes describe a pointer to X. For example: procedure test(info: PTypeInfo); var addr:...

WebBrowser, IPersistStreamInit and javascript

For one of our desktop applications we use a HTML-based interface, loaded from local files into a WebBrowser control. This works fine, but now we want to load the files from a different source, and are trying to stream them in using IPersistStreamInit (like this example on MSDN). It seems to work OK, except for the referenced javascrip...

Call dll function

Hi all, I have to acces a c written dll function, prototyped as: #include "extcode.h" #pragma pack(push) #pragma pack(1) #ifdef __cplusplus extern "C" { #endif void __stdcall PSA_Send_BO(char hostname[], char BO_NumberIn[], char BO_NumberOut[], int16_t *Status, char Error_text[], int32_t *Error_code, int32_t *length_BO_Numb...