Search found 166 matches

by oyster
Mar 29, 2019 1:08
Forum: Libraries
Topic: FLTK C for FreeBASIC Jan 09, 2017
Replies: 209
Views: 30029

Re: FLTK C for FreeBASIC Jan 09, 2017

long time no see D. J. Peters. is he busy coding the oop interface?
by oyster
Feb 08, 2019 12:47
Forum: Windows
Topic: [some OT] questions on DLL(Dynamic library)
Replies: 7
Views: 461

Re: [some OT] questions on DLL(Dynamic library)

@jj2007
I guess you are the author of MasmBasic. The latest one I download is reported that there is a virus in setup.exe by Avira
by oyster
Feb 08, 2019 5:18
Forum: Libraries
Topic: libs 32/64 windows only to execute exe/dll from memory not from disk
Replies: 7
Views: 593

Re: libs 32/64 windows only to execute exe/dll from memory not from disk

may I make a feature request here?
cypher the embedded EXE/DLL, and the cypher/decipher function can be written by users in freeBasic

thanks
by oyster
Feb 08, 2019 5:14
Forum: Windows
Topic: [some OT] questions on DLL(Dynamic library)
Replies: 7
Views: 461

Re: [some OT] questions on DLL(Dynamic library)

Aha, a smart solution. Thanks
by oyster
Feb 04, 2019 9:56
Forum: Libraries
Topic: how to set attribute for IUP according to numerical value?
Replies: 3
Views: 268

Re: how to set attribute for IUP according to numerical value?

WQ1980 wrote:oyster

Code: Select all

IupSetStrAttribute
?

http://webserver2.tecgraf.puc-rio.br/iup/
-> IupSetAttribute

no, no. IupSetAttribute needs the attribute's value to be a string. I am asking why str(600) can not be used directly
by oyster
Feb 04, 2019 7:03
Forum: Community Discussion
Topic: A list of my FreeBASIC activities of the past 10 years.
Replies: 16
Views: 3378

Re: A list of my FreeBASIC activities of the past 10 years.

nice list and thank you for your work on them

Since you have write so many libs/codes, I think it could be more convenient for user to download and for you to update if these works are placed on http://www.github.com or some other website.
by oyster
Feb 04, 2019 5:25
Forum: Libraries
Topic: how to set attribute for IUP according to numerical value?
Replies: 3
Views: 268

how to set attribute for IUP according to numerical value?

maybe this is a "how to covert string to zstring ptr" question? in the following simple code which use the IUP GUI lib, I use IupSetAttribute who has a delcaration in "FreeBASIC-1.05.0-win32\inc\IUP\iup.bi" as declare sub IupSetAttribute(byval ih as Ihandle ptr, byval name as con...
by oyster
Feb 02, 2019 11:21
Forum: Libraries
Topic: iup+cd crash, how to fix?
Replies: 3
Views: 269

Re: iup+cd crash, how to fix?

thanks. this one does not crash
but I found that the underneath GUI interface are painted on the canvas. I have tried

Code: Select all

iupRedraw(ih, 1)
iupUpdate(ih)


in redraw_cb callback function, but nothing changed

Image
by oyster
Feb 02, 2019 4:04
Forum: Libraries
Topic: iup+cd crash, how to fix?
Replies: 3
Views: 269

iup+cd crash, how to fix?

thanks in advance I am using official fbc 1.05.0-win64 and latest built iup/cd library from iup official website the following code is adapted from Phix language's demo on https://rosettacode.org/wiki/Draw_a_pixel because the official C demo http://webserver2.tecgraf.puc-rio.br/cd/en/screenshots_src...
by oyster
Feb 02, 2019 3:40
Forum: Libraries
Topic: Portable GUI toolkit (IUP) version 3.0 (RC2)
Replies: 50
Views: 22641

Re: Portable GUI toolkit (IUP) version 3.0 (RC2)

what is the latest version of your lib? which one,the lib in FBC release and you, is the newest one? i think the one in FBC is new. However 1. the one in FBC are almost direct translation from C header. It is a little hard to use 2. there are only few demos using C_header-translated-bi in FBC. Many ...
by oyster
Feb 01, 2019 6:09
Forum: General
Topic: how to fetch vararg's name and value?
Replies: 2
Views: 181

Re: fetch vararg's name and value

more, for iuphbox, who has 16 attributes, then lua code iuphbox{ iuplabel( title = "Pixel Split: " ), iuptext{ name = "txtSplit", value = Config.Split}, alignment = "ACENTER" } should be translated into var box = iuphbox(iuplabel( title = "Pixel Split: " ), iu...
by oyster
Feb 01, 2019 5:55
Forum: General
Topic: how to fetch vararg's name and value?
Replies: 2
Views: 181

how to fetch vararg's name and value?

I have read https://www.freebasic.net/forum/viewtopic.php?f=9&t=23905&p=222556&hilit=Vararg#p211115 , but it is not I am searching for In fact, I need something like this function fun(...) dim as string theName if "name" in Vararg then theName = name else theName = "admin&...
by oyster
Jan 30, 2019 5:25
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 12595

Re: How many people actually use FreeBasic?

Lost Zergling wrote:@oyster "there are "for each" in vb, I don't know when it will be in fb".
Yes indeed. You can, however, work around the problem using lzle


I, a non making-living-on-programming guy, get totally lost after reading your lzle post
by oyster
Jan 29, 2019 4:00
Forum: Libraries
Topic: wx-c-0-9-0-2 (static and dynamic windows)
Replies: 7
Views: 2109

Re: wx-c-0-9-0-2 (static and dynamic windows)

so where can we download the static lib and bi now? Thanks btw, although the wx-c examples in fbc 1.05 can be compiled and run with wx-c-0-9-0-2.dll, there is a error messagebox Failed to load shared library 'comctl32.dll' (error 126: can't find the module.) p.s. why there is no up-to-date wx-c, I h...
by oyster
Jan 28, 2019 13:28
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 12595

Re: How many people actually use FreeBasic?

> and in fact I don't like to use & to join strings because 2 keys(shift and 7) have to be pressed, I prefer to `+` symbol And what prevents you to use + instead of &? You can use both with FreeBasic. I know + can be used in FB to join string. I finger out both LEFT/RIGHT/MID and & in &...

Go to advanced search