Hi Viktor,
Viktor Szakáts wrote:
>
> I have no idea. Please tell if this makes it work, if it does, I'll add
> it.
>
Please, try it simple demo
=========
something.prg
=========
FUNCTION Hello()
RETURN "Hello From Dll!!"
=========
=========
test.prg
=========
DYNAMIC Hello
PROCEDURE main()
LOCAL dll, sym
//
dll := hb_libLoad("something.dll")
IF !Empty( dll )
? hb_libDo( "HELLO" )
ENDIF
sym := &("@Hello()")
? sym:exec()
=========
hbmk2 -hbdyn -lhbmaindllp.lib something.prg
hbmk2 -shared test.prg
It work as expected but ONLY if test.prg compiled with -shared.
So I think while early to changes in hbmk2.
Regards,
Petr
--
View this message in context:
http://www.nabble.com/About-hbmk2-tp23120172p23123479.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour