Maybe  I  wrong, but it is not work properly

hbmk2 -dyn something.prg
*************
hbmk2 -nohbp something.prg  - generate error
hbmk: Processing configuration: D:\harbour-bin\harbour-msvc8\bin\hbmk.cfg
Error F0034  Bad command line option 'no'
*************
Another question
hbmk2 -hbdyn something.prg generate DLL,
but how I can use a functions from DLL

=========
something.prg
=========
FUNCTION Hello()
RETURN "Hello From Dll!!"
=========

=========
test1.prg
=========
PROCEDURE main()
LOCAL dyn
        dyn := hb_libLoad("test.dll")
        IF ! Hb_IsNil( dyn ) 
                 ? hb_libDo( "HELLO" )
        ENDIF
=========
Result is NIL

Possibly I  missed out something?
 
Tested with MSVC 8 + Harbour from latest SVN.

Regards,
Petr







-- 
View this message in context: 
http://www.nabble.com/About-hbmk2-tp23120172p23120172.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to