|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
| LinkBack | Thread Tools | Display Modes |
03-21-2011, 08:09 | #2 (permalink) |
Banned Join Date: Dec 2006 Location: ALGERIE ORAN Age: 50
Posts: 428
Member: 415170 Status: Offline Thanks Meter: 1,042 | procedure TForm1.Button22Click(Sender: TObject); var ComPorts:TStringList; s : String; i : integer; begin Comports:=TStringList.Create; EnumComPorts(Comports); sCombobox2.Items.Clear; //combobox sCombobox2.Items.AddStrings(comports); //SEARCHING FTDI DEVICES AND BUT IN COMBOBOX GetFTDeviceCount; S := IntToStr(FT_Device_Count); If FT_Device_Count > 0 then //Devices Found Begin DevicePresent:=True; If FT_Device_Count<1 Then EXIT; DeviceIndex := 0; If FT_Device_Count > 0 then //1 Begin DevicePresent:=True; For I := 1 to FT_Device_Count do Begin FT_DEVICEINDEX := (GetFTDeviceSerialNo( DeviceIndex )); // SAVE THE LAST DEVICE INDEX - THIS FTDI DEVICE WILL BE USED GetFTDeviceDescription ( DeviceIndex ); S := FT_Device_String; form1.sComboBox2.Items.Add(S); sCombobox2.ItemIndex:=scombobox2.items.count-1; DeviceIndex := DeviceIndex+ 1 ; End; end; end; end; |
The Following User Says Thank You to ufsx002 For This Useful Post: |
03-21-2011, 16:49 | #5 (permalink) |
No Life Poster Join Date: Mar 2006 Location: .: India :. Heaven on Earth
Posts: 2,496
Member: 238812 Status: Offline Sonork: 100.1602669 Thanks Meter: 1,443 | Sorry forgot to upload attachment! Br, Shadab Ahmad |
The Following User Says Thank You to [Shadab_M] For This Useful Post: |
03-22-2011, 07:47 | #6 (permalink) |
No Life Poster Join Date: Mar 2006 Location: .: India :. Heaven on Earth
Posts: 2,496
Member: 238812 Status: Offline Sonork: 100.1602669 Thanks Meter: 1,443 | @mobayz Please post if your problem solved or you uselessly gave me a thanks! I am also willing to learn Delphi bcoz more source codes for flashing/unlocking tools are available in this language. Br, Shadab Ahmad |
03-22-2011, 18:25 | #7 (permalink) |
Freak Poster Join Date: Mar 2009
Posts: 234
Member: 984268 Status: Offline Thanks Meter: 150 | i know this problem... when the enumcomport function is under the execute function it wont work... like this: enumcomports(tx.txt); function enumcomport(a:string); begin end; it must be this: function enumcomport(a:string); begin end; enumcomports(tx.txt); |
Bookmarks |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
news headlines to gsm phone | mos | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 7 | 05-22-2016 11:42 |
How can I do a Welcome note for my 6110 a dosn't have any one ? | Viper | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 8 | 06-27-2015 11:57 |
How to add a language in 51xx/61xx | tati | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 8 | 05-21-2013 19:20 |
How to upload a new firmware... | Brand | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 8 | 06-08-2012 18:29 |
Copy from one 6110 to another | Leif Nielsen | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 1 | 06-10-1999 22:36 |
|