RE: [Harbour] [r|s]ddoci

2010-05-14 Thread Horodyski Marek (PZUZ)
 -Original Message-

 From: Viktor Szakáts [mailto:harbour...@syenar.hu]

 Sent: Thursday, May 13, 2010 5:28 PM

 To: Harbour Project Main Developer List.

 Subject: Re: [Harbour] [r|s]ddoci

 

 

[...]

 

 If we find a reproducible way for this error,

 there are much better chances to find it and

 getting it fixed.

 

 Or, it's possible it's some sort of build problem,

 f.e. unmatched OCILIB header and .dll version or

 the like.

 

 Viktor

 

This GPF is not related to oci.

It occurs too in version from 11.2009, when I open table via ODBC, but symptom 
is difer :

 

 

 

Even as app is MinGW, error is in Visual C++ L

There is when app is compiled with gc3 and too with gc2 switch.

 

 

Regards,

Marek Horodyski

 

image001.png___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] [r|s]ddoci

2010-05-14 Thread Viktor Szakáts
Hi,

  If we find a reproducible way for this error,
  there are much better chances to find it and
  getting it fixed.
 
  Or, it's possible it's some sort of build problem,
  f.e. unmatched OCILIB header and .dll version or
  the like.
 
  Viktor
  
 This GPF is not related to oci.
 It occurs too in version from 11.2009, when I open table via ODBC, but 
 symptom is difer :
  
 image001.png
  
 Even as app is MinGW, error is in Visual C++ L
 There is when app is compiled with gc3 and too with gc2 switch.

It's memory corruption reported by MS C runtime .dll.
mingw uses MS C runtime .dll, so this is normal.

Probably it would be good to create a fresh build 
of your Harbour, libs and apps. Something seems wrong 
in your current Harbour environment.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-13 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Viktor Szakáts [mailto:harbour...@syenar.hu]
 Sent: Wednesday, May 12, 2010 5:59 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 

[...]

  #{!HB_WITH_OCILIB_UNICODE!HB_WITH_OCILIB_MIXED}libs=ociliba
 
 
  When I add in prg :
  REQUEST SDDOCI
 
  On screen see I (tip) :
 
 That's expected, since you commented the default OCI library above.

Indeed. That helped. Residue from some other tests. I test further.

Thanks,
Marek Horodyski
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-13 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Thursday, May 13, 2010 2:02 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 
  -Original Message-
  From: Viktor Szakáts [mailto:harbour...@syenar.hu]
  Sent: Wednesday, May 12, 2010 5:59 PM
  To: Harbour Project Main Developer List.
  Subject: Re: [Harbour] [r|s]ddoci
 
   c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt
  homar.prg braki.prg -lhomar -lhbwin -trace -lhbwin
 
 [...]
 
 
  That's expected, since you commented the default OCI library above.
 
 Hi,
 
 I work in an environment of many databases, and do not know how to
 choose a base in OCI.
 
 How can I specify database In oci.connect :
 

Osolete.

Worked sample :

