msvc compiler / linker

msvc compiler / linker

Postby don lowenstein » Wed Aug 15, 2007 7:35 pm

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?????
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Wed Aug 15, 2007 9:02 pm

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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby don lowenstein » Wed Aug 15, 2007 9:48 pm

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?
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Wed Aug 15, 2007 10:40 pm

Don,

Cool, you have the right files :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby don lowenstein » Fri Aug 17, 2007 11:18 pm

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 )
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Sat Aug 18, 2007 7:09 am

Don,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby don lowenstein » Mon Aug 20, 2007 3:38 pm

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?
Don Lowenstein
www.laapc.com
User avatar
don lowenstein
 
Posts: 197
Joined: Mon Oct 17, 2005 9:09 pm

Postby Antonio Linares » Mon Aug 20, 2007 9:54 pm

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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests