Latest Tracked Programming Questions Of Delphi Programming

Delphi Programming : DLL - stdcall   (Views   2006)

Posted On: Tuesday 27th of November 2012 12:57:50 AM
What will be the difference if I have no stdcall at the end of the declaration...Show More

Delphi Programming : debugger gets out of step with source code   (Views   234)

Posted On: Tuesday 27th of November 2012 12:57:48 AM
Hi gang! I'm a Delphi newbie, and I've just encountered a frustrating phenomenon that I remember being an occasional issue with Microsoft Fortran PowerStation 1.0 (no dinosaur cracks, please). While stepping through code after a breakpoint, I noticed that the ...Show More

Delphi Programming : Re: Delphi 2007 IDE very slow   (Views   220)

Posted On: Tuesday 27th of November 2012 12:57:46 AM
John, Me too. My Delphi 2007 Enterprise (Update 2) just "hangs" most of the time. I do have a fairly large project. I have disabled numerous IDE settings for Delphi. The IDE has become almost unusable for me and I'm ...Show More

Delphi Programming : BDS2600 Delphi falsely claiming "Undeclared identifier"    (Views   243)

Posted On: Tuesday 27th of November 2012 12:57:45 AM
What can suddenly cause BDS2006 Delphi to report syntax error: "E2003 Undeclared identifier" for an identifier that is declared as a constant (with a unique name) in a separate unit I suppose the problem is in the unit where the ...Show More

Delphi Programming : Vista apps from D7   (Views   237)

Posted On: Tuesday 27th of November 2012 12:57:43 AM
Are there any problems writing Vista-compatible apps with D7 Will the applications adopt the Vista look, minimise to the task bar properly, and so on Show More

Delphi Programming : Debugging DLL's from within Codegear 2007 RAD Studio   (Views   184)

Posted On: Tuesday 27th of November 2012 12:57:42 AM
My application is written in Delphi, apart from a few DLL's that are written in assembler and C++. I recomplied the DLL's under the RAD Studio C++ compiler, copied theses DLL's into my main program directory along with the corrosponding ...Show More

Delphi Programming : Dispose not disposing.   (Views   197)

Posted On: Tuesday 27th of November 2012 12:57:39 AM
Consider the following code that leaks memory: TStringRecord = record Value: string; end; PStringRecord = ^TStringRecord; procedure TForm1.Button1Click(Sender: TObject); var StringRecord: PStringRecord; p: Pointer; //untyped pointer begin //ocate record that contains a string field...Show More

Delphi Programming : Re: Capture poker software data   (Views   188)

Posted On: Tuesday 27th of November 2012 12:57:38 AM
On Tue, 27 Nov 2007 13:47:23 +0100, "Atle Smelvr" wrote: >There is software for windows to snoop packets from processes. But the only >data you would get through this connection is the data you already can see >in your ...Show More

Delphi Programming : find items that appears twitce in a Stringlist   (Views   173)

Posted On: Tuesday 27th of November 2012 12:57:36 AM
Hi I have a bug. I can catch the bug when an any item appears more than one in a stringlist. How do you know if an item appears more than once in a stringlist. Or do I need to ...Show More

Delphi Programming : Return value of the function might be undefined    (Views   232)

Posted On: Tuesday 27th of November 2012 12:57:35 AM
I have a somewhat lengthy function (see below) which when compiled with BDS2006 always gives me a warning saying that its return value might be undefined. But it says so on a line where Result itself is assigned to ...Show More

Delphi Programming : Refactor-Declare Variable...   (Views   258)

Posted On: Tuesday 27th of November 2012 12:57:33 AM
, I am working through some of the features in D2007. I like the Ctrl+Shift+V. My code formatting uses lower case for reserved words. How can I edit the type names in the combo so the changes are saved Ideas ...Show More

Delphi Programming : Using Visual Studio DLL in Delphi 7   (Views   210)

Posted On: Tuesday 27th of November 2012 12:57:32 AM
Bo Berglund wrote: > I need to use a DLL from another company to interface to their > equipment from my Delphi 7 application. > The software people over there have handed me the DLL plus a few H > ...Show More

Delphi Programming : How can I tell which update level is installed   (Views   222)

Posted On: Tuesday 27th of November 2012 12:57:30 AM
This may sound silly, but how do I tell if Update 3 is installed in RAD Studio 2007 When I click on Help About I get: CodeGear(tm) Delphi (R) 2007 for Win32(R)R2 Version 11.0.2804.9245 Nothing on the screen says Update ...Show More

Delphi Programming : Re: D2007_R2_Pro_Update3 700 mb usage + 800 virtual memory   (Views   132)

Posted On: Tuesday 27th of November 2012 12:57:29 AM
No answer yet...Show More

Delphi Programming : Minimize CodeGear Delphi 2007   (Views   218)

Posted On: Tuesday 27th of November 2012 12:57:27 AM
I have problem with Delphi 2007 for Win32, when I click on minimize button to minimize IDE all windows (forms, data modules) stay opened and IDE is minimized. I try to reinstall but nothin has changed. Hoe to solve ...Show More

