Page 1 of 1

msvc compiler / linker

Posted: Wed Aug 15, 2007 7:35 pm
by don lowenstein
Where can I download current version of msvc 6.0????

The link on fivewin web site takes me to microsoft, but I'm not sure what to download?????

Posted: Wed Aug 15, 2007 9:02 pm
by Antonio Linares
Don,

You may use MSVC 6.0 but we have found that Harbour/xHarbour and FWH work better if VC 98 is used. I know, it sounds quite strange, but its true :-) (Microsoft is using .NET on latest versions, turning them more complex internally).

Also, if you ever plan to use xHarbour.com, we also need to build FWH using VC 98 to get full compatibility with it.

The problem is to get VC 98, as Microsoft provided it for free, but its difficult to locate it. The only solution we can offer to you is to provide it to you.

Posted: Wed Aug 15, 2007 9:48 pm
by don lowenstein
I think that is what I have. The box (I purchased it many years ago) says Visual C++ 6.0 but installs to the following folder:

C:\Program Files (x86)\Microsoft Visual Studio\VC98>

The link.exe is:
06/25/1998 12:00 AM 462,901 LINK.EXE

The compiler is:
06/17/1998 12:00 AM 65,536 CL.EXE

Also, I located the msvcrt.lib you suggested:
06/17/1998 12:00 AM 189,676 MSVCRT.LIB

Are these the files I need?

Posted: Wed Aug 15, 2007 10:40 pm
by Antonio Linares
Don,

Cool, you have the right files :-)

Posted: Fri Aug 17, 2007 11:18 pm
by don lowenstein
More testing with MSVC.

I use dynamic calling of Image2PDF.dll for creating .pdf files. With Borland compiler / linker - - works no problem.

With MSVC I get a gpf (from microsoft - not FWH GPF).

Question - shouldn't my FWH .exe be able to call any .dll dynamically without regard to the contructs of the .dll file? Why would my program generate a Microsoft gpf when calling with the MSVC version and not with the Borland version?

Can the MSVC use the FWH dynamic calling of a DLL?

Here is my calling code:

calldll := 'Image2PDF.DLL'
NDLL := LOADLIBRARY( CALLDLL )
IF ABS( NDLL ) <= 32 // could not load library
NDLL := NIL
ENDIF

CALLPROC := "I2PDF_SilentRunning"
RETURN_TYPE := VOID
CFARPROC := GetProcAddress(NDLL,CALLPROC, PASCAL_TYPE, RETURN_TYPE, LONG )
RETVAL := CALLDLL( CFARPROC )

Posted: Sat Aug 18, 2007 7:09 am
by Antonio Linares
Don,

Is there a demo version of Image2PDF.dll that we can test here ? thanks

Posted: Mon Aug 20, 2007 3:38 pm
by don lowenstein
Sure -

http://www.utilitywarrior.com/Image-to- ... ibrary.htm

This is a great utility - minor changes in your prg's make this a seamless process using .emf files from your tdprint.prg


ps - the "Notify me when a reply is posted" option is not working for my login-id - is a special profile setting required?

Posted: Mon Aug 20, 2007 9:54 pm
by Antonio Linares
Don,

> http://www.utilitywarrior.com/Image-to- ... ibrary.htm

We are going to review it asap

>
This is a great utility - minor changes in your prg's make this a seamless process using .emf files from your tdprint.prg
>

We would like to find a free solution for PDF that we may use from FWH

>
ps - the "Notify me when a reply is posted" option is not working for my login-id - is a special profile setting required?
>

It should work, but these forums are standard (PHPBB) so maybe its a bug, don't know for sure