RDDINFO( 1001, { OCILIB, WPIS_TNS,...

Now I do not know how to bind a query. Useful would be some examples.

Regards,
Marek Horodyski
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-13 Thread Horodyski Marek (PZUZ)


 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Thursday, May 13, 2010 2:02 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 
  -Original Message-
  From: Viktor Szakáts [mailto:harbour...@syenar.hu]
  Sent: Wednesday, May 12, 2010 5:59 PM
  To: Harbour Project Main Developer List.
  Subject: Re: [Harbour] [r|s]ddoci
 
   c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt
  homar.prg braki.prg -lhomar -lhbwin -trace -lhbwin
 
 [...]

Now have I another problem.
Worked sample is :

? Use:, DBUSEAREA( .T., 'SQLMIX', select sysdate from dual, emp )

But when I try :
? Use:, DBUSEAREA( .T., 'SQLMIX', select * from posrednik, POSREDNIK )

Where struct of posrednik is:
(
  KIP_ID  NUMBER(10),
  PERS_ID NUMBER(10),
  NEPUVARCHAR2(8 BYTE),
  NIK VARCHAR2(6 BYTE),
  PESEL   VARCHAR2(11 BYTE) NOT NULL,
  NAZWA   VARCHAR2(100 BYTE),
  REGON   VARCHAR2(14 BYTE),
  NIP VARCHAR2(13 BYTE),
  DATA_UR DATE,
  IMIEVARCHAR2(11 BYTE),
  NAZWISKOVARCHAR2(30 BYTE),
  KOR_MIASTO  VARCHAR2(30 BYTE),
  KOR_ULICA   VARCHAR2(40 BYTE),
  KOR_NR_DOM  VARCHAR2(30 BYTE),
  KOR_NR_LOK  VARCHAR2(30 BYTE),
  PROCENT NUMBER(6,2)
)


Have I GPF.
In hb_out.log is :
Application Internal Error - c:\NOWEPROD\EXE\homar_oci.exe
Terminated at: 2010.05.13 14:44:48
Nienaprawialny błąd nr 6005: Exception error: 

Exception Code:C005
Exception Address:00470739
EAX:7B06A060  EBX:7B06A060  ECX:0175A9E8  EDX:01753F90
ESI:00FF0050  EDI:  EBP:0022F498
CS:EIP:001B:00470739  SS:ESP:0023:0022F480
DS:0023  ES:0023  FS:003B  GS:
Flags:00210246
CS:EIP: 8B 48 0C 85 C9 0F 84 1C 01 00 00 8D B6 00 00 00
SS:ESP: 0022F498 1000CE0A 014D08E8  00FF0050  0022F4B8 
0047A71F 7B06A060  77C1C2E3 00FF0050   0022F4D8 0047A76B

C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...
00470739 0022F498   0022F4B8 0047A71F 7B06A060  77C1C2E3 00FF0050 
 
0047A71F 0022F4B8   0022F4D8 0047A76B 00FF0050 0022F4D0 01753E54 0046B134 
00FF0050 
0047A76B 0022F4D8   0022F4F8 0047A816 00FF0050  01006560 0046B134 
00FF0050 01753E54
0047A816 0022F4F8   0022F518 0047A8A3 00FF0050   0059728E 
0175A9F4 01753E54


Modules:
0x0040 0x00491000 c:\NOWEPROD\EXE\homar_oci.exe
0x7C90 0x000B1000 C:\WINDOWS\system32\ntdll.dll
0x7C80 0x000FD000 C:\WINDOWS\system32\kernel32.dll
0x77DC 0x000AC000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x5D52 0x0009A000 C:\WINDOWS\system32\COMCTL32.DLL
0x77F1 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E36 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77C0 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x7460 0x0003D000 C:\WINDOWS\system32\ODBC32.dll
0x7638 0x00049000 C:\WINDOWS\system32\comdlg32.dll
0x7C9C 0x0081E000 C:\WINDOWS\system32\SHELL32.dll
0x77F6 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x774D 0x0013D000 C:\WINDOWS\system32\OLE32.dll
0x7711 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x72F9 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x7636 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x773C 0x00103000 
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x1F84 0x00018000 C:\WINDOWS\system32\odbcint.dll
0x7635 0x5000 C:\WINDOWS\system32\msimg32.dll
0x1000 0x00057000 C:\oracle\product\10.2.0\client_3\bin\oci.dll
0x7C36 0x00056000 C:\WINDOWS\system32\MSVCR71.dll
0x61C2 0x00252000 C:\oracle\product\10.2.0\client_3\bin\OraClient10.Dll
0x6087 0x000E3000 C:\oracle\product\10.2.0\client_3\bin\oracore10.dll
0x60A8 0x000C4000 C:\oracle\product\10.2.0\client_3\bin\oranls10.dll
0x6369 0x00018000 C:\oracle\product\10.2.0\client_3\bin\oraunls10.dll
0x60EB 0x7000 C:\oracle\product\10.2.0\client_3\bin\orauts.dll
0x71A5 0x00017000 C:\WINDOWS\system32\WS2_32.dll
0x71A4 0x8000 C:\WINDOWS\system32\WS2HELP.dll
0x76B2 0x0002E000 C:\WINDOWS\system32\WINMM.dll
0x636B 0x6000 C:\oracle\product\10.2.0\client_3\bin\oravsn10.dll
0x60FA 0x000F2000 C:\oracle\product\10.2.0\client_3\bin\oracommon10.dll
0x6030 0x00557000 C:\oracle\product\10.2.0\client_3\bin\orageneric10.dll
0x6343 0x00027000 C:\oracle\product\10.2.0\client_3\bin\orasnls10.dll
0x0105 0x0016 C:\oracle\product\10.2.0\client_3\bin\oraxml10.dll
0x011B 0x00011000 C:\WINDOWS\system32\MSVCIRT.dll
0x6096 0x0010D000 C:\oracle\product\10.2.0\client_3\bin\oran10.dll
0x6274 0x0003D000 C:\oracle\product\10.2.0\client_3\bin\oranl10.dll
0x6279 0x00017000 C:\oracle\product\10.2.0\client_3\bin\oranldap10.dll
0x627F 0x00109000 C:\oracle\product\10.2.0\client_3\bin\orannzsbb10.dll
0x6253

RE: [Harbour] [r|s]ddoci

2010-05-13 Thread Horodyski Marek (PZUZ)


 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Thursday, May 13, 2010 2:02 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 
  -Original Message-
  From: Viktor Szakáts [mailto:harbour...@syenar.hu]
  Sent: Wednesday, May 12, 2010 5:59 PM
  To: Harbour Project Main Developer List.
  Subject: Re: [Harbour] [r|s]ddoci
 
   c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt
  homar.prg braki.prg -lhomar -lhbwin -trace -lhbwin
 
 [...]

At this moment all my work, and quickly. But after dbCloseAll() is GPF :

Application Internal Error - c:\NOWEPROD\EXE\homar_oci.exe
Terminated at: 2010.05.13 16:14:59
Nienaprawialny błąd nr 6005: Exception error: 

Exception Code:C005
Exception Address:00470739
EAX:7AABD650  EBX:7AABD650  ECX:01767D20  EDX:016862C0
ESI:00FF0170  EDI:  EBP:0022F558
CS:EIP:001B:00470739  SS:ESP:0023:0022F540
DS:0023  ES:0023  FS:003B  GS:
Flags:00210246
CS:EIP: 8B 48 0C 85 C9 0F 84 1C 01 00 00 8D B6 00 00 00
SS:ESP: 0022F558 1000CE0A 014D08E8  00FF0170  0022F578 
0047A71F 7AABD650  77C1C2E3 00FF0170   0022F598 0047A76B

C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...
00470739 0022F558   0022F578 0047A71F 7AABD650  77C1C2E3 00FF0170 
 
0047A71F 0022F578   0022F598 0047A76B 00FF0170 0022F590 01765104 0046B134 
00FF0170 
0047A76B 0022F598   0022F5B8 0047A816 00FF0170  0007 0046B134 
00FF0170 01765104
0047A816 0022F5B8   0022F5D8 0047A8A3 00FF0170  01687644 006D8214 
0176524C 01765104
0047A8A3 0022F5D8   01765104 00466C0C 00FF0170  7E37D67A 01765104 
01765104  01765104 0046BE28


Modules:
0x0040 0x00491000 c:\NOWEPROD\EXE\homar_oci.exe
0x7C90 0x000B1000 C:\WINDOWS\system32\ntdll.dll
0x7C80 0x000FD000 C:\WINDOWS\system32\kernel32.dll
0x77DC 0x000AC000 C:\WINDOWS\system32\ADVAPI32.DLL
0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll
0x5D52 0x0009A000 C:\WINDOWS\system32\COMCTL32.DLL
0x77F1 0x00049000 C:\WINDOWS\system32\GDI32.dll
0x7E36 0x00091000 C:\WINDOWS\system32\USER32.dll
0x77C0 0x00058000 C:\WINDOWS\system32\msvcrt.dll
0x7460 0x0003D000 C:\WINDOWS\system32\ODBC32.dll
0x7638 0x00049000 C:\WINDOWS\system32\comdlg32.dll
0x7C9C 0x0081E000 C:\WINDOWS\system32\SHELL32.dll
0x77F6 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
0x774D 0x0013D000 C:\WINDOWS\system32\OLE32.dll
0x7711 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
0x72F9 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x7636 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
0x773C 0x00103000 
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x1F84 0x00018000 C:\WINDOWS\system32\odbcint.dll
0x7635 0x5000 C:\WINDOWS\system32\msimg32.dll
0x1000 0x00057000 C:\oracle\product\10.2.0\client_3\bin\oci.dll
0x7C36 0x00056000 C:\WINDOWS\system32\MSVCR71.dll
0x61C2 0x00252000 C:\oracle\product\10.2.0\client_3\bin\OraClient10.Dll
0x6087 0x000E3000 C:\oracle\product\10.2.0\client_3\bin\oracore10.dll
0x60A8 0x000C4000 C:\oracle\product\10.2.0\client_3\bin\oranls10.dll
0x6369 0x00018000 C:\oracle\product\10.2.0\client_3\bin\oraunls10.dll
0x60EB 0x7000 C:\oracle\product\10.2.0\client_3\bin\orauts.dll
0x71A5 0x00017000 C:\WINDOWS\system32\WS2_32.dll
0x71A4 0x8000 C:\WINDOWS\system32\WS2HELP.dll
0x76B2 0x0002E000 C:\WINDOWS\system32\WINMM.dll
0x636B 0x6000 C:\oracle\product\10.2.0\client_3\bin\oravsn10.dll
0x60FA 0x000F2000 C:\oracle\product\10.2.0\client_3\bin\oracommon10.dll
0x6030 0x00557000 C:\oracle\product\10.2.0\client_3\bin\orageneric10.dll
0x6343 0x00027000 C:\oracle\product\10.2.0\client_3\bin\orasnls10.dll
0x0105 0x0016 C:\oracle\product\10.2.0\client_3\bin\oraxml10.dll
0x011B 0x00011000 C:\WINDOWS\system32\MSVCIRT.dll
0x6096 0x0010D000 C:\oracle\product\10.2.0\client_3\bin\oran10.dll
0x6274 0x0003D000 C:\oracle\product\10.2.0\client_3\bin\oranl10.dll
0x6279 0x00017000 C:\oracle\product\10.2.0\client_3\bin\oranldap10.dll
0x627F 0x00109000 C:\oracle\product\10.2.0\client_3\bin\orannzsbb10.dll
0x6253 0x00053000 C:\oracle\product\10.2.0\client_3\bin\oraldapclnt10.dll
0x6267 0x0001B000 C:\oracle\product\10.2.0\client_3\bin\orancrypt10.dll
0x71A7 0xA000 C:\WINDOWS\system32\WSOCK32.dll
0x6292 0x0004C000 C:\oracle\product\10.2.0\client_3\bin\oranro10.dll
0x626B 0x7000 C:\oracle\product\10.2.0\client_3\bin\oranhost10.dll
0x6266 0x6000 C:\oracle\product\10.2.0\client_3\bin\orancds10.dll
0x629C 0x8000 C:\oracle\product\10.2.0\client_3\bin\orantns10.dll
0x60B5 0x00358000 C:\oracle\product\10.2.0\client_3\bin\orapls10.dll
0x011D 0x9000 C:\oracle\product

Re: [Harbour] [r|s]ddoci

2010-05-13 Thread Viktor Szakáts
Hi Marek,

If you create an SQL script + .prg test code, which I 
can run here locally on the default ORCL database, 
I can take a look at it.

Viktor

On 2010 May 13, at 16:20, Horodyski Marek (PZUZ) wrote:

 
 
 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Thursday, May 13, 2010 2:02 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 
 -Original Message-
 From: Viktor Szakáts [mailto:harbour...@syenar.hu]
 Sent: Wednesday, May 12, 2010 5:59 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt
 homar.prg braki.prg -lhomar -lhbwin -trace -lhbwin
 
 [...]
 
 At this moment all my work, and quickly. But after dbCloseAll() is GPF :
 
 Application Internal Error - c:\NOWEPROD\EXE\homar_oci.exe
 Terminated at: 2010.05.13 16:14:59
 Nienaprawialny błąd nr 6005: Exception error: 
 
Exception Code:C005
Exception Address:00470739
EAX:7AABD650  EBX:7AABD650  ECX:01767D20  EDX:016862C0
ESI:00FF0170  EDI:  EBP:0022F558
CS:EIP:001B:00470739  SS:ESP:0023:0022F540
DS:0023  ES:0023  FS:003B  GS:
Flags:00210246
CS:EIP: 8B 48 0C 85 C9 0F 84 1C 01 00 00 8D B6 00 00 00
SS:ESP: 0022F558 1000CE0A 014D08E8  00FF0170  0022F578 
 0047A71F 7AABD650  77C1C2E3 00FF0170   0022F598 
 0047A76B
 
C stack:
EIP: EBP:   Frame: OldEBP, RetAddr, Params...
00470739 0022F558   0022F578 0047A71F 7AABD650  77C1C2E3 00FF0170 
  
0047A71F 0022F578   0022F598 0047A76B 00FF0170 0022F590 01765104 0046B134 
 00FF0170 
0047A76B 0022F598   0022F5B8 0047A816 00FF0170  0007 0046B134 
 00FF0170 01765104
0047A816 0022F5B8   0022F5D8 0047A8A3 00FF0170  01687644 006D8214 
 0176524C 01765104
0047A8A3 0022F5D8   01765104 00466C0C 00FF0170  7E37D67A 01765104 
 01765104  01765104 0046BE28
 
 
 Modules:
 0x0040 0x00491000 c:\NOWEPROD\EXE\homar_oci.exe
 0x7C90 0x000B1000 C:\WINDOWS\system32\ntdll.dll
 0x7C80 0x000FD000 C:\WINDOWS\system32\kernel32.dll
 0x77DC 0x000AC000 C:\WINDOWS\system32\ADVAPI32.DLL
 0x77E7 0x00092000 C:\WINDOWS\system32\RPCRT4.dll
 0x77FE 0x00011000 C:\WINDOWS\system32\Secur32.dll
 0x5D52 0x0009A000 C:\WINDOWS\system32\COMCTL32.DLL
 0x77F1 0x00049000 C:\WINDOWS\system32\GDI32.dll
 0x7E36 0x00091000 C:\WINDOWS\system32\USER32.dll
 0x77C0 0x00058000 C:\WINDOWS\system32\msvcrt.dll
 0x7460 0x0003D000 C:\WINDOWS\system32\ODBC32.dll
 0x7638 0x00049000 C:\WINDOWS\system32\comdlg32.dll
 0x7C9C 0x0081E000 C:\WINDOWS\system32\SHELL32.dll
 0x77F6 0x00076000 C:\WINDOWS\system32\SHLWAPI.dll
 0x774D 0x0013D000 C:\WINDOWS\system32\OLE32.dll
 0x7711 0x0008B000 C:\WINDOWS\system32\OLEAUT32.DLL
 0x72F9 0x00026000 C:\WINDOWS\system32\WINSPOOL.DRV
 0x7636 0x0001D000 C:\WINDOWS\system32\IMM32.DLL
 0x773C 0x00103000 
 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
 0x1F84 0x00018000 C:\WINDOWS\system32\odbcint.dll
 0x7635 0x5000 C:\WINDOWS\system32\msimg32.dll
 0x1000 0x00057000 C:\oracle\product\10.2.0\client_3\bin\oci.dll
 0x7C36 0x00056000 C:\WINDOWS\system32\MSVCR71.dll
 0x61C2 0x00252000 C:\oracle\product\10.2.0\client_3\bin\OraClient10.Dll
 0x6087 0x000E3000 C:\oracle\product\10.2.0\client_3\bin\oracore10.dll
 0x60A8 0x000C4000 C:\oracle\product\10.2.0\client_3\bin\oranls10.dll
 0x6369 0x00018000 C:\oracle\product\10.2.0\client_3\bin\oraunls10.dll
 0x60EB 0x7000 C:\oracle\product\10.2.0\client_3\bin\orauts.dll
 0x71A5 0x00017000 C:\WINDOWS\system32\WS2_32.dll
 0x71A4 0x8000 C:\WINDOWS\system32\WS2HELP.dll
 0x76B2 0x0002E000 C:\WINDOWS\system32\WINMM.dll
 0x636B 0x6000 C:\oracle\product\10.2.0\client_3\bin\oravsn10.dll
 0x60FA 0x000F2000 C:\oracle\product\10.2.0\client_3\bin\oracommon10.dll
 0x6030 0x00557000 C:\oracle\product\10.2.0\client_3\bin\orageneric10.dll
 0x6343 0x00027000 C:\oracle\product\10.2.0\client_3\bin\orasnls10.dll
 0x0105 0x0016 C:\oracle\product\10.2.0\client_3\bin\oraxml10.dll
 0x011B 0x00011000 C:\WINDOWS\system32\MSVCIRT.dll
 0x6096 0x0010D000 C:\oracle\product\10.2.0\client_3\bin\oran10.dll
 0x6274 0x0003D000 C:\oracle\product\10.2.0\client_3\bin\oranl10.dll
 0x6279 0x00017000 C:\oracle\product\10.2.0\client_3\bin\oranldap10.dll
 0x627F 0x00109000 C:\oracle\product\10.2.0\client_3\bin\orannzsbb10.dll
 0x6253 0x00053000 C:\oracle\product\10.2.0\client_3\bin\oraldapclnt10.dll
 0x6267 0x0001B000 C:\oracle\product\10.2.0\client_3\bin\orancrypt10.dll
 0x71A7 0xA000 C:\WINDOWS\system32\WSOCK32.dll
 0x6292 0x0004C000 C:\oracle\product\10.2.0\client_3\bin\oranro10.dll
 0x626B 0x7000 C:\oracle\product\10.2.0\client_3\bin\oranhost10

RE: [Harbour] [r|s]ddoci

2010-05-13 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Thursday, May 13, 2010 4:20 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 
[...]


 from www :
Hi Marek,

If you create an SQL script + .prg test code, which I 
can run here locally on the default ORCL database, 
I can take a look at it.

Viktor



This is complicated because there is no error, as in the code is Browse ().
When I change it to Board() [this is similar to the browse (), my class, 
based on TbrowseNew ()], then is GPF in dbCloseAll().
BUT I use it a very long time, and in other cases (with another [r|s]dd ) did 
not have such situations.

Regards,
Marek Horodyski

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] [r|s]ddoci

2010-05-13 Thread Viktor Szakáts
 This is complicated because there is no error, as in the code is Browse ().
 When I change it to Board() [this is similar to the browse (), my class, 
 based on TbrowseNew ()], then is GPF in dbCloseAll().
 BUT I use it a very long time, and in other cases (with another [r|s]dd ) did 
 not have such situations.

If we find a reproducible way for this error, 
there are much better chances to find it and 
getting it fixed.

Or, it's possible it's some sort of build problem, 
f.e. unmatched OCILIB header and .dll version or 
the like.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-12 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Massimo Belgrano [mailto:mbelgr...@deltain.it]
 Sent: Tuesday, May 11, 2010 5:38 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 Have you made
 set HB_WITH_OCILIB=C:\ocilib
 or
 set HB_WITH_OCILIB c:\ocilib\include
 set HB_WITH_OCILIB c:\ocilib\lib32
 ?

Yes, but without succes.
Afther install I see :

! 'sddoci' library skipped ('ocilib' not found. Configure with HB_WITH_OCILIB.)

On disk I have :
║  ├──┬ocilib   
║  │  ├───demo  ▒
║  │  ├──┬doc   ▒
║  │  │  └───html   ▒
║  │  ├───include   ▒
║  │  ├───lib32 ▒
║  │  ├───lib64 ■
║  │  ├──┬proj  ▒
║  │  │  ├───dll▒
║  │  │  ├───mingw  ▒
║  │  │  └───test   ▒
║  │  └───src   ▒
║  ├───oe   ▒

Viktor, what can I store HB_WITH_OCILIB in this case ?
In ocilb\lib32 I have :

Katalog: c:\ocilib\lib32 
2010-05-11  16:58DIR  . 
2010-05-11  16:58DIR  .. 
2010-02-03  19:50   315 402 libociliba.a
2010-02-03  19:50   317 494 libocilibm.a
2010-02-03  19:51   322 050 libocilibw.a
2010-02-03  19:40   230 912 ociliba.dll 
2010-02-03  19:40   127 320 ociliba.lib 
2010-02-03  19:39   232 448 ocilibm.dll 
2010-02-03  19:39   127 692 ocilibm.lib 
2010-02-03  19:40   245 248 ocilibw.dll 
2010-02-03  19:40   127 692 ocilibw.lib

In path variable :
Path=C:\gcc\mingw\bin;C:\harbour\bin;C:\instantclient\ODBC;C:\BATCH;C:\ExeCom;C:\Windows\System32;C:\oracle\product\10.2.0\client_3\bin;C:\oracle\product10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
 Files\Windows Imaging\ 
 

OCILIB have I download from www and uncompressed from zip file (not after 
install process).


Regards,
Marek Horodyski

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] [r|s]ddoci

