Silverfrost Forums

Welcome to our forums

ClearWin+ from MSVC

16 May 2017 4:24 #19635

I thought I saw a page on this site or in the documentation on using ClearWin+ with other compilers but I can't seem to find it now.

Can anyone point me in the right direction?

I'm using Microsoft Visual C++ to compile the C++ aspect of our project which has ClearWin+ references and is then being linked with our 64 bit Fortran code.

Thanks in advance

Ryan

16 May 2017 8:52 #19636

Ryan

ClearWin+ is available as a 64 bit DLL but we have only published information on how to use it, first with third-party Fortran compilers and then recently with FTN95.

You could use it with 64 bit Microsoft C++ but you may need some basic information on how to get started.

17 May 2017 9:21 #19638

Paul,

I found the link ( http://www.silverfrost.com/57/using_clearwin_with_non-silverfrost_c_compilers.aspx ) on how to use ClearWin+ with MSVC. I have it working with plain old MSVC 32 bit now.

I was wondering which version to use as that download seems a few years old but the 8.10 version is not MSVC friendly.

By the looks of it I'll have to update the ClearWin+.h include file shipped with 8.10 and use that. Other than that, it should not be too onerous.

17 May 2017 9:32 #19639

Ryan

Yes. That's right. Once you have got winio to connect correctly you just need to remember that HWND, LPARAM, WPARAM and LRESULT are 64 bit values.

Please login to reply.