Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » [FIXED] GLDraw,GLCtrl would be nice to work properly (OpenGL ver must be >= 2.1 with full-caps)
Re: GLDraw,GLCtrl would be nice to work properly [message #58561 is a reply to message #58555] Sun, 19 June 2022 20:16 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14256
Registered: November 2005
Ultimate Member
luoganda wrote on Fri, 17 June 2022 12:54

Bazaar(uppHub) thing:
i suggest - don't throw away Bazaar archive - it has a lot of usefull code.
I didn't for example found Serial package or non-bazaar FontSel(dialog)
in uppHub(maybe i overlooked something), which are mostly just copy/paste
packages - since all works out of the box.

For Serial bazaar package i just added this, to adjust a few things,
for linux, i am not sure if this is needed or how it's done.
  void SetWriteTimeout(dword ms){
    COMMTIMEOUTS ct;memset(&ct,0,sizeof(ct));
    ct.WriteTotalTimeoutConstant=ms;SetCommTimeouts(fd,&ct);
  }
  void SetTimeouts(dword msRead,dword msWrite){
    COMMTIMEOUTS ct;memset(&ct,0,sizeof(ct));
    ct.ReadIntervalTimeout=ct.ReadTotalTimeoutMultiplier=MAXDWORD;
    ct.ReadTotalTimeoutConstant=msRead;
    /*ct.WriteTotalTimeoutMultiplier=MAXDWORD;*/
    ct.WriteTotalTimeoutConstant=msWrite; SetCommTimeouts(fd,&ct);
  }


Why do not you start UppHub package for serial?

Seriously, the problem with bazaar was that while it contained a lot of great code, 90% of it was unmaintained.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create a hidden folder?
Next Topic: is memsetex really at optimal speed?
Goto Forum:
  


Current Time: Tue Apr 29 23:45:39 CEST 2025

Total time taken to generate the page: 0.01221 seconds