Forum

Posts

RECENTLY INDEXED PROGRAMMING SOLUTIONS OF Delphi Programming


VB DLL  

Before I manually go thru and edit each declaration is there an easier way to import the public Funtions of a VB .DLL? Just a sample of the interface (lots, lots more to it than this) Declare Function Get_Uart_Version Lib ... Continue Reading
Views : 58
Thursday 22nd of November 2012

constant exresion violates sub range  

D7 can some one please expain why the code below generates the error constant exresion violates sub range if OFTDataModule.treatmentitemsItemCode.Value in [0201..0206,4901,4911,4921,4931] 0201..0206 is fine but not 4901 even on its own thanks Howard... Continue Reading
Views : 65
Thursday 22nd of November 2012

MSOL in RAD2007  

Hi, This is an audit question. I've been playing around with the auditing feature in RAD2007 and it's a nice way to clean up my code, but there are two issues which I am not entirely sure of. MSOL : ... Continue Reading
Views : 56
Thursday 22nd of November 2012

ICONS EDITOR  

Use this instead: http://www.wilsonc.demon.co.uk/d10resourceeditor.htm It's free, comes with source code, and is nicer than the Borland editor. -- Craig Stuntz [TeamB] ? Vertex Systems Corp. ? Columbus, OH Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz Useful articles about... Continue Reading
Views : 42
Thursday 22nd of November 2012

Need Game Programming Advice  

I am trying to write a game and I like the direction my programming is going but I am having a problem with scope that I just can't figure out, and I am looking for suggestions. My plan is to ... Continue Reading
Views : 44
Thursday 22nd of November 2012

How do CreateString as in .NET  

I'm working in convert MUTIS to be crossplataform and get it running under native Delphi. So, I'm building a portability layer. I need replicate the .NET rutine CreateString in delphi. The problem is that I don't see how do a ... Continue Reading
Views : 41
Thursday 22nd of November 2012

FieldDefs in D2007 for Win32  

Hi, I just upgrade my bds2006 to D2007 Win32 and upgrade it to version 2, when I try to fetch fielddefs on any kind of database connection (dbexpress, fibplus, uib, kbmMW) d2007 ide is block and vista kill them, does ... Continue Reading
Views : 32
Thursday 22nd of November 2012

Problem with "Debug DCUs" in BDS 2006  

I need to debug into the VCL to identify the source of a problem I am having. Normally, I would just need to select "Use Debug DCUs" in the "Project|Options" dialog box of BDS 2006. However, now when I check ... Continue Reading
Views : 35
Thursday 22nd of November 2012

Manage Multi Project Group at the same time  

Hi, The Project Group (.groupproj) and Project (.dproj) concept introduced in Delphi 2006/2007 are great. We can manage, compile, run the projects at the same time without switching from project to project. However, I have a situation here and think ... Continue Reading
Views : 38
Thursday 22nd of November 2012

Turbo APro 4.07  

Hi Everyone... Any reason why I can't make this available under the cpp personality of BDS2006? It seems to work fine with Delphi (pascal) but trying to load it for cpp seems to be not working... any hints? :-) thanks! ... Continue Reading
Views : 53
Thursday 22nd of November 2012

D5-D6-D7 TD-7 BD-2005 BD-2006 BD-2007  

who nows the differences from the DELPHI - Versions Delphi-1 to 7 / Turbo-Delphi-7 / Delphi-2006 / Delphi-2005 / Delphi-2007 ... .... ... ... starting IDE show a Delphi-2006 Logo but i bought Turbo-Delphi-7 i hope if i got a ... Continue Reading
Views : 62
Thursday 22nd of November 2012

How to enumerate shares on local computer  

Hi all I have googled and found that the functions WNetOpenEnum and WNetEnumResource should be able to lits shares on the computer my program is running on. But I just dont get it and feel realy stupid right now... procedure ... Continue Reading
Views : 51
Thursday 22nd of November 2012

deployment  

D7 if this is the wrong news group please advise of correct one as I could not find a deployment news group. do I need to use an installation program to install my applications on a new computer? The application ... Continue Reading
Views : 45
Thursday 22nd of November 2012

Need Help!  

Ok I'm very new to programming but basically I'm trying to store OnButtonClick and input from RichTextEdit to a string. The input from RichTextEdit is code from another programming language(AutoIT). I get the code to the String fine, but then ... Continue Reading
Views : 33
Thursday 22nd of November 2012

Re: Are long strings really slower  

Sam Larson wrote: $PHXGREAT I needs to squeeze more speed out of my program and I thought I could $PHXGREAT get rid of long strings and use short strings where ever possible. I $PHXGREAT heard this was much faster. It ... Continue Reading
Views : 62
Thursday 22nd of November 2012

strange conversion result value code = 2  

Hello, Using value(string, zahl, code) I am used to get 0 for a successful conversion and 1 for a negativ result. But this time, using 'EA' as string (Electron) I got the result code := 2 !!! What does this ... Continue Reading
Views : 132
Thursday 22nd of November 2012

WindowProc - posiible issue  

this text is from Delphi help: TControl.WindowProc Event Points to the window procedure that responds to messages sent to the control. Class TControl Syntax [Delphi] property WindowProc: TWndMethod; Description Use the WindowProc property to temporarily replace or subclass the window ... Continue Reading
Views : 41
Thursday 22nd of November 2012

Find & Replace Question  

I know there was a way to do this a long time ago, but I can't remember. Say I copy a large block into the editor that contains anything, but lets use strings here in this example. 1 Test1 2 ... Continue Reading
Views : 51
Thursday 22nd of November 2012

GExperts exception on closing BDFS2006 (Delphi32)  

I have noted thta quite often when I close the BDS2006 after programming Delphi32 for a while an exception is generated that displays the suggestion to tell Microsoft about the problem. When this is dismissed another dialog pops up about ... Continue Reading
Views : 62
Thursday 22nd of November 2012

WideString record and FillChar  

Hi I have an record containg a lot of widestring elements like below TWideStr = Record F1: WideString; M1: WideString; S2: WideString; TS: Array[0..12] of WideString; KS: Array[0..11] of WideString; TZ: Array[0..2] of WideString; DT: Array[0..2, 0..7] of WideString; ... ... Continue Reading
Views : 56
Thursday 22nd of November 2012

ComboBox.Items  

D2007 procedure TForm1.ComboBox1DropDown(Sender: TObject); begin Combobox1.Items.Clear; Q1.Close; Q1.Open; //select custno,custname from customer while not Q1.Eof do begin Combobox1.Items.Add(Q1.Fields[0].asString+' '+Q1.Fields[1].asString); Q1.Next end; end; Question-1 : After above code i... Continue Reading
Views : 53
Thursday 22nd of November 2012

Sending ethernet broadcasts  

Hello, how do I send ethernet broadcasts on Windows 2000 and up? I don't mean UDP or other socket based broadcasts but real ethernet broadcasts. This is for some hardware detection sheme. Delphi version used will be BDS2006 or Rad ... Continue Reading
Views : 55
Thursday 22nd of November 2012

LDAP Name of Any AD User  

I can use GetUserNameEx with a parameter of NameFullyQualifiedDN to retrieve the full LDAP name of the current user. However I need to find the full LDAP name for *any* user in AD. Can anyone tell me how to do ... Continue Reading
Views : 36
Thursday 22nd of November 2012

RAD studio 2007 IDE won't find source files  

Hello, Recently I've been using Delphi6 and it had quite a lot problems to find unit on CTRL+ENTER or CTRL+CLICK on type. And now 2007 version feature is completely useless. First of all it just won't find anything. Secondly it ... Continue Reading
Views : 83
Thursday 22nd of November 2012

Special resource file creates memory leak in Delphi  

hi as already posted as a abug http://qc.codegear.com/wc/qcmain.aspx?d=57701 a special resource file creates a memory leak every time you compile a simple project. The resource contains several string tables which defines different translations. However to obtain a string in different ... Continue Reading
Views : 56
Thursday 22nd of November 2012

D5 and Vista Manifest File - Windows get smaller  

Hi, we use a manifest file for our application which runs on XP and Vista. On Vista some of our windows get kind of smaller thereby our controls get covered or on some windows, the controls become slightly bigger and ... Continue Reading
Views : 53
Thursday 22nd of November 2012

TwwDBMonthCalendar  

Hi, I'm using the TwwDBMonthCalendar for my leave application, I'm facing a problem which unable to randomly select the day within a month, it only allow to select few days continuously. For example, I need to select from 1/1/2008 until ... Continue Reading
Views : 40
Thursday 22nd of November 2012

Tdatetimepicker  

if i have a date stored in a tdatetimepicker how do i extract the month so ican process further by that month thanks... Continue Reading
Views : 50
Thursday 22nd of November 2012

Application will not run with UAC enabled  

MS has tools for this: http://blogs.msdn.com/cjacks/archive...-****yzer.aspx -- Craig Stuntz [TeamB] ? Vertex Systems Corp. ? Columbus, OH Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz Everything You Need to Know About InterBase Character Sets: ... Continue Reading
Views : 51
Thursday 22nd of November 2012

Indy 10 Delphi 5 fails  

Can't load package C:\Program Files\Indy 10 for Delphi 5\LibD5\dclIndyCore50.bpl. Cannot load package 'IndySystem50.' It contains unit 'FileCtrl,';which is also contained in package 'Vclx50' Fortunatly Indy 9 still works.... Continue Reading
Views : 357
Thursday 22nd of November 2012