2010-05-12 Thread Viktor Szakáts
Hi,

Instead of guessing it's enough to check the 
example in INSTALL. Search for HB_WITH_OCILIB.

Viktor

On 2010 May 12, at 10:25, Horodyski Marek (PZUZ) wrote:

 -Original Message-
 From: Massimo Belgrano [mailto:mbelgr...@deltain.it]
 Sent: Tuesday, May 11, 2010 5:38 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 Have you made
 set HB_WITH_OCILIB=C:\ocilib
 or
 set HB_WITH_OCILIB c:\ocilib\include
 set HB_WITH_OCILIB c:\ocilib\lib32
 ?
 
 Yes, but without succes.
 Afther install I see :
 
 ! 'sddoci' library skipped ('ocilib' not found. Configure with 
 HB_WITH_OCILIB.)
 
 On disk I have :
 ║  ├──┬ocilib   
 ║  │  ├───demo  ▒
 ║  │  ├──┬doc   ▒
 ║  │  │  └───html   ▒
 ║  │  ├───include   ▒
 ║  │  ├───lib32 ▒
 ║  │  ├───lib64 ■
 ║  │  ├──┬proj  ▒
 ║  │  │  ├───dll▒
 ║  │  │  ├───mingw  ▒
 ║  │  │  └───test   ▒
 ║  │  └───src   ▒
 ║  ├───oe   ▒
 
 Viktor, what can I store HB_WITH_OCILIB in this case ?
 In ocilb\lib32 I have :
 
 Katalog: c:\ocilib\lib32 
 2010-05-11  16:58DIR  . 
 2010-05-11  16:58DIR  .. 
 2010-02-03  19:50   315 402 libociliba.a
 2010-02-03  19:50   317 494 libocilibm.a
 2010-02-03  19:51   322 050 libocilibw.a
 2010-02-03  19:40   230 912 ociliba.dll 
 2010-02-03  19:40   127 320 ociliba.lib 
 2010-02-03  19:39   232 448 ocilibm.dll 
 2010-02-03  19:39   127 692 ocilibm.lib 
 2010-02-03  19:40   245 248 ocilibw.dll 
 2010-02-03  19:40   127 692 ocilibw.lib
 
 In path variable :
 Path=C:\gcc\mingw\bin;C:\harbour\bin;C:\instantclient\ODBC;C:\BATCH;C:\ExeCom;C:\Windows\System32;C:\oracle\product\10.2.0\client_3\bin;C:\oracle\product10.2.0\client_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
  Files\Windows Imaging\   

 
 OCILIB have I download from www and uncompressed from zip file (not after 
 install process).
 
 
 Regards,
 Marek Horodyski
 
 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-12 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Viktor Szakáts [mailto:harbour...@syenar.hu]
 Sent: Wednesday, May 12, 2010 10:36 AM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 Hi,
 
 Instead of guessing it's enough to check the
 example in INSTALL. Search for HB_WITH_OCILIB.
 
 Viktor

