Hi Viktor,
Still with the same error. Is the program below valid to compile to
dll using
MS C++ v2008?
Yes. Just verified. (at least it should link, I'm not .dll user,
so couldn't test it any further)
If I'm thinking about it even -L%LIB% is wrong. Since %LIB%
itself is a ';' delimited list and might also contain quotes.
Pass your lib dirs manually one by one. hbmk2 will only accept
one dir per -L switch. libpaths= will accept a list, but the
delimiter is a space.
Anyhow your switches cause a quote problem in generated command
line (just watch the output) and this is 99.999% caused by this
suspicious switch.
Brgds,
Viktor
TIA,
Jerry
---
#include "hbclass.ch"
CREATE CLASS Dbf
VAR oDbf
METHOD Open()
ENDCLASS
METHOD Open
RETURN self
---
----- Original Message -----
From: "Viktor Szakáts" <[email protected]>
To: "Harbour Project Main Developer List." <[email protected]
>
Subject: Re: [Harbour] How to create a dll using hbmk2?
Date: Tue, 29 Sep 2009 08:07:30 +0200
Hi Jerry,
D:\MyProjects\dbfdll>hbmk2 -hbdyn classdbf -L"%lib%"
-L"%lib% seems wrong. Try with "-L%lib%" or -L%lib%.
Brgds,
Viktor
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour