Error en FOR EACH oError IN oApp:oCon:Errors

Error en FOR EACH oError IN oApp:oCon:Errors

Postby Armando » Tue Mar 13, 2018 12:18 am

Hola Foreros:

He venido usando FWH0810 y xHarbour y la siguiente línea de código
me ha funcionado de 100

Code: Select all  Expand view

   FOR EACH oError IN oApp:oCon:Errors
 


Ahora que cambié a FWH1711 y Harbour con BCC7 ya no funciona,
me tira un error precisamente en esa línea

Code: Select all  Expand view

Application
===========
   Path and name: C:\SiaMsM\SiaMsm.Exe (32 bits)
   Size: 4,603,392 bytes
   Compiler version: Harbour 3.2.0dev (r1703231115)
   FiveWin  version: FWH 17.11
   C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
   Windows version: 6.2, Build 9200

   Time from start: 0 hours 0 mins 3 secs
   Error occurred at: 12/03/2018, 18:16:16
   Error description: (DOS Error -2147352573) WINOLE/1005  Argument error: __OLEENUMCREATE
   Args:
     [   1] = P   0x75C2E34
     [   2] = L   .F.

Stack Calls
===========
   Called from:  => __OLEENUMCREATE( 0 )
   Called from: ..\contrib\hbwin\oleauto.prg => TOLEAUTO:__ENUMSTART( 0 )
   Called from: Source\SiaMsm.Prg => SHOWERROR( 1193 )
   Called from: Source\SiaMsm1a.Prg => SIAMSM1A( 483 )
   Called from: Source\SiaMsm.Prg => (b)LABARRA( 206 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 684 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 924 )
   Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
   Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1873 )
   Called from: .\source\classes\WINDOW.PRG => _FWH( 3348 )
   Called from:  => WINRUN( 0 )
   Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1037 )
   Called from: Source\SiaMsm.Prg => MAIN( 174 )
 


Algun hilo por favor.

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error en FOR EACH oError IN oApp:oCon:Errors

Postby karinha » Tue Mar 13, 2018 2:19 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error en FOR EACH oError IN oApp:oCon:Errors

Postby Armando » Tue Mar 13, 2018 3:25 pm

Karinha:

Con esa función se soluciona el error, pero en el código anterior nos
proporcionaba información mucha mas cercana al error, voy a crear
ambos ejemplos y los posteo aqui.

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error en FOR EACH oError IN oApp:oCon:Errors

Postby karinha » Tue Mar 13, 2018 3:33 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error en FOR EACH oError IN oApp:oCon:Errors

Postby Armando » Tue Mar 13, 2018 11:05 pm

Karinha:

Voy al foro y me muestra la función pero inmediatamente la oculta. :oops:

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México

Re: Error en FOR EACH oError IN oApp:oCon:Errors

Postby karinha » Wed Mar 14, 2018 12:06 pm

Creo que usted no está registrado como usuário del foro pctoledo Armando. Saludos.

http://www.pctoledo.com.br
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7794
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Error en FOR EACH oError IN oApp:oCon:Errors

Postby Armando » Wed Mar 14, 2018 4:06 pm

Karinha:


Ya logre obtener al código, pequeños cambios y ya funciona para mi.

Muchas gracias

Saludos
SOI, s.a. de c.v.
estbucarm@gmail.com
http://www.soisa.mex.tl/
http://sqlcmd.blogspot.com/
Tel. (722) 174 44 45
Carpe diem quam minimum credula postero
User avatar
Armando
 
Posts: 3201
Joined: Fri Oct 07, 2005 8:20 pm
Location: Toluca, México


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: FiveWiDi and 41 guests