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 46 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Obtaining edit_info type for an edit box in gFortran 64 bit
Ryan

Replies: 16
Views: 339

PostForum: ClearWin+   Posted: Thu May 17, 2018 12:54 pm   Subject:
Your sample code works well for me.

The original code I posted almost works but exits when interacting with the child window. This may have been due to the bug you said was in my code. if you want ...
  Topic: Obtaining edit_info type for an edit box in gFortran 64 bit
Ryan

Replies: 16
Views: 339

PostForum: ClearWin+   Posted: Wed May 16, 2018 4:13 pm   Subject:
Forgot to say, thank you very much Paul.
  Topic: Obtaining edit_info type for an edit box in gFortran 64 bit
Ryan

Replies: 16
Views: 339

PostForum: ClearWin+   Posted: Wed May 16, 2018 4:12 pm   Subject:
Yes, it does seem to work for me now.

It was only a hacked together proof of concept, but those issues might exist in the larger codebase.

This might also fix the issue I was having with OpenGL ...
  Topic: Obtaining edit_info type for an edit box in gFortran 64 bit
Ryan

Replies: 16
Views: 339

PostForum: ClearWin+   Posted: Wed May 16, 2018 12:40 pm   Subject:
Thank you, unfortunately there is a different error on an unrelated format string now.

The line;
i=winio$('%pv%fr&',400,300)

Results in an error 'Too few arguments to satisfy WINIO@ format ...
  Topic: Obtaining edit_info type for an edit box in gFortran 64 bit
Ryan

Replies: 16
Views: 339

PostForum: ClearWin+   Posted: Wed May 16, 2018 11:21 am   Subject: Obtaining edit_info type for an edit box in gFortran 64 bit
I am attempting to use ClearWin+ from gFortran to create an edit box and obtain a handle to the edit_info data for the box created. The edit_info parameter is not accepted by ClearWin+.

I have trie ...
  Topic: Tracking down the cause of 'No OpenGL buffers are open'
Ryan

Replies: 2
Views: 227

PostForum: ClearWin+   Posted: Mon Mar 26, 2018 11:08 am   Subject: Tracking down the cause of 'No OpenGL buffers are open'
I appreciate that ClearWin passes the API calls for OpenGL through to the OS.

In this instance it is issuing an error popup when I attempt to redraw an OpenGL window. The error is 'ClearWin+ error ...
  Topic: Difference in handling of %cw across compilers
Ryan

Replies: 4
Views: 477

PostForum: ClearWin+   Posted: Thu Mar 08, 2018 6:51 pm   Subject:
My thinking on this was that %eb produced a standard Windows control from which I could get the handle and pass to open_to_window$ which accepts a standard windows handle.

Obviously there is someth ...
  Topic: Difference in handling of %cw across compilers
Ryan

Replies: 4
Views: 477

PostForum: ClearWin+   Posted: Thu Mar 08, 2018 2:40 pm   Subject:
Understood. As a test I am trying to get %eb to work in Silverfrost 64 bit and I'm failing.

Similar to the above issue, the redirected output disappears but does not turn up in the edit buffer. Thi ...
  Topic: Difference in handling of %cw across compilers
Ryan

Replies: 4
Views: 477

PostForum: ClearWin+   Posted: Mon Feb 26, 2018 10:23 pm   Subject: Difference in handling of %cw across compilers
The ClearWin code below behaves differently on two different compilers (ftn95 and gfortran). The ftn95 version works as expected (a new window is created for the initial prints / writes and the MDI ch ...
  Topic: %og fails at runtime when adding grave character
Ryan

Replies: 11
Views: 1036

PostForum: ClearWin+   Posted: Mon Jan 29, 2018 11:37 am   Subject:
As noted above, I have tried passing a 64 bit value. This is for the icont parameter, not opengl_proc parameter which seems to be working.

From ftn95.chm '%^og indicating that a call-back function ...
  Topic: %og fails at runtime when adding grave character
Ryan

Replies: 11
Views: 1036

PostForum: ClearWin+   Posted: Sun Jan 28, 2018 9:50 pm   Subject:
That handle is used in the print function in a call to SET_OPENGL_CONTEXT .

Like your code, the main window hwnd is grabbed via %hw too.

I'll have to look at %gr, I'm learning as I go as this is ...
  Topic: %og fails at runtime when adding grave character
Ryan

Replies: 11
Views: 1036

PostForum: ClearWin+   Posted: Sun Jan 28, 2018 9:08 pm   Subject: %og fails at runtime when adding grave character
The following code fails at runtime with 'Argument number 4 of WINIO@ (continuation 7) should be a 64 bit integer'. This is using gFortran to call ClearWin+. Is there another way to extract a handle t ...
  Topic: Possibly useful little routines
Ryan

Replies: 4
Views: 783

PostForum: General   Posted: Thu Jan 25, 2018 12:03 pm   Subject:
Have you thought of making them open source and putting them on a public repository such as github.com?
  Topic: Confusion calling winio in 64 bit from gFortran
Ryan

Replies: 2
Views: 858

PostForum: ClearWin+   Posted: Wed Jan 03, 2018 2:08 pm   Subject:
Are you able to provide an update on when new DLLs might be available? I'm happy to beta test and it would help us move our 64 bit build forward.

Regards

Ryan
  Topic: Confusion calling winio in 64 bit from gFortran
Ryan

Replies: 2
Views: 858

PostForum: ClearWin+   Posted: Thu Nov 09, 2017 12:28 pm   Subject: Confusion calling winio in 64 bit from gFortran
I'm encountering issues with the hidden size parameter when using winio with gFortran. I thought that it was working under gFortran and it was my mistake but I can't see what I'm doing wrong.

inte ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group