forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 148 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Thu Dec 13, 2018 9:28 am   Subject:
Paul,

I have already tried a switch allowing multiple instances for INTEL linker xilink (the switcch is /FORCE:MULTIPLE) and it worked although this is not the preferred solution I think.

Instea ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Wed Dec 12, 2018 5:03 pm   Subject:
Paul,

in the INTEL 64 bit compile environment we link a big GUI application with respect to Salford's clearwin64.dll from version 7.10 and use the corresponding clearwin64.lib for the link command ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Tue Dec 11, 2018 3:45 pm   Subject:
Paul,

a test application linked against clearwin64.lib of Salford 8.30 and using the new clearwin64.dll (Version 20.12.8.7) worked successfully and produced the GUI interface expected. No Runtime e ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Tue Dec 11, 2018 2:41 pm   Subject:
Paul,

meanwhile I found that I could link against library clearwin64.lib (SALFORD 7.10), as well, to resolve the unresloved symbols of the previous entry.

Is clearwin64.lib meant for linking 64 ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Tue Dec 11, 2018 12:36 pm   Subject:
Paul,

sorry I had some problems with copy and paste in my last post. So here is the code of dynamic_menu_0.for:

integer*4 i
integer*8 handle
i = winio$('%mn[&Wind ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Tue Dec 11, 2018 12:11 pm   Subject:
Paul,

I am confused now for we need to link against clearwin64.a when creating the corresponding executable from the code mentioned below and named dynamic_menu_0.for via INTEL ifort compile enviro ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Mon Dec 10, 2018 5:06 pm   Subject:
Paul,

we have created a 64 bit GUI application using INTEL Fortran linking against clearwin64.a (of SALFORD's ftn95 Version 7.10) and having created the mod and object files from the sources locat ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Fri Dec 07, 2018 11:05 am   Subject:
Paul,

thanks, this helped, the warning disappeared. There are other routines/interfaces in file clrwin.f95 concerning menu handles which should be changed in the same way I think.

However, there ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Thu Dec 06, 2018 2:04 pm   Subject:
Paul,

does

integer(C_INT),value::menu


in the interface statement of remove_menu_item$ not say that I have to pass a parameter of type INTEGER*4 to remove_menu_item$? An does ...
  Topic: Inconsistent menu handle types in module file clrwin.f95?
DietmarSiepmann

Replies: 17
Views: 322

PostForum: 64-bit   Posted: Thu Dec 06, 2018 11:57 am   Subject: Inconsistent menu handle types in module file clrwin.f95?
Module file ftn95\sources64\clrwin.f95 of Salford ftn95, version 8.30 contains subroutines add_menu_item$ and remove_menu_item$ which have menu parameters of different types. The corresponding code in ...
  Topic: Output Window functionality + clearwin64.dll
DietmarSiepmann

Replies: 8
Views: 265

PostForum: ClearWin+   Posted: Fri Nov 23, 2018 4:04 pm   Subject:
John, mecej4,

originally the GUI application has been created/linked as a CONSOLE application. If everything works fine (i.e. no errors or warnings) then the application does not execute read or wr ...
  Topic: Output Window functionality + clearwin64.dll
DietmarSiepmann

Replies: 8
Views: 265

PostForum: ClearWin+   Posted: Thu Nov 22, 2018 5:33 pm   Subject:
Thanks for your informations, mecej4, Paul.

I think for the GUI application in question in most cases the output window functionality is used to display error cases.

Hence I am trying to change ...
  Topic: Output Window functionality + clearwin64.dll
DietmarSiepmann

Replies: 8
Views: 265

PostForum: ClearWin+   Posted: Thu Nov 22, 2018 12:47 pm   Subject: Output Window functionality + clearwin64.dll
The Salford Fortran compiler (ftn95) supports option "/WINDOWS" which makes read and write statements go to the so called "Output window" of the application generated - as opposed ...
  Topic: 64-bit app does not display undef runtime error
DietmarSiepmann

Replies: 1
Views: 462

PostForum: 64-bit   Posted: Fri Jul 06, 2018 1:14 pm   Subject: 64-bit app does not display undef runtime error
Following code (named myundef.for) contains an undefined INTEGER(7) variable and has been compiled/linked as a 32 and 64 bit binary using the /undef option. Executing the 32 bit binary results in a ru ...
  Topic: Bad SLINK64 diagnostics
DietmarSiepmann

Replies: 18
Views: 1740

PostForum: 64-bit   Posted: Thu Jul 05, 2018 9:38 am   Subject:
Dan,

I am afraid for the moment we have to live with the fact that the names and/or interfaces of the 32 bit utilities and 64 bit utilities used for ftn95 code generation differ (to some extent). O ...
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group