if exist "%HB_DIR_PGSQL%\bin\libpq.dll" call :P_MSVC_IMPLIB "%HB_DIR_PGSQL%\bin\libpq.dll" "%HB_LIB_INSTALL%\libpq.lib" Brgds, Viktor
On Thu, Apr 30, 2009 at 4:02 PM, Viktor Szakáts <harbour...@syenar.hu>wrote: > Okay so you seem to be using some other distro which provide MinGW libs > only. If you look into postinst.bat you can experiment with .lib generation > from .dll, please try with this line: > if exist "%HB_DIR_PGSQL%\bin\libpq.dll" call > :P_MSVC_IMPLIB "%HB_DIR_PGSQL%\libpq.dll" "%HB_LIB_INSTALL%\libpq.lib" > > Brgds, > Viktor > > On Thu, Apr 30, 2009 at 3:48 PM, sygecom <leona...@sygecom.com.br> wrote: > >> >> Hi Viktor, >> >> If in the case of the MSVC LIB Postgresql is the only copy, then do not >> really have the LIB LIBPG.LIB in my installation of PostgreSQL. You just >> LIBPQ.A, I am using version NO-INSTALL. >> >> And about the error in my application it gives error on line below: >> REPLACE REG1 WITH vATUAL2 >> >> Where this is a simple recording system at the beginning with the date >> that >> the system is open. >> The full function is below: >> >> USE DADOS ALIAS DADOS SHARED >> SELE DADOS >> IF Rlock() >> REPLACE REG1 WITH vATUAL2 // error >> Dbcommit() >> DBUNLOCK() >> ENDIF >> >> And the error that is returning this below in a file with name of >> HB_OUT.LOG: >> >> Unrecoverable error 9201: hb_cdxGoHot: multiple marking buffer as hot. >> >> Note: The error occurs with both MSVC 9.0 and 5.5.1 with BCC, the three >> lines below is one line of my file .HBP >> >> {win}libs=hwgui hbbmcdx procmisc hbmzip hbziparc hbct hbtip hbwin xhb >> hbhpdf >> libhpdf libpng hbblat blat >> {win}gt=gtgui >> run=yes >> >> I am using a compiled .BAT with the following line: >> hbmk2 -inc -st -trace -oSAGI *.prg SAGI.RC >> >> Leonardo Machado >> >> >> Szakáts Viktor wrote: >> > >> > Hi Leonardo, >> > >> > >> >> My postgresql is installed in D: \ pgsql and am using version 8.2.5. I >> >> believe that the Harbor at the time that this building look for >> LIBPQ.DLL >> >> to >> >> generate the LIBPQ.LIB. And I checked and is in D: \ pgsql \ BIN >> > >> > >> > No, for MSVC the supplied lib is simply copied, which should be >> > where I indicated in prev mail. Only for a few libs there is actual >> > generation from .dlls in case of MSVC. >> > >> > >> >> But by LIB of PostgreSQL is not my biggest problem. My biggest problem >> is >> >> that of my application is compiled without error and is not running >> more, >> >> neither with nor with MSVC and BCC, which does not change any line from >> >> when >> >> the error that was reported by the HBBLAT. >> >> In my application still does not use the LIB PGSQL.LIB, he is still >> >> doing. >> >> Only reported the problem with the LIB LIBPQ.LIB why I use it in future >> >> and >> >> now I'm adapting. >> > >> > >> > If you have something specific pls tell, maybe we can solve it. >> > >> > Brgds, >> > Viktor >> > >> > _______________________________________________ >> > Harbour mailing list >> > Harbour@harbour-project.org >> > http://lists.harbour-project.org/mailman/listinfo/harbour >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Error-compiling-with-MSVC-and-BCC-tp23306719p23316679.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 >> > >
_______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour