-----Messaggio Originale----- 
Da: "Maurilio Longo" <maurilio.lo...@libero.it>
A: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it>
Cc: "Xharbour-Developers List" <xharbour-developers@lists.sourceforge.net>
Data invio: giovedì 8 gennaio 2009 16.47
Oggetto: Re: [xHarbour-developers] MT build dies at startup


> Enrico,
>
> I attach the class that fails,

Sorry, I can't compile it. Try to reduce it. The following sample seems to 
work fine here:

#include "Hbclass.ch"


CLASS TTest

    METHOD New()

    DESTRUCTOR Free()

ENDCLASS


METHOD New() CLASS TTest

    ? "New()"

    RETURN Self


PROCEDURE Free() CLASS TTest

    ? "Free()"

    RETURN


FUNCTION MAIN()

    TEST()

    RETURN NIL


STATIC FUNCTION TEST()

    LOCAL oTest := TTest():New()

    RETURN NIL

Result:

New()
Free()

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 


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
xHarbour-developers mailing list
xHarbour-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to