• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 18, 2024, 09:04:39 pm

News:

SMF - Just Installed!


GSMDemo Error

Started by hid1, March 02, 2010, 12:12:11 pm

Previous topic - Next topic

hid1

Hello ROMAN,

I tested This  demo without modification under Vista 32 bit
C:\Program Files\nrComm Lib\Demos\GSMDemo

While opening project(gsmdemo.dpr) via Delphi 7 IDE
if PC's BT device enabled then error present


if PC's BT device  disabled, no error while loading project to Delphi 7 IDE.

I think, there is something wrong in component  when desing time
constructor,..??
( if csDesigning in ComponentState ) etc. ??

Ok. pc's BT  disabled and project loaded to IDE.
then BT enabled. Debuging started. but this error occur.



ok. BT disabled again and project compiled.

And BT enabled again and virtual comport  connected.
compiled project works fine.

We have to compile the project disabling BT device?





Roman Novgorodov

Hello

Thank you for interest information.

It seems like something wrong in serial port detection.
Please try to run another demo: SerialPortInfo
Do you see same error?

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

hid1

March 02, 2010, 03:55:26 pm #2 Last Edit: March 03, 2010, 09:44:02 am by hid1
Yes . Same  problem again.  But no serial port, no problem :)

I guess, this is port enumeration problem. Too many virtual ports may be insatalled and uninstalled on my pc. So port number may not com1.. com2 etc.  I see BT port number com8. sometime com14...

I have 2 phone with BT.
1-Nokia BT phone attached  as virtual com port ( problem )
2-But Samsung BT phone not as virtual comport and Modem  ( no problem)

if not Nokia phone BT  enabled, no other serial ports present on this pc. (Only com8 present)
Of course nrgsm etc not used for Samsung.
Samsung phone appears "windows mobile based device support" on device manager.


Roman Novgorodov

Hello

Thank you for your information.
Please try new SerialPort demo from attachment.
We have fixed some critical places in serial port enumeration.

Does new Serial port demo work without errors now?

Roman Novgorodov
DeepSoftware.Com

DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

hid1

When PC BT enabled or disabled this error:




hid1

April 11, 2010, 06:13:40 am #5 Last Edit: April 11, 2010, 06:24:05 am by hid1
Same Problem with latest version (nrComm Lib v9.06 )
But solved easily.  Problem :  nrDevicebox.comm assignment at designtime.
nrDeviceBox1.nrComm := nrComm1;  should complete when run time. Not design time.

C:\Program Files\nrComm Lib\Demos\GSMDemo tested. OK.