CreateObject error
CreateObject error
Hi all,
I have an app running fine in my computer, using CreateObject. But when I installed it in the client's computer, it appears the error below:
Pasta e nome : C:\Intell\Intel.EXE
Path de dados :
Usuário do Sistema : KLEYBER
Tipo de aplicação : 32 bits
Versão do Compilador : xHarbour build 1.1.0 Intl. (SimpLex)
FWHX 8.02 (c) FiveTech Software, 1993-2008
Tamanho do executável : 5,387,264 bytes
Data e Hora do erro : 29/11/2008, 12:08:35
Descrição do erro produzido
________________________________________________________________________________
Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Argumentos :
[ 1] = C NFe_util_PL005a.util
Chamadas a Stack
________________________________________________________________________________
Called from THROW(0)
Called from TOLEAUTO:NEW(322)
Called from CREATEOBJECT(69)
Called from CONSSTATUS(8576)
Called from (b)PREPARA_NFE(8546)
Called from TBUTTON:CLICK(0)
Called from TBUTTON:HANDLEEVENT(0)
Called from _FWH(0)
Called from SENDMESSAGE(0)
Called from TDIALOG:COMMAND(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from PREPARA_NFE(8555)
Called from (b)MENU3(507)
Called from TMENU:ACTIVATE(699)
Called from TVMENU:EVALACTION(1630)
Called from TVMENU:LBUTTONUP(1336)
Called from TWINDOW:HANDLEEVENT(0)
Called from TCONTROL:HANDLEEVENT(0)
Called from TVMENU:HANDLEEVENT(880)
Called from _FWH(0)
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(0)
Called from MAIN(209)
Where am I wrong?
TIA,
I have an app running fine in my computer, using CreateObject. But when I installed it in the client's computer, it appears the error below:
Pasta e nome : C:\Intell\Intel.EXE
Path de dados :
Usuário do Sistema : KLEYBER
Tipo de aplicação : 32 bits
Versão do Compilador : xHarbour build 1.1.0 Intl. (SimpLex)
FWHX 8.02 (c) FiveTech Software, 1993-2008
Tamanho do executável : 5,387,264 bytes
Data e Hora do erro : 29/11/2008, 12:08:35
Descrição do erro produzido
________________________________________________________________________________
Error TOleAuto/-1 CO_E_CLASSSTRING: TOLEAUTO:NEW
Argumentos :
[ 1] = C NFe_util_PL005a.util
Chamadas a Stack
________________________________________________________________________________
Called from THROW(0)
Called from TOLEAUTO:NEW(322)
Called from CREATEOBJECT(69)
Called from CONSSTATUS(8576)
Called from (b)PREPARA_NFE(8546)
Called from TBUTTON:CLICK(0)
Called from TBUTTON:HANDLEEVENT(0)
Called from _FWH(0)
Called from SENDMESSAGE(0)
Called from TDIALOG:COMMAND(0)
Called from TWINDOW:HANDLEEVENT(0)
Called from TDIALOG:HANDLEEVENT(0)
Called from DIALOGBOX(0)
Called from TDIALOG:ACTIVATE(0)
Called from PREPARA_NFE(8555)
Called from (b)MENU3(507)
Called from TMENU:ACTIVATE(699)
Called from TVMENU:EVALACTION(1630)
Called from TVMENU:LBUTTONUP(1336)
Called from TWINDOW:HANDLEEVENT(0)
Called from TCONTROL:HANDLEEVENT(0)
Called from TVMENU:HANDLEEVENT(880)
Called from _FWH(0)
Called from WINRUN(0)
Called from TWINDOW:ACTIVATE(0)
Called from MAIN(209)
Where am I wrong?
TIA,
Kleyber Derick
FWH / xHb / xDevStudio / SQLLIB
FWH / xHb / xDevStudio / SQLLIB
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: CreateObject error
It seems that you don't have the required OLE server installed (ie. NFe_util_PL005a.util).
EMG
EMG
Re: CreateObject error
Enrico Maria Giordano wrote:It seems that you don't have the required OLE server installed (ie. NFe_util_PL005a.util).
EMG
Hi Enrico,
That's so strange... The only thing is required for this DLL is to register with regasm, which was already done. How can I see if this OLE server is installed or not?
Regards,
Kleyber Derick
FWH / xHb / xDevStudio / SQLLIB
FWH / xHb / xDevStudio / SQLLIB
- Enrico Maria Giordano
- Posts: 8770
- Joined: Thu Oct 06, 2005 8:17 pm
- Location: Roma - Italia
- Has thanked: 1 time
- Been thanked: 7 times
- Contact:
Re: CreateObject error
Kleyber wrote:That's so strange... The only thing is required for this DLL is to register with regasm,
Shouldn't it be regsvr32?
Kleyber wrote:How can I see if this OLE server is installed or not?
You need a tool but I can't remember its name, sorry.
EMG
Re: CreateObject error
Enrico Maria Giordano wrote:Shouldn't it be regsvr32?
No, this DLL must be registered only with REGASM. I noticed that the computer didn't have the Microsoft NET Framework 2.0 (which is required for this DLL), and I installed it, but the error persists. Maybe this gives a better idea.
TIA,
Kleyber Derick
FWH / xHb / xDevStudio / SQLLIB
FWH / xHb / xDevStudio / SQLLIB
- Antonio Linares
- Site Admin
- Posts: 42655
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 67 times
- Been thanked: 96 times
- Contact:
- James Bott
- Posts: 4840
- Joined: Fri Nov 18, 2005 4:52 pm
- Location: San Diego, California, USA
- Contact:
Thanks to all,
I found the problem. In fact, another REGASM was used after installing NET Framework. Because of it, the original REGASM did not work at all. So, I had to create another folder and put all files inside it, and with the original REGASM everythiing worked as expected.
Thanks to all of you.
Regards,
I found the problem. In fact, another REGASM was used after installing NET Framework. Because of it, the original REGASM did not work at all. So, I had to create another folder and put all files inside it, and with the original REGASM everythiing worked as expected.
Thanks to all of you.
Regards,
Kleyber Derick
FWH / xHb / xDevStudio / SQLLIB
FWH / xHb / xDevStudio / SQLLIB