Forgive us our frailties, little ones.
The beginnings tend to be difficult.

Libsddoci.a│11102│2010-05-12│10:50 :)


Many thanks,
Marek Horodyski


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-12 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Viktor Szakáts [mailto:harbour...@syenar.hu]
 Sent: Wednesday, May 12, 2010 10:36 AM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 Hi,
 
 Instead of guessing it's enough to check the
 example in INSTALL. Search for HB_WITH_OCILIB.
 
 Viktor

But something not quite worked :

c:\harbour\contrib\sddoci\testsc:\harbour\bin\win\mingw\hbmk2.exe test1.prg
hbmk2: Processing local make script: hbmk.hbm
Harbour 2.1.0beta1 (Rev. 14452)
Copyright (c) 1999-2010, http://www.harbour-project.org/
Compiling 'test1.prg'...
Lines 173, Functions/Procedures 1
Generating C source output to 'C:\TEMP\test1.c'... Done.
c:/gcc/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: 
cannot find -lociliba
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:\TEMP\test1.o C:\TEMP\hbmk_z5jm89.o-mconsole -Wl,--start-group 
-lsddoci -lociliba -lrddsql -lhbextern -lhbdebug -
lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt 
-lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcd
x -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp 
-lhbcommon -lhbmainstd -lkernel32 -luser32 -lgdi32 -ladva
pi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 
-loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lw
ininet -lhbpcre -lhbzlib  -Wl,--end-group -otest1.exe 
-Lc:/harbour/lib/win/mingw 


