Recent

Author Topic: [Solved] Can't edit of MSSQL Using 7.2.4-stable  (Read 2023 times)

nouzi

  • Sr. Member
  • ****
  • Posts: 296
[Solved] Can't edit of MSSQL Using 7.2.4-stable
« on: October 21, 2018, 11:08:21 am »
 Can't edit  of  MSSQL Using 7.2.4-stable   :'(
--------------------------------------------------
this my confige compionet  TZConnection and TZTable
Code: Pascal  [Select][+][-]
  1.  object ZConnection1: TZConnection
  2.  ControlsCodePage = cCP_UTF8
  3.  ClientCodepage = 'ISO-8859-1'
  4.  Catalog = 'master'
  5.   Properties.Strings = (
  6.      'codepage=ISO-8859-1'
  7.      'AutoEncodeStrings=ON'
  8.       'controls_cp=CP_UTF8'
  9.     )
  10.     Connected = True
  11.     SQLHourGlass = True
  12.     HostName = '192.168.1.70'
  13.     Port = 0
  14.     Database = 'ipdes'
  15.     User = 'sa'
  16.     Password = '04022008'
  17.     Protocol = 'FreeTDS_MsSQL-7.0'
  18.     LibraryLocation = 'D:\ipdesser\sybdb.dll'
  19.     left = 48
  20.     top = 39
  21.   end    
  22.  
                       
Code: Pascal  [Select][+][-]
  1. object ZTable1: TZTable
  2.     Connection = ZConnection1
  3.     Active = True
  4.     TableName = 'ipdes.dbo.ipdes'
  5.     left = 160
  6.     top = 38  
  7.  
  8.  
  my mssql 2008
thank advance
« Last Edit: October 22, 2018, 01:10:40 pm by nouzi »
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

HeavyUser

  • Sr. Member
  • ****
  • Posts: 397
Re: Can't edit of MSSQL Using 7.2.4-stable
« Reply #1 on: October 21, 2018, 11:14:47 am »
Can't edit  of  MSSQL Using 7.2.4-stable
--------------------------------------------------
this my confige compionet  TZConnection and TZTable
Code: Pascal  [Select][+][-]
  1.  object ZConnection1: TZConnection
  2.  ControlsCodePage = cCP_UTF8
  3.  ClientCodepage = 'ISO-8859-1'
  4.  Catalog = 'master'
  5.   Properties.Strings = (
  6.      'codepage=ISO-8859-1'
  7.      'AutoEncodeStrings=ON'
  8.       'controls_cp=CP_UTF8'
  9.     )
  10.     Connected = True
  11.     SQLHourGlass = True
  12.     HostName = '192.168.1.70'
  13.     Port = 0
  14.     Database = 'ipdes'
  15.     User = 'sa'
  16.     Password = '04022008'
  17.     Protocol = 'FreeTDS_MsSQL-7.0'
  18.     LibraryLocation = 'D:\ipdesser\sybdb.dll'
  19.     left = 48
  20.     top = 39
  21.   end    
  22.  
                       
Code: Pascal  [Select][+][-]
  1. object ZTable1: TZTable
  2.     Connection = ZConnection1
  3.     Active = True
  4.     TableName = 'ipdes.dbo.ipdes'
  5.     left = 160
  6.     top = 38  
  7.  
  8.  
  my mssql 2008
thank advance
post a complete demo that shows the problem. external sigsegv usually means you access uninitialized memory.

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: Can't edit of MSSQL Using 7.2.4-stable
« Reply #2 on: October 21, 2018, 11:44:25 am »
thenk HeavyUser
---------------------------------------------------
MSSQL = 2018 on OS win7 32bit
---------------------------------------------------
my application on OS win64 bit
I test
 Protocol = 'FreeTDS_MsSQL-7.0' and Protocol = 'msql' with :
sybdb.dll 32 and 64
ntwdblib.dll 32 and 64
dblib_2008 32 and 64
after chinge  Protocol = 'FreeTDS_MsSQL-7.0' to  Protocol = 'msql' show mes 'access violation'

My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

 

TinyPortal © 2005-2018