Delphi Programming : Have ProcessID, can I get the application name   (Views   200)

Posted On: Tuesday 27th of November 2012 12:57:26 AM
Is there a way I can find the application name for a process for which I only have the ProcessID regards Sven...Show More

Delphi Programming : Attempt to release mutex not owned by caller   (Views   183)

Posted On: Tuesday 27th of November 2012 12:57:24 AM
I'm getting this error over and over and I have to restart the IDE and I lose most of my work in the process. Has anyone come across this error or know a solution to it Show More

Delphi Programming : Data Corruption when passing pointers to TThreadFunc   (Views   174)

Posted On: Tuesday 27th of November 2012 12:57:23 AM
Hi all, posted a few hours ago about using BeginThread / EndThread. Seem to be getting on ok, except that the data that I'm passing to the TThreadFunc seems to be getting corrupted (please excuse any blatant mistakes, only been ...Show More

Delphi Programming : Problem with in Turbo Delphi   (Views   258)

Posted On: Tuesday 27th of November 2012 12:57:21 AM
I've just started using Turbo Delphi after 25 years with Turbo and Delphi products. I'm not sure if this is the appropriate forum, but I couldn't find another TD-specific support mechanism anywhere. I'm reading a large data file, using ...Show More

Delphi Programming : How to launch just the Delphi personality   (Views   207)

Posted On: Tuesday 27th of November 2012 12:57:19 AM
What I want to do is launch the delphi only personality AND load the project file that I clicked on. I can use the installed shortcuts to start the Delphi personality only but it doesn't load a project. The installer ...Show More

Delphi Programming : Vista and the registry, does this look ok to you   (Views   178)

Posted On: Tuesday 27th of November 2012 12:57:17 AM
I'm after any feedback on how I'm doing things (I'm just a home programmer, so please be forgiving ;-) On vista I found that I'd broken some of the rules about accessing the registry and my programs either died ...Show More

Delphi Programming : Differences between WM_USER and WM_APP   (Views   252)

Posted On: Tuesday 27th of November 2012 12:57:16 AM
After reading the thread named "Sync thread with main thread" I'm wondering what is the main problem with WM_USER and WM_APP. I don't see why, if we just make sure that (WM_USER + XX) is not used in another pascal ...Show More

Delphi Programming : Registry check on Linux   (Views   174)

Posted On: Tuesday 27th of November 2012 12:57:14 AM
My program has the ability to export to Excel using OLE automation, the problem is that we also need the program to work in Linux. Obviously the Excel automation won't work since there is no Microsoft Excel for Linux, but ...Show More

Delphi Programming : Why would this code fail on Vista (Open file for read using SYstem.Resetraises error 104 on vista)   (Views   250)

Posted On: Tuesday 27th of November 2012 12:57:13 AM
Warren Postma wrote: > What on EARTH is happening when you call Reset() that causes it to > raise a permission exception on Vista Wild guess: probably a sharing lock. Use SysInternals FileMon to be sure. -- Craig Stuntz [TeamB] ...Show More

Delphi Programming : PChar - WHY   (Views   158)

Posted On: Tuesday 27th of November 2012 12:57:11 AM
Richard wrote: > I'm sending and receiving data from a VB .DLL. > VB has the string parameters as ByRef s: String; > > I converted them to: s: PChar; > > Why does this work..... > > Var > ...Show More

Delphi Programming : Use Ctrl+Del as ShortCut   (Views   95)

Posted On: Tuesday 27th of November 2012 12:57:09 AM
, I want to use VTRL + Del as TAction shoretcut with D2007, but the shortcut editor seems to ignore the Del key..any idea Show More

Delphi Programming : Any Automatic Parenthesis completion   (Views   184)

Posted On: Tuesday 27th of November 2012 12:57:08 AM
This year I'm really trying to get myself to start using Delphi 2007 instead of Delphi 7. And you know, this is a really painful transistion. CodeGear has asked people what is stopping them from upgrading. And while I agree ...Show More

Delphi Programming : Who's Idea was it   (Views   161)

Posted On: Tuesday 27th of November 2012 12:57:06 AM
Who's idea was it to change a forms property to wsMinimized when the Form was minimized while working in the IDE Without embedded designer, pressing F12 does indeed swap between code and Form, but it still allows the form to ...Show More

Delphi Programming : Solution to a multithread problem   (Views   179)

Posted On: Tuesday 27th of November 2012 12:57:04 AM
! I have been using a 3rd party library (which I don't have the code for) and I have been experimenting some lockouts with my application. The dll accepts an object on a callback function to return some file names ...Show More

Delphi Programming : Inproper indentation in Live Templates   (Views   164)

Posted On: Tuesday 27th of November 2012 12:57:03 AM
Me again...still trying to get Delphi 2007 to work the way I need it to. One of my CodeRush templates was "bg". It causes a begin/end block to be inserted. Now, Delphi 2007 has two features to already do this. ...Show More