-----Messaggio Originale----- Da: "Przemyslaw Czerpak" <[email protected]>
A: "Harbour Project Main Developer List." <[email protected]>
Data invio: martedì 15 settembre 2009 21.55
Oggetto: Re: [Harbour] Another OLE problem


It's possible the the problem is caused by old linked library list
in your batch file which were not updated to new library names in
Harbour and still uses hbole or sth like that. Now Harbour does not
have any hbole library and everything is in hbwin.

This is my library list:

hbrtl.lib +
hbvm.lib +
hbcommon.lib +
hblang.lib +
gtwin.lib +
hbrdd.lib +
hbusrrdd +
rddfpt.lib +
rddntx.lib +
rddcdx.lib +
hbsix.lib +
hbmacro.lib +
hbodbc.lib +
hbziparc.lib +
hbmzip.lib +
hbzlib.lib +
hbct.lib +
hbtip.lib +
hbwin.lib +
import32.lib +
cw32.lib +
odbc32.lib +
wininet.lib +
hbcplr.lib +
hbpp.lib +
hbhsx.lib +
hbpcre.lib +
hbcpage.lib

Do you see anything wrong?

Please try to use hbmk2 to link above code, i.e. by simple:
  hbmk2 tst.prg

I'm not familiar with hbmk2. I just tried it but I get

Harbour 2.0.0beta3 (Rev. 12501)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'bug.prg'...
Lines 14, Functions/Procedures 1
Generating C source output to 'bug.c'... Done.
hbmk2: Error: Running C compiler. -1
bcc32.exe -c -q -tWM -d -6 -O2 -OS -Ov -Oi -Oc  -IE:\include bug.c

You can also verify dates of all your Harbour libraries and remove any
libraries which were not refreshed when you were rebuilding Harbour today.

I always delete all the libs before updating them. Anyway I just checked them and they are ok.

You can make it yourself quite easy.
It's enough to copy and past some code.

Sorry, this is too much for me. :-(

and you reported that it works for you. So there are two possible answers:
There is sth wrong in TOleAuto():New() method and I do not see the wrong
code (maybe you can help) or it's a link time problem and CreateObject()
in your application is taken from some old harbour ole library, i.e.
hbole or hbole2.

I dont' think so. I'm not using neither of the above two libs.

I hope that above information should help you to locate the exact reason
of the problem.

Honestly not. Is there any simpler test that I can make? :-)

EMG

--
EMAG Software Homepage:     http://www.emagsoftware.it
The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
The EMG Music page: http://www.emagsoftware.it/emgmusic
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to