Do not work in oci version 3.2 nor 3.5.1.

Regards,
Marek Horodyski

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-12 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Wednesday, May 12, 2010 1:47 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 

[...]

 
 But something not quite worked :

As I wrote - the beginnings are often difficult.
I already have :

test1.exe│  1781816│10-05-12│14:31
 
Sorry for whining, but I'm excited :)

Regards,
Marek Horodyski


___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-12 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Horodyski Marek (PZUZ)
 Sent: Wednesday, May 12, 2010 2:36 PM
 To: Harbour Project Main Developer List.
 Subject: RE: [Harbour] [r|s]ddoci
 
  -Original Message-
  From: Horodyski Marek (PZUZ)
  Sent: Wednesday, May 12, 2010 1:47 PM
  To: Harbour Project Main Developer List.
  Subject: RE: [Harbour] [r|s]ddoci
 
 
 [...]
 
 
  But something not quite worked :
 
 As I wrote - the beginnings are often difficult.
 I already have :
 
 test1.exe│  1781816│10-05-12│14:31

When I try mix link ODBC and OCI i one app ( via ODBC still connet to 
MSSqlServer) :

REQUEST SDDODBC, SDDOCI, SQLMIX

libs=sddoci sddodbc

Have I :

Generating C source output to 'C:\TEMP\test1.c'... Done.
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc4): 
undefined reference to `sqlfe...@4'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x226): 
undefined reference to `sqlgetd...@24'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x2be): 
undefined reference to `sqlgetd...@24'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x38b): 
undefined reference to `sqlgetd...@24'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x3fb): 
undefined reference to `sqlgetd...@24'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x49b): 
undefined reference to `sqlgetd...@24'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x530): more 
undefined references to `sqlgetd...@24' follow
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x7d0): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x859): 
undefined reference to `sqlerr...@32'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x952): 
undefined reference to `sqldisconn...@4'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x968): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x97d): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xa08): 
undefined reference to `sqlallochan...@12'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xa52): 
undefined reference to `sqlexecdire...@12'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xac3): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xafc): 
undefined reference to `sqlrowco...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xb4c): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc1b): 
undefined reference to `sqlallochan...@12'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc55): 
undefined reference to `sqlsetenva...@16'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc7a): 
undefined reference to `sqlallochan...@12'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xd28): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xe5e): 
undefined reference to `sqldriverconne...@32'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xee2): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xf88): 
undefined reference to `sqlallochan...@12'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xff0): 
undefined reference to `sqlexecdire...@12'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x1031): 
undefined reference to `sqlnumresultc...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x10fd): 
undefined reference to `sqldescribec...@36'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x11f1): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x1284): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x1769): 
undefined reference to `sqlfreehan...@8'
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0x17dd): 
undefined reference to `sqlfreehan...@8'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
 
