Hi Viktor, Excuse the mess. The problem is with hbblat.lib when compiled with MSVC. This returns me the error below:
hbblat.lib(blatwrp.obj) : error LNK2019: símbolo externo "int __cdecl cSend(char *)" (?cSend@@yah...@z) sin resolver al que se hace referencia en la función _HB_FUN_HB_BLATSEND Note: When compiled with BCC has no problem. Leonardo Machado Szakáts Viktor wrote: > > Hi Leonardo, > > Sorry I'm confused about your problem now, is libpq.lib > a problem? isn't it generated, or is it wrongly generated? > If it's not generated probably it cannot find the .dll > in places defined in postinst.bat. > > As for blat.lib, I have no idea, here it works with default > setting without any problems. > > Brgds, > Viktor > > On 2009.04.27., at 4:31, sygecom wrote: > >> >> Hi Viktor, >> >> Sorry for misinformation in the previous post, I put a function call >> HB_BLATSEND to resolve the problem and continue my testing, and >> forgot to >> remove when you recompile the function. But now that removed the error >> persists. The only difference now is that the harbor that >> automatically >> generates the blat.lib and not generated the libpq.lib. >> The error below is still, if you have any tips to adjust I appreciate. >> >> ***error >> hbblat.lib(blatwrp.obj) : error LNK2019: símbolo externo "int __cdecl >> cSend(char *)" (?cSend@@yah...@z) sin resolver al que se hace >> referencia en >> la función _HB_FUN_HB_BLATSEND >> *** >> >> Leonardo Machado >> >> >> sygecom wrote: >>> >>> Hello Viktor, >>> >>> I was using the SIM SET HB_BUILD_IMPLIB = yes but when compiled >>> with MSVC >>> the Harbour he led the LIB automatically, but my latest version of >>> MSVC is >>> a little outdated, I will rebuild and come back to the results. >>> >>> Leonardo Machado >>> >>> >>> Szakáts Viktor wrote: >>>> >>>> Hi Leonardo, >>>> >>>> Did you try building Harbour with HB_BUILD_IMPLIB=yes? >>>> This way blat.lib will be generated for you automatically, >>>> and hopefully in a usable form. >>>> >>>> Brgds, >>>> Viktor >>>> >>>> On 2009.04.26., at 18:17, sygecom wrote: >>>> >>>>> >>>>> Hi Viktor, >>>>> >>>>> So I decided that even commenting this function in Hwgui. But now >>>>> I'm having >>>>> another problem is that the LIB hbblat.lib which is giving the >>>>> error >>>>> below: >>>>> >>>>> hbblat.lib(blatwrp.obj) : error LNK2019: símbolo externo "int >>>>> __cdecl >>>>> cSend(char *)" (?cSend@@yah...@z) sin resolver al que se hace >>>>> referencia en >>>>> la función _HB_FUN_HB_BLATSEND >>>>> >>>>> I am generating the blat.lib starting the blat.dll thus: >>>>> >>>>> \bcc55\bin\impdef.exe blat.def blat.dll >>>>> lib /def:blat.def >>>>> >>>>> Leonardo Machado >>>>> >>>>> >>>>> Szakáts Viktor wrote: >>>>>> >>>>>> Hi Leonardo, >>>>>> hwgui defines a public symbol already defined in hbct. >>>>>> >>>>>> I'd consider this a bug in hwgui, where DELETEFILE() >>>>>> should either be renamed or moved to a separate source file. >>>>>> >>>>>> Brgds, >>>>>> Viktor >>>>>> >>>>>> On Sun, Apr 26, 2009 at 7:30 AM, sygecom <leona...@sygecom.com.br> >>>>>> wrote: >>>>>> >>>>>>> >>>>>>> Hello to All, >>>>>>> I'm trying to compile my application with MSVC, and it returns me >>>>>>> the >>>>>>> errors >>>>>>> below, someone would give me a tip to avoid this error? >>>>>>> >>>>>>> Note: Both the Harbour as Hwgui been compiled with MSVC 9.0 and >>>>>>> Harbour >>>>>>> SVN >>>>>>> is to the day 04/23/2009. >>>>>>> >>>>>>> Note: If you compile with the error BCC5.5.1 not any. >>>>>>> >>>>>>> ***ERROR >>>>>>> hbmk: Linker command: >>>>>>> hbct.lib(files.obj) : error LNK2005: ya se definió >>>>>>> _HB_FUN_DELETEFILE en >>>>>>> hwgui.lib(misc.obj) >>>>>>> LINK : fatal error LNK1104: no se puede abrir el archivo >>>>>>> 'LIBC.lib' >>>>>>> ***END ERROR >>>>>>> >>>>>>> Leonardo Machado >>>>>>> -- >>>>>>> View this message in context: >>>>>>> http://www.nabble.com/Error-compiling-with-%2B-Hwgui-Harbour.-tp23239393p23239393.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 >>>>>> >>>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Error-compiling-with-%2B-Hwgui-Harbour.-tp23239393p23243693.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 >>>> >>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Error-compiling-with-%2B-Hwgui-Harbour.-tp23239393p23249186.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 > > -- View this message in context: http://www.nabble.com/Error-compiling-with-%2B-Hwgui-Harbour.-tp23239393p23250099.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