what is difference between pchar and pbyte
title explains all and why i cant perform this operation var data:pbyte; x:int64; o:pointer; begin o:=data+x; end; thanks in advance regards ...
title explains all and why i cant perform this operation var data:pbyte; x:int64; o:pointer; begin o:=data+x; end; thanks in advance regards ...
I have a form (TBigForm in the example below) which allows to manipulate some complex data and needs additional information to be shown. I put this info in a fsStayOnTop form (OnTopForm in the example) to ensure it's always visible but can be moved out of the way if necessary. Now when some user action in TBigForm shows a modal form this...
Update: It seems to be specific to D2007. It works in D2010 like it worked in older version. I would like to return an exit code depending on the type of Exception caught in the Eception Handler block like: program test; {$APPTYPE CONSOLE} uses SysUtils; var Exitcode: Integer; begin Writeln('Enter error code:'); Readln(Exi...
I need to read the data in an Access 97 file that has about 400K records. I would like to use either TurboDelphi Pro or dBASE SE. I only have Access 2003. What is the easiest way of proceeding ...
what do I need to use XSLT 2.0 with Delphi(win32)? At the moment I use MSXML6 for all my xml transformation. But MSXML6 has no support for XSLT 2.0. The solution (by ErvinS) Using the AltovaXML library. After installation you have to import the AltovXML typelibrary. Then you can use a source like this: procedure TfrmMainAltovaXmlDemo.b...
Hi, I would like to know the better alternatives to the Delphi BDE. We have this huge application using Firebird 1.5 and BDE, and would like to consider the following alternatives: IBObjects FIBPlus The migration will involve conversion to Firebird 2.5 dialect 3. Can I get your ideas on which one is better? Your input is highly app...
i am using delphi7/2009. how to determine the content of Tpicture? jpeg bmp png etc? ...
Hi All I had my old MP3 Id3 tag reader recompiled under D2010 and it seems it won't find the tags anymore. code is farily simple, but it doesn't work. The debugger shows a lots of zero and then chineese signs in the results! var dat:file of char; id3:array [0..TAGLEN] of Char; //is 0..127 for ID3 v1 begin vValid:=True; ...
hi all i am porting opera recovery from alredy existed c++ code http://pastebin.com/ViPf0yn6 i struck at this fucntion MD5(tmpBuffer, sizeof(opera_salt) + DES_KEY_SZ, hashSignature1); can any one please tell where can i get that md5 unit thanks in advance. ...
i have create 5 dynamic buttons in 1 row and store the button info (caption, isActive, etc) in registry. It shows the button in form when the IsActive = TRUE from registry. The result is as below (each button indicate by a * symbol): ***** When i set the IsActive = FALSE for button2 and button4, the button being remove and left the sp...
I have created a Web application which runs on Apache using TWebModule. I have gotten a little "liberal" with the use of SendRedirect. In one case I found I was calling SendRedirect and following it up with another SendRedirect call - all in the same method handler. On my Test box, it would always redirect to the url of the first Send...
hi.. my problem is when the amount have value the bar already set at the bottom but when the value is zero automatically my bar is set at the center...how i want to set my bar go to the bottom when amount is zero??? ...
I have OnMouseMove event, during which I want to find a value of certain cell (not neccesarily the one under the mouse). Basically the question is: How to access cell data using its x and y coordinates without selecting it, changing focus etc? ...
i would like to make a list of names and then make a random selection but all of them should be called. off course not repeated. delphi code ...
Hi there, When my application is installed in "C:\Program Files..." in Win7 when I launch it, it can't have access to another executable file in the same directory. Other applications work well with this version of Windows except my app :(( I'm using Delphi 7 ...
I am experimenting with WineBottler and I would like to try to run my win32 native application written in Delphi on OSX. The application runs, but I stop at login screen since I cannot connect to SQL Server. Does anyonw know how to install and configure SQL Server native client on OSX so that it is usable with WineBottler? Note: I put...
The title says it all. I'm running a SQL query to delete the record, then trying the following: gridProjects.DataSource.DataSet.DisableControls; try gridProjects.DataSource.DataSet.Refresh; finally gridProjects.DataSource.DataSet.EnableControls; end; The record disappears from the grid, but then the user cannot select another row...
Is there a way to make persistence of business objects with data from a database in Delphi 7? If possible without using components. Thank you for your advice. ...
if you compile a program in D2010 a manifest .res file is automatically generated. is it included in your program by default? or you have to include it yourself?if yes what level of privilage is given to you? my program modifies a registery key would it be able to do so with out any modifications to .res file?if no what modifications i n...
hi all i am porting opera recovery from alredy existed c++ code http://pastebin.com/ViPf0yn6 i struck at this line DES_set_key_unchecked((const_DES_cblock *)&hashSignature1[0],&key_schedule1); where can i found a procedure/function similar to that in delphi thanks in advance ...