Search found 429 matches

by Poshu
Mon Mar 04, 2019 1:44 pm
Forum: 3D Programming
Topic: Landscape v4
Replies: 26
Views: 15842

Re: Landscape v4

I get an array out of bound whenever I try the F5 terrain, and it's pretty impressive otherwise :3
by Poshu
Tue Dec 04, 2018 9:50 pm
Forum: Tricks 'n' Tips
Topic: [WIP] FastCGI
Replies: 0
Views: 1064

[WIP] FastCGI

The implementation of FastCGI in PB is very limited (it's actually closer to SCGI than FCGI), and I need to write a real FCGI application... So I gave it a try : FastCGI being 22 years old, it's really simple and it only took me a few hours to have a working proof of concept. If someone needs it too...
by Poshu
Wed Nov 21, 2018 11:55 pm
Forum: Feature Requests and Wishlists
Topic: FastCGI multiplexing
Replies: 1
Views: 2167

Re: FastCGI multiplexing

*bump*

Same here : request handle would allow me to speed up my server considerably.
by Poshu
Mon Oct 22, 2018 11:33 am
Forum: Announcement
Topic: PureBasic 5.70 LTS is out !
Replies: 252
Views: 134113

Re: PureBasic 5.70 LTS beta 2 is out !

SparrowhawkMMU wrote:+1 It's a status code, not necessarily an error code. It would be odd to check for Error Code = 200 OK!
Mmmh... Microsoft thinks it's perfectly fine : ERROR_SUCCESS is one of their staple error messages.
by Poshu
Fri Aug 03, 2018 9:24 pm
Forum: Tricks 'n' Tips
Topic: Borderless window with native shadow (Vista+)
Replies: 25
Views: 8118

Re: Borderless window with native shadow (Vista+)

Yup. Damn you're fast!
Thanks a lot!
by Poshu
Fri Aug 03, 2018 5:59 pm
Forum: Tricks 'n' Tips
Topic: Borderless window with native shadow (Vista+)
Replies: 25
Views: 8118

Re: Borderless window with native shadow (Vista+)

Wow! It retains the default functionality and shortcuts on windows 10 (windows + directional arrow, stuff like that). Any way to keep the resizing capability on the windows itself? I'm not a big fan of the status bar. From what I can understand, it has to do with the WM_NCCALCSIZE message; I'm toyin...
by Poshu
Wed Jan 17, 2018 8:53 pm
Forum: Game Programming
Topic: Started to code a SDL2 wrapper :)
Replies: 9
Views: 5851

Re: Started to code a SDL2 wrapper :)

Still no news I guess?

Anyway, I tried Progi1984's wrapper and...
Image

WOW 2007!
by Poshu
Thu Jul 13, 2017 3:36 pm
Forum: Coding Questions
Topic: DLL, Ascii and freememory?
Replies: 4
Views: 2142

Re: DLL, Ascii and freememory?

I should have been more precise : it's a dll for a closed source game, so I cant make the game call function it doesnt usually do.

So, solution left : use PB 5.43 or create a global *buffer for all my procedurereturns?
by Poshu
Thu Jul 13, 2017 6:20 am
Forum: Coding Questions
Topic: DLL, Ascii and freememory?
Replies: 4
Views: 2142

DLL, Ascii and freememory?

Hello! I'm currently writing a DLL for a software than only support ascii. ProcedureDLL myfunction() Protected *result = Ascii("myresult!") ProcedureReturn *result EndProcedure Works nicely... Except I can't figure how/when can I freememory() the buffer allocated by ascii()... Any help?
by Poshu
Wed Dec 07, 2016 6:33 am
Forum: Tricks 'n' Tips
Topic: Code39 bar code generator module
Replies: 1
Views: 1852

Code39 bar code generator module

Hi there! I needed a quick code39 generator to prove a point. It's dirty and it will break if you try any unsupported character , but otherwise it's working and you could build upon it: ; Code39 barcode generator module for PB 5.50 ; Note : this is DIRTY, a lot of wasted ram and a slow way to proces...
by Poshu
Tue Aug 30, 2016 8:16 am
Forum: Announcement
Topic: GDI+, the beginnings of a class-based wrapper
Replies: 16
Views: 10157

Re: GDI+, the beginnings of a class-based wrapper

iirc, someone did a complete GDI+ wrapper on the french forum, you might want to take a look there.
by Poshu
Tue Dec 29, 2015 2:20 pm
Forum: Windows
Topic: _stat()
Replies: 1
Views: 2071

_stat()

Structure stat st_dev.l; /* ID of device containing file */ st_ino.l; /* File serial number */ st_mode.w; /* Mode of file */ st_nlink.w; /* Number of hard links */ st_uid.w; /* User ID of the file */ st_gid.w; /* Group ID of the file */ st_rdev.l; /* Device ID */ st_size.l; /* file size, in bytes *...
by Poshu
Tue Dec 15, 2015 8:09 am
Forum: Announcement
Topic: pb-win-notify
Replies: 19
Views: 13316

Re: pb-win-notify

You should rather thanks deseven :p
by Poshu
Mon Dec 14, 2015 7:03 pm
Forum: Announcement
Topic: pb-win-notify
Replies: 19
Views: 13316

Re: pb-win-notify

I'm trying to learn to use git, and I thought it was a good idea to publish my changes on this projet: _ module format _ Notifications can be placed anywhere on the screen (it's a bit of an hack to keep the general api the same, see example-advanced.pb) : http://i.imgur.com/zMzAPQD.png My fork : htt...
by Poshu
Sun Dec 13, 2015 4:06 pm
Forum: Tricks 'n' Tips
Topic: Awesomium - Chromium based Framework
Replies: 64
Views: 52801

Re: Awesomium - Chromium based Framework

Wrapper is still working in PB 5.31+ on Windows 10. Actually the example just not targeting the DLL correctly (instead in temporary) and some small syntax changes. :D Still work in 5.40 too but, if you don't want to spend half an hour to figure what's wrong, remember to use pb x86! (I forgot my def...