Page 1 of 1

Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 2:11 pm
by Tekfreakz
Hello All Names Aaron, My good friend Rick Lipkin Got me into this Board and started in this Language.
Im formally use to using, AS3.0 / GML / Java... Recently got interested in his work, and got myself started up to learn.

Heres what im using

Xharbour
Bcc70

I currently gotten the libmysql.dll / libmysql.lib Working. And recognized. How ever, im trying to get Dolphin.lib and things to work
And well.. Im not sure if im doing it wrong, Missing included files, .H , or whatever else is needed, And would love to see a walk through
on how to get it to compile properly.. So far my errors are starting to drive me batty. (included i am looking for the Tmysql.lib as well, but seems its gone?).

Anyways current Error im receiving.


Project: NetTest, Environment: BorlandFWH:
[1]:Harbour.Exe ItInv\MAIN.PRG /m /n /gc0 /w0 /es2 /a /iC:\XHARBOUR\Include /oObj\MAIN.c
xHarbour 1.2.3 Intl. (SimpLex) (Build 20150518)
Copyright 1999-2015, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'ItInv\MAIN.PRG'...
Generating C source output to 'Obj\MAIN.c'...
Done.
Lines 56, Functions/Procedures 2, pCodes 262
[1]:Bcc32.Exe -M -c -v -DHB_OS_WIN_32 -IC:\Borland\bcc70\Include;C:\XHARBOUR\Include -nObj Obj\MAIN.c
Embarcadero C++ 7.00 for Win32 Copyright (c) 1993-2015 Embarcadero Technologies, Inc.
Obj\MAIN.c:
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @NetTest.bcl
Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN___CLSLOCKDEF' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpexp
Error: Unresolved external '_HB_FUN___CLSUNLOCKDEF' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpexp
Error: Unresolved external '_hb_gcAllocate' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|function
Error: Unresolved external '_hb_retclen_buffer' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|function
Error: Unresolved external '_hb_gcDummyMark' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|function
Error: Unresolved external '_HB_FUN_HB_HKEYS' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpsrv
Error: Unresolved external '_HB_FUN_HB_HASH' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_HB_HPOS' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_HB_HSET' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_HB_HSETCASEMATCH' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN_HB_HCLONE' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpqry
Error: Unresolved external '_HB_FUN___OLEGETACTIVEOBJECT' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpexp
Error: Unresolved external '_HB_FUN___OLECREATEOBJECT' referenced from C:\PROJECTS\LIB\DOLPHIN.LIB|tdolpexp
Error: Unable to perform link

Thank you in advance for your time to help. And glad to be apart of FW

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 3:15 pm
by cnavarro
You have to be sure that the library you use is for xHarbour.
I think he's using Harbour's

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 3:27 pm
by Tekfreakz
Is there away to check?.

When i implib the libmysql.dll, i noticed the lib. file doesnt have what the lib file i look upon has. Its kinda weird.

If you got a dolphin.lib that is xharbour.. possible send it to me?

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 3:41 pm
by cnavarro
Version Fivewin and Borland?

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 3:47 pm
by Tekfreakz
FiveWin = Fwh1504

Borland = bcc70

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 4:02 pm
by cnavarro
Your mail?

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 4:16 pm
by Tekfreakz
tek

Sorry. .:) totally should of placed that in here.

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 4:33 pm
by cnavarro
Send
Test and comment the result

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 4:37 pm
by Tekfreakz
Do you got the libsqldll.lib for xharbour possilbly, Everytime i do implib, it creates the .lib into a 1kb .lib file..
kinda confused upon that

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 4:41 pm
by Tekfreakz
OH YEAH!! THANK YOU!
Passed through with success!!!
THANK YOU!

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Thu Jan 12, 2017 7:11 pm
by Antonio Linares
Aaron,

Welcome aboard :-)

If you use the most recent FWH 16.12 then you don't need to use TDolphin, as FWH provides
full support for MySQL/MariaDB built-in

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Fri Jan 13, 2017 2:04 pm
by Tekfreakz
=O ....

My Hero!.. Lol...

Thank for the welcome.. Im excited to jump right into this!..

While i wait to recieve this, I still wanna figure out one lil problem,

<oServer> := TDolphinSrv():New( <cHost>, <cUser>, <cPassword>, <nPort>, ;
<nFlags>, <cDBName>, [{| Self, nError, lInternal, cExtra | <uOnError> }], ;
[ <cName> ], [{| cValue |<uDecrypt>}] )

When i run this script like this..

DEFINE DIALOG oDlg TITLE "Connecting"

oServer := TDolphinSrv():New(cHost, cUser, cPassword,cDBName)


ACTIVATE DIALOG oDlg CENTERED


It closes My whole Program out.. Is this because of the SQL.dll file, Or is there something i need to do?
Thanks in Advance..

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Fri Jan 13, 2017 3:42 pm
by Antonio Linares
Please check if a hb_out.log file is created

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Fri Jan 13, 2017 4:08 pm
by Tekfreakz
Do not see this log file.

Re: Hi New To The Forum / Need Help with setting up Dolphin

Posted: Sat Jan 14, 2017 8:01 am
by Tekfreakz
All is well, got server accessing working.
Thanks to everyone that helped.

Now to have some fun :)