CreateObject error

CreateObject error

Postby Kleyber » Sat Nov 29, 2008 4:35 pm

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,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: CreateObject error

Postby Enrico Maria Giordano » Sat Nov 29, 2008 4:39 pm

It seems that you don't have the required OLE server installed (ie. NFe_util_PL005a.util).

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: CreateObject error

Postby Kleyber » Sat Nov 29, 2008 4:41 pm

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
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Re: CreateObject error

Postby Enrico Maria Giordano » Sat Nov 29, 2008 4:44 pm

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
User avatar
Enrico Maria Giordano
 
Posts: 8315
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: CreateObject error

Postby Kleyber » Sat Nov 29, 2008 4:48 pm

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
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Postby Antonio Linares » Sat Nov 29, 2008 9:53 pm

Kleyber,

What Windows version is he using ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Kleyber » Sun Nov 30, 2008 11:49 am

Hi Antonio,

Windows XP SP3

Regards,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil

Postby James Bott » Mon Dec 01, 2008 12:57 am

Kleyber,

>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 it has to be registered after the NET framework is installed.

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby AHF » Mon Dec 01, 2008 6:47 pm

Kleyber,

I used to work with a Active X / COM inspector that alllows you to see all controls installed in the PC as well as all methods, properties, etc.

I don't remmeber the name but perhaps you could google it to find out.

Another way is to use VBA to check it.

Antonio
AHF
 
Posts: 838
Joined: Fri Feb 10, 2006 12:14 pm

Postby Kleyber » Mon Dec 01, 2008 8:43 pm

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,
Kleyber Derick

FWH / xHb / xDevStudio / SQLLIB
User avatar
Kleyber
 
Posts: 581
Joined: Tue Oct 11, 2005 11:28 am
Location: São Luiz, Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 109 guests