Can I mix this lib ?


Regards,
Marek Horodyski
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] [r|s]ddoci

2010-05-12 Thread Mindaugas Kavaliauskas

Hi,


On 2010.05.12 17:11, Horodyski Marek (PZUZ) wrote:

When I try mix link ODBC and OCI i one app ( via ODBC still connet to 
MSSqlServer) :

REQUEST SDDODBC, SDDOCI, SQLMIX

libs=sddoci sddodbc

Have I :

Generating C source output to 'C:\TEMP\test1.c'... Done.
c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc4): 
undefined reference to `sqlfe...@4'


And what errors do you get with sddodbc and without sddoci?



Can I mix this lib ?


Yes.


Regards,
Mindaugas

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-12 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt]
 Sent: Wednesday, May 12, 2010 4:34 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
[...]

  REQUEST SDDODBC, SDDOCI, SQLMIX
 
  libs=sddoci sddodbc
 
  Have I :
 
  Generating C source output to 'C:\TEMP\test1.c'... Done.
 
 c:/harbour/lib/win/mingw/libsddodbc.a(sddodbc.o):sddodbc.c:(.text+0xc4)
 : undefined reference to `sqlfe...@4'
 
 And what errors do you get with sddodbc and without sddoci?

I can link my app with command :

c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt homar.prg 
braki.prg -lhomar -lhbwin -trace -lhbwin

