I have upgraded to v5.01 and trying to rebuild our software compatible for VS2005. I have a simple Win32 example which now gives an error at link time when it didn't with v4.x. I am now using /clr /clr_ver 2 when compiling and using dbk_link2.
The code has a call
type (GDIM) paper integer i,ipapty, ndc,ndt ! call gEnqDrawingLimits(paper,ipapty)
and an interface:
subroutine gEnqDrawingLimits(dim,type) use gino_f77 assembly_interface(name='EnqDrawingLimits') type (GDIM), intent(out) :: dim integer, intent(out) :: type real px,py dim=new@('GinoGraphics.GDIM') call papenq(px,py,type) dim%xpap=px dim%ypap=py end subroutine
When compiling I get an error:
[DBK_LINK Ver. 2.0.0 Copyright(c) Silverfrost Ltd 2001-2006] *** Attempt to call Void GENQDRAWINGLIMITS(GINO_F77!GDIM*, Int32*) as if it were GENQDRAWINGLIMITS(GINO_F77!GDIM*, System.Int32*)
What is the difference between Int32* and System.Int32* and how do I avoid this error?