Re: [fpc-devel] C library header - var vs pointer for function arguments

2022-08-04 Thread gabor via fpc-devel
W dniu 2022-08-04 o 07:40, Michael Van Canneyt via fpc-devel pisze: It's best to use pointers, but you can always provide overloads with var arguments. And as Dmitry Boyarintsev pointed out, don't change existing signatures for backwards compatibility. Michael. Thanks. I'll use pointers.

Re: [fpc-devel] C library header - var vs pointer for function arguments

2022-08-04 Thread gabor via fpc-devel
W dniu 2022-08-04 o 02:18, Dmitry Boyarintsev pisze: Consider backwards compatibility in fixes Good point, thanks. However, I mean non-existent / incorrect / not up-to-date declarations. Michał. ___ fpc-devel maillist -

[fpc-devel] C library header - var vs pointer for function arguments

2022-08-03 Thread gabor via fpc-devel
I'd like to provide some fixes for packages that are headers for c libraries. When and should I use the "var" argument for function arguments that return a value, or should I always use pointers (excluding arguments that might accept nil)? Eg: function Foo(var A: Integer): Integer; vs

[fpc-devel] ViewVC not working

2020-11-17 Thread gabor via fpc-devel
Can't open ViewVC page from SVN repository - I'm getting 404 error. Is the website down or is it a temporary problem? I use this address: https://svn.freepascal.org/cgi-bin/viewvc.cgi/ Michał. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Problem with importtl

2020-09-06 Thread gabor via fpc-devel
W dniu 2020-09-06 o 21:41, Bart via fpc-devel pisze: I get: C:\Windows\SysWOW64>importtl msdxm.ocx -n Reading typelib from -n ... An unhandled exception occurred at $00439916: EOleSysError: Fout bij laden van type DLL-bestand. $00439916 OLEERROR, line 569 of ./winunits-base/src/comobj.pp

[fpc-devel] Problem with importtl

2020-09-06 Thread gabor via fpc-devel
I try to import a type library using "importtl" but it fails - ends with EAccessViolation exception. I am using fpc trunk from today. I have tried importing different libraries but with no success. Could someone confirm the problem? d:\fpcupdeluxetrunk\fpc\bin\i386-win32>importtl

Re: [fpc-devel] Google APIs - Authenticate using a service account?

2020-07-10 Thread gabor via fpc-devel
W dniu 2020-07-10 o 22:31, Florian Klämpfl pisze: It starts with simply things: how to use multiple screens with the web based solutions: how to undock chat window, screen cast, participants or videos and arrange them to different screens? Yes, webapps. Readability and usability less