and in homar.hbc :
libs=hbhpdf libhpdf png hbct
libs=sddodbc sddoci rddsql hbodbc hbfship hbxpp
#libs=rddsql rddado
# gt=gtgui = jest w h.bat
{win}libs=odbc32
{HB_WITH_OCILIB_UNICODE}libs=ocilibw
{HB_WITH_OCILIB_MIXED}libs=ocilibm
#{!HB_WITH_OCILIB_UNICODE!HB_WITH_OCILIB_MIXED}libs=ociliba


When I add in prg :
REQUEST SDDOCI

On screen see I (tip) :

c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x17d): 
undefined reference to `oci_longgets...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x18a): 
undefined reference to `oci_longgetbuf...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x284): 
undefined reference to `oci_getdou...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x2c8): 
undefined reference to `oci_getbig...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x2fc): 
undefined reference to `oci_getd...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x327): 
undefined reference to `oci_dategetd...@16'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x36d): 
undefined reference to `oci_isn...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x3fc): 
undefined reference to `oci_gettimest...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x447): 
undefined reference to `oci_timestampgetdatet...@32'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x4d0): 
undefined reference to `oci_getd...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x513): 
undefined reference to `oci_dategetdatet...@28'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x56c): 
undefined reference to `oci_getl...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x581): 
undefined reference to `oci_longgets...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x58e): 
undefined reference to `oci_longgett...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x5a2): 
undefined reference to `oci_longgetbuf...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x60c): 
undefined reference to `oci_getstr...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x708): 
undefined reference to `oci_statementf...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x736): 
undefined reference to `oci_getlaster...@0'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x744): 
undefined reference to `oci_errorgetstr...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x786): 
undefined reference to `oci_errorgetocic...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x7e8): 
undefined reference to `oci_connectionf...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x8a8): 
undefined reference to `oci_connectioncre...@16'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x95d): 
undefined reference to `oci_statementcre...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0x9da): 
undefined reference to `oci_executes...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa05): 
undefined reference to `oci_getresult...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa14): 
undefined reference to `oci_getcolumnco...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa7d): 
undefined reference to `oci_getcol...@8'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xa92): 
undefined reference to `oci_columngetn...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xafd): 
undefined reference to `oci_columngett...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb0a): 
undefined reference to `oci_columngets...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb19): 
undefined reference to `oci_columngetprecis...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb26): 
undefined reference to `oci_columngetnulla...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xb87): 
undefined reference to `oci_statementf...@4'
c:/harbour/lib/win/mingw/libsddoci.a(sddoci.o):sddoci.c:(.text+0xe4b): 
undefined reference to `oci_columngetprecis...@4'
c

Re: [Harbour] [r|s]ddoci

