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 49 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Is Shutdown a reserved common block name?
Ryan

Replies: 5
Views: 44

PostForum: ClearWin+   Posted: Thu Aug 16, 2018 9:06 pm   Subject:
I could have missed it, but a global search does not reveal anything else named the same. I'll put it aside for now.
  Topic: Is Shutdown a reserved common block name?
Ryan

Replies: 5
Views: 44

PostForum: ClearWin+   Posted: Thu Aug 16, 2018 4:36 pm   Subject: Is Shutdown a reserved common block name?
Is the name 'Shutdown' reserved for a standard ClearWin+ common block?

I have some code that declares it, on turning up the heat (compiler warnings etc.) I get the following error but have no other ...
  Topic: Debugging 64 bit C++ source
Ryan

Replies: 1
Views: 73

PostForum: 64-bit   Posted: Thu Aug 02, 2018 1:21 pm   Subject: Debugging 64 bit C++ source
Fortran and C++ source intermingled is able to be debugged and stepped into / between under 32 bit.

In 64 bit, an assembly listing is output instead of the C++ source code.

I can see from the re ...
  Topic: Obtaining edit_info type for an edit box in gFortran 64 bit
Ryan

Replies: 16
Views: 940

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: 940

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: 940

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: 940

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: 940

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: 391

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: 724

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: 724

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: 724

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: 1465

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: 1465

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: 1465

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 ...
 
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