CTOAS Posted February 22, 2012 Report Share Posted February 22, 2012 Boa tarde. Alguém poderia passar o caminho das pedras para usar a SQLRDD (demo), PostgreSQL e xDevStudio? Obrigado Editado por - ctoas on 22/02/2012 15:39:16 Quote Link to comment Share on other sites More sharing options...
CTOAS Posted February 22, 2012 Author Report Share Posted February 22, 2012 Boa tarde. Alguém poderia passar o caminho das pedras para usar a SQLRDD (demo), PostgreSQL e xDevStudio? Obrigado Editado por - ctoas on 22/02/2012 15:39:16 Quote Link to comment Share on other sites More sharing options...
DonJuan Posted February 22, 2012 Report Share Posted February 22, 2012 citação:Boa tarde. Alguém poderia passar o caminho das pedras para usar a SQLRDD (demo), PostgreSQL e xDevStudio? Obrigado Editado por - ctoas on 22/02/2012 15:39:16 id=quote>id=quote>Boa Tarde Amigo eu dou aulas sobre estes assuntos e muito mais meu skype é alessandro.avelino Acesse: http://programafontefivewin.blogspot.com/ FHW 10.8, XHB1.2.1, PELLESC 6.5, XDEV 7.2, FASTREPORT, SQLRDD, MySql, Firebird, Postgres "MIGRE SEUS SISTEMAS EM CLIPPER PARA 32BITS COM BANCOS SQL" Quote Link to comment Share on other sites More sharing options...
CTOAS Posted February 22, 2012 Author Report Share Posted February 22, 2012 Favor não usar meus posts para promover os seus produtos. Estou pedindo ajuda como já ajudei a muitos colegas, até você. Então, se quiser postar uma resposta para ajudar, ótimo, se não, não postar nada será o seu melhor amigo. citação: citação:Boa tarde. Alguém poderia passar o caminho das pedras para usar a SQLRDD (demo), PostgreSQL e xDevStudio? Obrigado Editado por - ctoas on 22/02/2012 15:39:16 id=quote>id=quote>Boa Tarde Amigo eu dou aulas sobre estes assuntos e muito mais meu skype é alessandro.avelino Acesse: http://programafontefivewin.blogspot.com/ FHW 10.8, XHB1.2.1, PELLESC 6.5, XDEV 7.2, FASTREPORT, SQLRDD, MySql, Firebird, Postgres "MIGRE SEUS SISTEMAS EM CLIPPER PARA 32BITS COM BANCOS SQL" id=quote>id=quote> Quote Link to comment Share on other sites More sharing options...
SAOliveira Posted February 22, 2012 Report Share Posted February 22, 2012 Christiano. Atualmente estou fazendo palestras especÃficas para suas duvidas. Sou formado pela UNCP, PHD em A.A Dimob / SPED(pis/cofins) ..:: Este post é uma opnião pessoal, NAO DEVE SER ENCARADO COMO VERDADE ABSOLUTA ::.. Quote Link to comment Share on other sites More sharing options...
EDUTEK Posted February 22, 2012 Report Share Posted February 22, 2012 cristiano que vc precisa realmente ? eu trabalho um pouco com sqlrdd com mysql e estou testando o firebird. Eduardo Mendes eduardo@conesnet.com.br (MSN) Fwh 9.04 + GTWVW + xH 1.0.0 + xDev + Fast Report + SQLRDD Clipper 5.2e + DBFCDX + Exospace Limeira - SP Quote Link to comment Share on other sites More sharing options...
netsys Posted February 22, 2012 Report Share Posted February 22, 2012 citação:Christiano. Atualmente estou fazendo palestras especÃficas para suas duvidas. Sou formado pela UNCP, PHD em A.A Dimob / SPED(pis/cofins) ..:: Este post é uma opnião pessoal, NAO DEVE SER ENCARADO COMO VERDADE ABSOLUTA ::.. id=quote>id=quote>Sérgio Desculpe a "ingnorância", mas, o que é UNCP e A.A ??? Alberto - SP Quote Link to comment Share on other sites More sharing options...
atnsoft Posted February 22, 2012 Report Share Posted February 22, 2012 Tenho quase certeza: UNCP: Usuario q nao consegue participar PHD: Pouca habilidade em digitação e A.A.:= Automação automatica. AtnSoft(Antenor Rabello) - xHarbour 0.99.71 / FwH 7.05 / Verce C. Procópio - PR Quote Link to comment Share on other sites More sharing options...
atnsoft Posted February 22, 2012 Report Share Posted February 22, 2012 Qdo tentei fiz assim e funcionou: #include "Fivewin.ch" #include "sqlrdd.ch" // SQLRDD Main include #include "mysql.ch" // Needed if you plan to use native connection to MySQL REQUEST SQLRDD // SQLRDD should be linked in REQUEST SR_MYSQL // Needed if you plan to use native connection to MySQL Function main() blabla na compilação usar os seguintes: (no verce foi facil, xdev fico devendo) sql.lib oci.lib libmysql.lib ps: as duas ultimas na pasta do sistema tb. AtnSoft(Antenor Rabello) - xHarbour 0.99.71 / FwH 7.05 / Verce C. Procópio - PR Quote Link to comment Share on other sites More sharing options...
EDUTEK Posted February 22, 2012 Report Share Posted February 22, 2012 vamos lá includes #include "sqlrdd.ch" #include "mysql.ch" #include "firebird.ch" #include 'ord.ch' id=code>id=code>requests REQUEST DBFCDX REQUEST DBFFPT REQUEST SQLRDD REQUEST SR_MYSQL REQUEST SR_FIREBIRD id=code>id=code>conexao (exemplo) mIp_sql_loc := rTrim(ip_sql_loc) mIp_sql_rem := rTrim(ip_sql_rem) if UPPER(RTRIM(__opcao2)) = "LOCAL" mIp_sql := rTrim(ip_sql_loc) else mIp_sql := rTrim(ip_sql_rem) endif mBanco_sql := allTrim(banco_sql) mUser_sql := allTrim(user_sql) mPwd_sql := allTrim(pwd_sql) mPorta_sql := porta_sql mLib_sql := upper(allTrim(lib_sql)) msgbd_sql := upper(allTrim(sgbd)) if !empty(mLib_sql) if upper(mLib_sql) = "SQLRDD" RddSetDefault("SQLRDD") if mSGBD_sql = "MYSQL" CcONNstring = "MySQL="+mip_sql_loc+";UID="+mUser_sql+";PWD="+mpwd_sql+";DTB="+mBanco_sql+";PRT="+STR(mPorta_sql)+";OWNER=;ENGINE=innoDB;AUTOCOMMIT=1000" nCnn1 := SR_AddConnection( 3, cConnString ) if ncnn1 < 0 CcONNstring = "MYSQL="+mip_sql_rem+";UID="+mUser_sql+";PWD="+mpwd_sql+";DTB="+mBanco_sql+";PRT="+STR(mPorta_sql)+";OWNER=;AUTOCOMMIT=" nCnn1 := SR_AddConnection( CONNECT_MYSQL, cConnString ) if ncnn1 < 0 msginfo("ABRIU CONES.DAT "+chr(10)+chr(13)+chr(10)+chr(13)+; "Endereço do Servidor : "+ mIp_sql_loc +chr(10)+chr(13)+; "Porta : "+ str(mPorta_sql)+chr(10)+chr(13)+; "Bando de Dados : "+ mBanco_sql+chr(10)+chr(13)+; "Usuário : "+ mUser_sql +chr(10)+chr(13)+; "Senha : "+mPwd_sql+chr(10)+chr(13)+; "Lib.Conexão : "+ mLib_sql+chr(10)+chr(13)+chr(10)+chr(13)+; "Pasta de Dados : "+mPasta_dados+chr(10)+chr(13)+chr(10)+chr(13)+; "Erro de conexão!!!"+chr(10)+chr(13)+chr(10)+chr(13)+; "Verifique se o banco de dados está criado!"+chr(10)+chr(13)+; "Verifique o Endereço IP, Usuário e senha!"+chr(10)+chr(13)+; "Verifique a Conexão!"+chr(10)+chr(13)) CLOSE DATAB quit endif endif SR_GetActiveConnection() SR_recnoname("nrecno") msginfo("CONECTOU-SE "+chr(10)+chr(13)+chr(10)+chr(13)+; "Endereço do Servidor : "+ mIp_sql_loc +chr(10)+chr(13)+; "Porta : "+ str(mPorta_sql)+chr(10)+chr(13)+; "Bando de Dados : "+ mBanco_sql+chr(10)+chr(13)+; "Usuário : "+ mUser_sql +chr(10)+chr(13)+; "Senha : ******"+chr(10)+chr(13)+; "Lib.Conexão : "+ mLib_sql+chr(10)+chr(13)+chr(10)+chr(13)+; "Pasta de Dados : "+mPasta_dados) elseif mSGBD_sql = "FIREBIRD" oDirec:="c:\firebird\cones\" IF !FILE(oDirec+mBanco_sql+".fdb") IF FBCreateDB( RTRIM(mip_sql_loc)+":"+oDirec+mBanco_sql+".fdb", "SYSDBA", "masterkey","4096","ISO8859_1",3) # SQL_SUCCESS msginfo("ABRIU CONES.DAT "+chr(10)+chr(13)+chr(10)+chr(13)+; "Endereço do Servidor : "+ mIp_sql_loc +chr(10)+chr(13)+; "Porta : "+ str(mPorta_sql)+chr(10)+chr(13)+; "Bando de Dados : "+ mBanco_sql+chr(10)+chr(13)+; "Usuário : "+ mUser_sql +chr(10)+chr(13)+; "Senha : "+ mUser_sql+chr(10)+chr(13)+; "Lib.Conexão : "+ mLib_sql+chr(10)+chr(13)+chr(10)+chr(13)+; "SGBD : "+msgbd_sql+chr(10)+chr(13)+chr(10)+chr(13)+; "Pasta de Dados : "+mPasta_dados+chr(10)+chr(13)+chr(10)+chr(13)+; "Pasta de Dados : "+mPasta_dados+chr(10)+chr(13)+chr(10)+chr(13)+; "Erro de conexão!!!"+chr(10)+chr(13)+chr(10)+chr(13)+; "Verifique se o banco de dados está criado!"+chr(10)+chr(13)+; "Verifique o Endereço IP, Usuário e senha!"+chr(10)+chr(13)+; "Verifique a Conexão!"+chr(10)+chr(13)) quit ELSE alert("Banco Criado com sucesso") ENDIF ENDIF cConnString = "FIREBIRD="+RTRIM(mip_sql_loc)+":"+oDirec+mBanco_sql+".fdb"+";uid="+mUser_sql+";pwd="+mpwd_sql+";charset=ISO8859_1" nCnn1 := SR_AddConnection( CONNECT_FIREBIRD, cConnString ) if ncnn1 < 0 cConnString = "FIREBIRD="+mip_sql_loc+":"+oDirec+mBanco_sql+".fdb"+";UID="+mUser_sql+";PWD="+mpwd_sql+";CHARSET=ISO8859_1" nCnn1 := SR_AddConnection( CONNECT_FIREBIRD, cConnString ) if ncnn1 < 0 f_esper("Erro de conexão!!!"+chr(10)+chr(13)+chr(10)+chr(13)+; "Verifique se o banco de dados está criado!"+chr(10)+chr(13)+; "Verifique o Endereço IP, Usuário e senha!"+chr(10)+chr(13)+; "Verifique a Conexão!"+chr(10)+chr(13)) CLOSE DATAB quit endif endif SR_GetActiveConnection() SR_recnoname("nrecno") endif elseif upper(mLib_sql) = "DBFCDX" rddsetdefault("DBFCDX") else rddsetdefault("DBFCDX") endif else rddsetdefault("DBFCDX") endif id=code>id=code> xdev libs id=code>id=code>Eduardo Mendes eduardo@conesnet.com.br (MSN) Fwh 9.04 + GTWVW + xH 1.0.0 + xDev + Fast Report + SQLRDD Clipper 5.2e + DBFCDX + Exospace Limeira - SP Quote Link to comment Share on other sites More sharing options...
SAOliveira Posted February 22, 2012 Report Share Posted February 22, 2012 citação: citação:Christiano. Atualmente estou fazendo palestras especÃficas para suas duvidas. Sou formado pela UNCP, PHD em A.A Dimob / SPED(pis/cofins) ..:: Este post é uma opnião pessoal, NAO DEVE SER ENCARADO COMO VERDADE ABSOLUTA ::.. id=quote>id=quote>Sérgio Desculpe a "ingnorância", mas, o que é UNCP e A.A ??? Alberto - SP id=quote>id=quote>UNCP - Universidade Nacional Cara de Páu. A.A este nem precisa explicar. Dimob / SPED(pis/cofins) ..:: Este post é uma opnião pessoal, NAO DEVE SER ENCARADO COMO VERDADE ABSOLUTA ::.. Quote Link to comment Share on other sites More sharing options...
netsys Posted February 23, 2012 Report Share Posted February 23, 2012 KKKKKKKKKKKKKKKKKKKKKK Boa O PHD do Antenor também é otima! Bom trabalho! Alberto - SP Quote Link to comment Share on other sites More sharing options...
CTOAS Posted February 23, 2012 Author Report Share Posted February 23, 2012 Bom dia. Fiz assim: Coloquei as DLL's: COMERR32.DLL FBCLIENT.DLL KRB5_32.DLL LIBEAY32.DLL LIBICONV-2.DLL LIBINTL-2.DLL LIBMYSQL.DLL LIBPQ.DLL OCI.DLL SSLEAY32.DLL E adicionei as LIB's: FBCLIENT_BC.LIB LIBMYSQL.LIB LIBPQ.LIB OCI.LIB ODBCCP32.LIB SQL.LIB Mas, ao compilar, da os seguintes erros: Error: Unresolved external 'SQLAllocEnv' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetEnvAttr' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLAllocConnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLDriverConnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLDisconnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeConnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeEnv' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFetch' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetData' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLNumResultCols' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLDescribeCol' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLColAttribute' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLError' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetInfo' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetConnectAttr' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetConnectOption' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetStmtOption' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetConnectOption' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLTransact' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLMoreResults' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetDiagRec' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLTables' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLAllocStmt' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLBindParameter' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLExecDirect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeStmt' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeHandle' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc E não sei como resolver, quem se habilita em ajudar? Quote Link to comment Share on other sites More sharing options...
DonJuan Posted February 23, 2012 Report Share Posted February 23, 2012 Coloque esta Lib C:\bcc582\Lib\PSDK\odbc32.lib Que vai funcionar citação:Bom dia. Fiz assim: Coloquei as DLL's: COMERR32.DLL FBCLIENT.DLL KRB5_32.DLL LIBEAY32.DLL LIBICONV-2.DLL LIBINTL-2.DLL LIBMYSQL.DLL LIBPQ.DLL OCI.DLL SSLEAY32.DLL E adicionei as LIB's: FBCLIENT_BC.LIB LIBMYSQL.LIB LIBPQ.LIB OCI.LIB ODBCCP32.LIB SQL.LIB Mas, ao compilar, da os seguintes erros: Error: Unresolved external 'SQLAllocEnv' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetEnvAttr' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLAllocConnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLDriverConnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLDisconnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeConnect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeEnv' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFetch' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetData' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLNumResultCols' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLDescribeCol' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLColAttribute' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLError' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetInfo' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetConnectAttr' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetConnectOption' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLSetStmtOption' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetConnectOption' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLTransact' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLMoreResults' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLGetDiagRec' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLTables' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLAllocStmt' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLBindParameter' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLExecDirect' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeStmt' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc Error: Unresolved external 'SQLFreeHandle' referenced from C:\MFARMAWIN\LIB\SQL.LIB|sqlsrodbc E não sei como resolver, quem se habilita em ajudar? id=quote>id=quote>Acesse: http://programafontefivewin.blogspot.com/ FHW 10.8, XHB1.2.1, PELLESC 6.5, XDEV 7.2, FASTREPORT, SQLRDD, MySql, Firebird, Postgres "MIGRE SEUS SISTEMAS EM CLIPPER PARA 32BITS COM BANCOS SQL" Quote Link to comment Share on other sites More sharing options...
CTOAS Posted February 23, 2012 Author Report Share Posted February 23, 2012 citação:Coloque esta Lib C:\bcc582\Lib\PSDK\odbc32.lib Que vai funcionar id=quote>id=quote>Com esta LIB resolveu a compilação. Agora vou testar a conexão. Obrigado. Quote Link to comment Share on other sites More sharing options...
ltorreslm Posted February 11, 2014 Report Share Posted February 11, 2014 Señores Mi nombre es Luis Torres de Lima-Peru, pague el curso del Sr. Axel, via Paupal desde Mayo del 2013, pero hasta ahora no concluye su curso, me da siempre excusas, que se malogro su internet, que tiene un familiar enfermo, que esta de viaje, Etc. solo me dio dos clases de tanto que le rogue, pero ahora esta desaparecido, evaluen ustedes la profesionalidad de este señor. Gracias Traducido por Google Srs. Meu nome é Luis Torres de Lima-Peru, pagar o curso do Sr. Axel, via Paupal desde maio de 2013, mas até agora concluiu o seu curso, estou sempre a desculpa de que seu fracasso internet, você tem uma família doente esta viagem, etc Eu só levei duas classes que tanto desonestos, mas agora se foi, avaliar-lhe o profissionalismo desse homem. obrigado Quote Link to comment Share on other sites More sharing options...
evertonlb Posted February 11, 2014 Report Share Posted February 11, 2014 Quem é o Sr. Axel? Quote Link to comment Share on other sites More sharing options...
evertonlb Posted February 11, 2014 Report Share Posted February 11, 2014 Ah.. esse tal de DonJuan... Quote Link to comment Share on other sites More sharing options...
Erciley Junior Posted February 11, 2014 Report Share Posted February 11, 2014 SPAM detected Quote Link to comment Share on other sites More sharing options...
ltorreslm Posted February 13, 2014 Report Share Posted February 13, 2014 Si, es ese Don Juan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.