2010-05-12 Thread Viktor Szakáts
 c:\harbour\bin\win\mingw\hbmk2.exe -n -m -w2 -gc3 -gui -gtwvg -mt homar.prg 
 braki.prg -lhomar -lhbwin -trace -lhbwin
 
 and in homar.hbc :
 libs=hbhpdf libhpdf png hbct
 libs=sddodbc sddoci rddsql hbodbc hbfship hbxpp
 #libs=rddsql rddado
 # gt=gtgui = jest w h.bat
 {win}libs=odbc32
 {HB_WITH_OCILIB_UNICODE}libs=ocilibw
 {HB_WITH_OCILIB_MIXED}libs=ocilibm
 #{!HB_WITH_OCILIB_UNICODE!HB_WITH_OCILIB_MIXED}libs=ociliba
 
 
 When I add in prg :
 REQUEST SDDOCI
 
 On screen see I (tip) :

That's expected, since you commented the default OCI library above.

Viktor

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] [r|s]ddoci

2010-05-11 Thread Horodyski Marek (PZUZ)
Hi,

I'm try to use oci.

What I can, or what can I do, to arrive exe from
\harbour\contrib\sddoci\tests\test1.prg ?

 

Command :

\harbour\bin\win\mingw\hbmk2.exe test1.prg does not work 

( it say
/gcc/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
cannot find -lsddoci)

 

How should I reinstall Harbour ?

 

Regards,

Marek Horodyski

 

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] [r|s]ddoci

2010-05-11 Thread Massimo Belgrano
Hi Marek
Hello i i read in c:\harbour\install follow info

  HB_WITH_OCILIB - OCILIB (C Driver for Oracle) [multiplatform,
free, open-source]
 http://orclib.sourceforge.net/
 http://www.oracle.com/technology/tech/oci/instantclient/index.html

Can you post here your final sample?

(a facebook friend)



2010/5/11 Horodyski Marek (PZUZ) m.horody...@pzuzycie.com.pl:
 Hi,

 I’m try to use oci.

 What I can, or what can I do, to arrive exe from
 \harbour\contrib\sddoci\tests\test1.prg ?



 Command :

 \harbour\bin\win\mingw\hbmk2.exe test1.prg does not work

 ( it say
 /gcc/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
 cannot find –lsddoci)



 How should I reinstall Harbour ?



 Regards,

 Marek Horodyski



 ___
 Harbour mailing list (attachment size limit: 40KB)
 Harbour@harbour-project.org
 http://lists.harbour-project.org/mailman/listinfo/harbour





-- 
Massimo Belgrano
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-11 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Massimo Belgrano [mailto:mbelgr...@deltain.it]
 Sent: Tuesday, May 11, 2010 4:17 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 Hi Marek
 Hello i i read in c:\harbour\install follow info
 
   HB_WITH_OCILIB - OCILIB (C Driver for Oracle) [multiplatform,
 free, open-source]
  http://orclib.sourceforge.net/
 
 http://www.oracle.com/technology/tech/oci/instantclient/index.html
 
 Can you post here your final sample?
 
 (a facebook friend)
 
From your link have I download 3.5.1 wersion ( I was have oldest  3.2)
And now analyze posinst.prg :

120│  IF GetEnv( HB_COMPILER ) == mingw .AND. ; 
121│ ! Empty( GetEnv( HB_WITH_OCILIB ) ) 
122│ hb_FCopy( GetEnv( HB_WITH_OCILIB ) + _PS_ + StrTran( 
..\lib32\libociliba.a ...
123│ hb_FCopy( GetEnv( HB_WITH_OCILIB ) + _PS_ + StrTran( 
..\lib32\libocilibm.a ...
124│ hb_FCopy( GetEnv( HB_WITH_OCILIB ) + _PS_ + StrTran( 
..\lib32\libocilibw.a ...
125│  ENDIF 
126│   ENDIF 

A little more ... :)

Regards,
Marek Horodyski
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


RE: [Harbour] [r|s]ddoci

2010-05-11 Thread Horodyski Marek (PZUZ)
 -Original Message-
 From: Massimo Belgrano [mailto:mbelgr...@deltain.it]
 Sent: Tuesday, May 11, 2010 4:17 PM
 To: Harbour Project Main Developer List.
 Subject: Re: [Harbour] [r|s]ddoci
 
 Hi Marek
 Hello i i read in c:\harbour\install follow info
 
   HB_WITH_OCILIB - OCILIB (C Driver for Oracle) [multiplatform,
 free, open-source]
  http://orclib.sourceforge.net/
 
 http://www.oracle.com/technology/tech/oci/instantclient/index.html


Still :

! 'sddoci' library skipped ('ocilib' not found. Configure with
HB_WITH_OCILIB.) :(

Tomorrow I'll try

Regards,
Marek Horodyski

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] [r|s]ddoci

2010-05-11 Thread Massimo Belgrano
Have you made
set HB_WITH_OCILIB=C:\ocilib
or
set HB_WITH_OCILIB c:\ocilib\include
set HB_WITH_OCILIB c:\ocilib\lib32
?
2010/5/11 Horodyski Marek (PZUZ) m.horody...@pzuzycie.com.pl:
 -Original Message-

 Still :

 ! 'sddoci' library skipped ('ocilib' not found. Configure with
 HB_WITH_OCILIB.) :(

 Tomorrow I'll try


-- 
Massimo Belgrano
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour