See solution below:
> On 6/15/2014 6:08 PM, m...@rpzdesign.com wrote:
>> I was looking through the RTL and found that cfprecvmsg( ) socket calls
>> into the C Run Time library were commented out.
>>
>> Also commented out cfpsendmsg( ) calls.
>>
>> Whil
my project path?
Thanks for any responses,
marco
On 6/15/2014 6:08 PM, m...@rpzdesign.com wrote:
> I was looking through the RTL and found that cfprecvmsg( ) socket calls
> into the C Run Time library were commented out.
>
> Also commented out cfpsendmsg( ) calls.
>
> While recv
I was looking through the RTL and found that cfprecvmsg( ) socket calls
into the C Run Time library were commented out.
Also commented out cfpsendmsg( ) calls.
While recvfrom( ) is available, it does not include the PTKINFO options
necessary to determine a destination IP address on a multi interf
Hello:
I would like to contribute code to the Free pascal community.
Specifically, it is a CodeBlocks C++ project to compile using MinGW C++
compiler to create a static libraries from www.polarssl.org SSL C-code
for usage by Lazarus/Freepascal on Windows.
It is a little tricky to get all the C c
I thought I had publicly declared what I wanted to do.
Here is the example code again for ease of reference:
Type
Class TTest(TObject)
public
nflag : integer ;
sflag : string[30]
end;
Gui Thread
gtest := TTest.Create ;
Thread #1 - Constantly changing values
while true do
begin
that way.
I have to implement the same thread code in C++ a little later, so there
are no shortstrings in C++, just QStrings. (oops, yeah, I use Qt also)
Cheers,
Marco
On 6/4/2014 2:13 PM, Saunders, Rich wrote:
> On 2014-06-04 13:22, m...@rpzdesign.com wrote:
>> I guess what I was rea
.
Cheers,
marco
On 6/4/2014 1:16 PM, Michael Van Canneyt wrote:
>
>
> On Wed, 4 Jun 2014, m...@rpzdesign.com wrote:
>
>> Hello:
>>
>> Is a string[30] declaration under Linux thread safe?
>
> No.
>
> Michael.
> ___
, Michael Van Canneyt wrote:
>
>
> On Wed, 4 Jun 2014, m...@rpzdesign.com wrote:
>
>> Hello:
>>
>> Is a string[30] declaration under Linux thread safe?
>
> No.
>
> Michael.
> ___
> fpc-pascal mai
Hello:
Is a string[30] declaration under Linux thread safe?
I am not worried about atomicity, just that the memory for a string[30]
if thread safe.
For UTF8String, it is not.
I have 2 threads which are comparing/changing memory and I do not
want criticalsections wrapping the memory accesses for
Mattias:
Just wanted to say "Thank you" for all of your contributions to this
project.
md
On 4/24/2014 3:42 AM, Mattias Gaertner wrote:
> On Wed, 23 Apr 2014 17:42:13 -0400
> "m...@rpzdesign.com" wrote:
>
>> When trying to install lazarus 1.2.2 on Linux Fedo
When trying to install lazarus 1.2.2 on Linux Fedora 14:
fpc-2.6.4-1.x86_64.rpm does not install.
Shows error: "lazarus-1.2.0-0.x86_64 requires fpc = 2.6.2-130317"
I think the dependency tree inside the fpc and fpc-src rpms are crossed.
They somehow need fpc 2.6.2?
Cheers,
md
On 4/23/2014 1
On 4/7/2014 3:44 AM, Lukasz Sokol wrote:
On 07/04/14 04:17, m...@rpzdesign.com wrote:
On 4/6/2014 10:54 PM, Ralf Quint wrote:
On 4/6/2014 7:52 PM, m...@rpzdesign.com
wrote:
Well,
I cannot subscribe to the lazarus mailing list and I can not
enter the forums at forums.lazarus.freepascal.org
, m...@rpzdesign.com wrote:
Well,
I cannot subscribe to the lazarus mailing list and I can not enter
the forums at forums.lazarus.freepascal.org
or www.lazarus.freepascal.org because I can not make an http
connection to either.
Just keep timing out.
FYI for list managers...
Well, you have
, waldo kitty wrote:
On 4/6/2014 5:40 PM, m...@rpzdesign.com wrote:
Jim:
Are you able to web surf to the lazarus.freepascal.org web site?
yes, i can and i do not normally visit that site...
FWIW: icmp may not be being allowed by the destination site or the
router saying that the destination
Martin:
Can you translate what "lower MPU" means?
md
From london / I can open the page in a browser.
Can you try, if you can access it with a lower MPU ? IIRC a very long
time ago, some of the servers or ronnections had an issue / No idea if
that is still an issue at all
C:\Users\mart
*** Request timed out.
19 ** 80.120.208.116 reports: Destination host
unreachable.
On 4/6/2014 1:37 PM, m...@rpzdesign.com wrote:
Help:
Would somebody from the USA and someone from Europe please run a tracert
on their connection to: lazarus.freepascal.org.
I am not able to
Help:
Would somebody from the USA and someone from Europe please run a tracert
on their connection to: lazarus.freepascal.org.
I am not able to reach anything lazarus but I can get freepascal.
I want to ask a question in the lazarus list and surf the lazarus forums
but I cannot.
Thanks,
M
Hello Anybody:
I am on the Freepascal list, but I cannot subscribe to the lazarus list:
*lists*.*lazarus*.freepascal.org/?
since I cannot get to http://www.lazarus.freepascal.org
I can of course reach http://freepascal.org.
Can one of the lazarus list managers contact via email directly for s
Oops,
I will just use man pages from linux, that should get me the info I need.
I do not need pascal specific examples.
md
On 3/22/2014 8:43 PM, m...@rpzdesign.com wrote:
This may seem crazy, but I cannot find any documentation or examples
on fppoll( ) and the events member of TFdPoll
This may seem crazy, but I cannot find any documentation or examples on
fppoll( ) and the events member of TFdPoll structure.
ALso, there is a epoll demo at forum.lazarus.*freepascal*.org
But I cannot ever reach that site from USA.
Anybody know about more documentation on fppoll( ) or epoll( )?
I have been using Delphi 7 forever.
I evaluated Delphi xe5 Update 2.
Today, I use Lazarus 1.2 and FPC 2.6.2.
Lazarus/FPC is just better than Delphi.
All development on Mac/Windows is now with Lazarus.
You FPC/Lazarus guys ROCK.
Best wishes for 2014.
md
_
Darius:
I just went through this and it is fresh in my mind, but with 32 bit code.
I used CodeBlocks with MingGW to compile the c source code to a static
library with an mylib.A suffix.
I am pretty sure you cannot use MSVC to compile the c code.
Then use the {$LINKLIB path/mylib.a} directive
mitry
On Mon, Mar 10, 2014 at 3:21 PM, Ralf Quint <mailto:freedos...@gmail.com>> wrote:
On 3/10/2014 7:23 AM, m...@rpzdesign.com <mailto:m...@rpzdesign.com>
wrote:
Ludo:
I wish the forum.lazarus.freepascal.org
<http://forum.lazarus.freep
You FPC/lazarus guys ROCK.
md
On 3/10/2014 10:12 PM, Mattias Gaertner wrote:
On Mon, 10 Mar 2014 20:18:38 -0400
"m...@rpzdesign.com" wrote:
Jonas:
Where in Lazarus 1.0.14 do I put in the compiler command line option?
-WM10.9
Project Options->Compiler Options->Compi
n Mavericks and above?
But if I use -WM10.6, then this means that I am targeting for Snow
Leopard 10.6 and above?
Thank you for breaking this down today.
Cheers,
md
On 3/10/2014 3:46 PM, Jonas Maebe wrote:
On 10 Mar 2014, at 19:07, m...@rpzdesign.com wrote:
Unfortunately, your suggestion wh
wanting to use gcc instead? If I wanted to do this, I'd
just replace c with a link to gcc.
On 10 March 2014 16:14, m...@rpzdesign.com wrote:
Peter:
I was surprised too. That is why I broadcast the alarm to the FPC
community.
I am running FPC 2.6.2 - Lazarus 1.0.14
Yes, I can recompile F
still continues...
On 3/10/2014 3:18 AM, Jonas Maebe wrote:
On 10 Mar 2014, at 05:15, m...@rpzdesign.com wrote:
After diving deeply into the dependency tree,
there are 2 libraries that are involved in this particular problem:
/usr/lib/libSystem.B.dylib
/usr/lib/libgcc_s.1.dylib
But I cannot
has an internet connection problem.
Funny, last night, I could look at the site for the first time in days,
but this morning, it is not available.
Maybe it suffers denial of service attacks?
Thanks,
md
On 3/10/2014 3:15 AM, Ludo Brands wrote:
On 03/09/2014 08:36 PM, m...@rpzdesign.com
2.6.0.
I was wondering, though, whether there was any enhanced support for
features on the Intel 'Sandy-Bridge' and 'Ivy-Bridge' processors - the
i5 chips.
On 10 March 2014 05:32, m...@rpzdesign.com wrote:
Now that OSX Mavericks 10.9 is running full speed, it has broken th
continues
md
On 3/9/2014 11:32 PM, m...@rpzdesign.com wrote:
Now that OSX Mavericks 10.9 is running full speed, it has broken the
{$LINKLIB gcc} compiler directive.
{$LINKLIB c} still WORKS.
But {$LINKLIB gcc} does not.
The reason is that Mavericks does not use GCC any more, it is using
Now that OSX Mavericks 10.9 is running full speed, it has broken the
{$LINKLIB gcc} compiler directive.
{$LINKLIB c} still WORKS.
But {$LINKLIB gcc} does not.
The reason is that Mavericks does not use GCC any more, it is using clang,
a new compiler.
So now Freepascal users need to know how to r
me Obi-Wan Kenobi, your my only hope.
md
On 3/9/2014 2:52 PM, Marco van de Voort wrote:
In our previous episode, m...@rpzdesign.com said:
Thanks for your response.
I am trying to use {$LINKLIB ceecodelib.a} .
But this compiled c code makes references to Windows C Runtime calls
like _m
solved on OSX.
Thanks for any advice you may have,
Cheers,
md
On 3/9/2014 1:53 PM, Marco van de Voort wrote:
In our previous episode, m...@rpzdesign.com said:
Has anybody got a clue how to statically link the windows c run time with
lazarus/freepascal on Windows 7/8 x32 or x64?
No idea
Oops:
That was a typo error.
First I need to link to c run time on Windows.
Then I need to link to c run time on OSX.
Cheers,
marco
On 3/9/2014 1:42 PM, m...@rpzdesign.com wrote:
Hey:
Has anybody got a clue how to statically link the windows c run time with
lazarus/freepascal on Windows 7
Hey:
Has anybody got a clue how to statically link the windows c run time with
lazarus/freepascal on Windows 7/8 x32 or x64?
Looking at gdbint.pp, there are all sorts of references to {$LINKLIB
libmsvcrt.a}
But there is only libmsvcrt.a when I install MingW 4.8.1 compiler
Since forum.lazaru
Here is a suggestion that might help your compile times.
If you want superfast increases in compiling under
linux/freepascal/lazarus,
switch your development computer to a super fast CPU and especially an
SSD solid state disk drive.
Make sure you have no spinning disks/media in your computer.
Sven:
You ROCK!
md
On 9/30/2013 11:19 AM, Sven Barth wrote:
Am 30.09.2013 15:57, schrieb m...@rpzdesign.com:
But how do you enable the anchor docking extension for Lazarus 1.0.12
and get some control of all the floating panels.
Install AnchorDockingDsgn package, rebuild Lazarus and now
But how do you enable the anchor docking extension for Lazarus 1.0.12
and get some control of all the floating panels.
I personally would want all the panels to come to the front when I click
on any panel
instead of having to click a couple of times to bring console or
messages panel to the for
I totally understand, but I did not discover the problem until
I was well into a larger project that I could not de-construct
to try to generate a reproducible sample.
I am under a time pressure, decided to start using using LAZ/FPC
about 3 months ago,
and when I
Oops, those parameters for Posex were backwards:
res := PosEx('NEEDLE',mypchar,35) ;
On 6/11/2013 7:10 AM, m...@rpzdesign.com wrote:
To Marco and Jeppe:
As for 2 examples:
res := PosEx(mypchar,'NEEDLE',35) ;
res := Copy (mypchar, 10,15) ;
What are the byte boundaries h
rgets, and Android NDK targets!
Cheers,
md
je...@j-software.dk
Could you maybe describe this weird, erratic behavior?
On 6/11/2013 12:58 AM, Marco van de Voort wrote:
In our previous episode, m...@rpzdesign.com said:
Passing a Pchar gives weird, erratic behavior
Please make minimal example
Under Linux using Lazarus 1.0.8/Fpc 2.6.2/Fedora 14 x64:
it seems like mixing Ansistrings and Pchars on certain run time
functions is a real no-no.
I just spent HOURs, trying to see why I was not getting good program
behavior.
Lesson #1: Never call function like Copy( pchar, start, length),
independent code or the linker inside
Lazarus/freepascal goes bonkers.
Just an FYI for anybody who comes across this post in history.
md
On 6/2/2013 7:04 AM, m...@rpzdesign.com wrote:
Ok:
After a night of dwelling on the problem, the easiest solution is to
create
your linux dynamic libraries
/2013 6:45 PM, m...@rpzdesign.com wrote:
Anybody have an opinion about writing dynamic extensions for PHP in
free pascal?
The samples and discussion at:
http://community.freepascal.org/bboards/message?message_id=342130&forum_id=24082
Indicates PHPToolkit, but all of the definitions in
Anybody have an opinion about writing dynamic extensions for PHP in free
pascal?
The samples and discussion at:
http://community.freepascal.org/bboards/message?message_id=342130&forum_id=24082
Indicates PHPToolkit, but all of the definitions inside these file are
way out of date.
My current
Oops,
Looks like there is an internal list coded identifier that links the
thread of emails together.
The moral of the story is to create a completely new email to start
another discussion thread
and stay away from "Reply" button for convenience.
Sorry about the hijacking, it was not intend
attias Gaertner wrote:
"m...@rpzdesign.com" hat am 22. Mai 2013 um 17:18
geschrieben:
Anybody successful putting Freepascal 2.6.2 / Lazarus 1.0.8 on Fedora 18.
I built successfully the 64bit rpms on a FC 18 64bit and had no such problems.
Mattias
__
Which package did you download? (Source package or other?)
md
On 5/22/2013 10:41 AM, Bart wrote:
I installed fpc 2.6.2 from the installscript (not from rpm) in /usr/local.
This works well.
Bart
___
fpc-pascal maillist - fpc-pascal@lists.freepascal
Anybody successful putting Freepascal 2.6.2 / Lazarus 1.0.8 on Fedora 18.
It seems like Fedora 18 has symbolic links which point /bin and /sbin to
/usr/bin and /usr/sbin respectively.
/bin -> /usr/bin
/sbin -> /usr/sbin
Then the compiler chokes an error about "You must have an old compiler"
, m...@rpzdesign.com wrote:
Are you saying that you are writing JNI routines in Pascal for android?
Yes. And luckly it works in all devices =) I was a bit scared that I
might hit a wierd problem here involving code generation or whatever,
but ... just a normal typo in my program.
If so, can you
You sir,
Are a good man.
Thx for the link.
Watch out when the Intel mobile processors come along, I doubt they will
be ARM 7 compatible.
But they may be x86!
md
On 5/22/2013 7:29 AM, Felipe Monteiro de Carvalho wrote:
Hello,
On Wed, May 22, 2013 at 1:50 PM, m...@rpzdesign.com wrote
Are you saying that you are writing JNI routines in Pascal for android?
If so, can you post some of the things like the pascal header files you
use to allow for the creation of the .so files
so that Java can call into pascal across the JNI interface.
I have 2 projects that I need Pascal talkin
for MariaDB (mysql) in
Freepascal.
Thank you for all!
md
On 5/5/2013 3:52 PM, Martin wrote:
On 05/05/2013 22:45, m...@rpzdesign.com wrote:
Inside Lazarus 1.08/FPC 2.6.2, I cannot find where the console output
is sent
while on Mac OSX Lion.
There is a debugger output window, but there does not
Inside Lazarus 1.08/FPC 2.6.2, I cannot find where the console output is
sent
while on Mac OSX Lion.
There is a debugger output window, but there does not seem to be a
console output window while
debugging a program.
Where does writeln( ) output go?
If I run the program from the terminal, th
:31 AM, m...@rpzdesign.com wrote:
I thought of a trick to get around this.
Using XCode, I can build a static library to get me access to the
functions that I need.
But that is not really the point, I would like my freepascal
environment to be correct
and to be able to use the functions contai
cfset.pas.
Any comment
Cheers,
md
On 5/4/2013 10:20 PM, m...@rpzdesign.com wrote:
Anybody have any success with the included units for
CoreFoundation on Mac OSX.
I was trying to use CFSetGetCount( ) function call, it is clearly
defined in CFSet.pas
and yet the linker error is:
Identifier Not
Anybody have any success with the included units for
CoreFoundation on Mac OSX.
I was trying to use CFSetGetCount( ) function call, it is clearly
defined in CFSet.pas
and yet the linker error is:
Identifier Not Found "CFSetGetCount"
But magically, the constants from CFBase.pas compile OK, s
Hello:
I am new to the list, I have posted on the forum, but I don't really
know where the center of gravity is for this FPC/Lazarus Community,
so I will post on the mailing lists as well. And then I do not know if
the Mac List is well subscribed or just the general fpc-pascal list is
better
58 matches
Mail list logo