Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread sygecom
Hi Viktor, Thanks, I put this line and test the next time I compile the Harbor of SVN. Leonardo Machado Szakáts Viktor 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

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread sygecom
Hi Przemyslaw, Ok, it was only to remove BMDBFCDX that solved the problem, thank you for your attention. And speaking of BMDBFCDX, there is some planning for the future to optimize the harbour that neither the type of RMDBFCDX xharbour.com? Leonardo Machado Przemyslaw Czerpak-2 wrote: > > On

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread Viktor Szakáts
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 wrote: > Okay so you seem to be using some other distro which provide MinGW libs > only. If you look int

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread Viktor Szakáts
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" "%

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread Przemyslaw Czerpak
On Thu, 30 Apr 2009, sygecom wrote: Hi, > 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 bel

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread sygecom
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 Wher

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread Viktor Szakáts
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

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-30 Thread sygecom
Hi Viktor, 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 But by LIB of PostgreSQL is not my biggest problem. My biggest problem i

Re: [Harbour] Error compiling with MSVC and BCC

2009-04-29 Thread Viktor Szakáts
Hi, On Thu, Apr 30, 2009 at 4:29 AM, sygecom wrote: > Problem 1 - When using MSVC compile is not generating the LIBPQ.LIB, and I > am setting the environment variables correctly both the HB_BUILD_IMPLIB=yes > as HB_DIR_PGSQL=d:\pgsql Probably you don't have file D:\pgsql\lib\pgsql.lib present.

[Harbour] Error compiling with MSVC and BCC

2009-04-29 Thread sygecom
Hello to all, I've updated the SVN Harbor, and I am having two problems: Problem 1 - When using MSVC compile is not generating the LIBPQ.LIB, and I am setting the environment variables correctly both the HB_BUILD_IMPLIB=yes as HB_DIR_PGSQL=d:\pgsql Problem 2 - My application when compiled with