Hello Lord Satan
uses
...gl, glext...
...
if not Load_GL_version_2_0 then begin
writeln('OpenGL 2.0 is not supported');
Halt;
end;
...
Load_GL_version_2_0 function is declared at glext unit.
you should call it before calling ANY 2.0 OpenGL function.
also check out functions result,
> How can I find out if a socket connection in a nonblocking mode is
> established?
according to the man page, you're doing correct path:
http://linux.die.net/man/2/connect
i did use non-blocking connection for both Linux and OSX, and it did
work as described: by "selecting" sockets for writting.
Hi guys
Are there replacements for the deprecated CreateShellArgV and FreeShellArgV
functions and procedure that are currently defined in genfuncs.inc?
Regards
Nino
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.o
El Sat, 9 May 2009 10:08:50 +0200
Graeme Geldenhuys escribió:
> On Sat, May 9, 2009 at 12:24 AM, "Vinzent Höfler"
> wrote:
> >
> > Actually, you should answer one simple question for yourself: If
> > your life really depended on the system, would you still trust it?
>
> In that case we should a
Hi all,
I am trying to use FPCs OpenGL bindings instead of my own under Linux.
But just replacing my bindings with the FPC ones does not seem to be enough as
I get a segfault.
GDB shows that using a OpenGL 2.0 core function crashes my program.
I have seen that there are extension loading routines
On Sat, May 9, 2009 at 4:46 PM, Michael Van Canneyt
wrote:
>
> I updated them.
> I just unzipped them from the set that is distributed with FPC 2.2.4.
Excellent. Thanks Michael. ;-)
Regards,
- Graeme -
___
fpGUI - a cross-platform Free Pascal GUI
2009/5/9 Gabor Boros :
> Hi,
>
> ftp://ftp.freepascal.org/pub/fpc/dist/2.2.4/docs
Thanks Gabor. That still leaves the documentation on the web server
outdated (the main port of call to most users). But at least now I
have the latest docs. :-)
Regards,
- Graeme -
_
On Sat, 9 May 2009, Rainer Stratmann wrote:
> >Select does *not* tell you if a file descriptor is writeable or readable.
> >It tells you if the read/write operation will block.
> >This is something subtly different.
> This is interesting for blocking mode.
> But since you can switch to nonbloc
On Sat, 9 May 2009, Graeme Geldenhuys wrote:
> Hi,
>
> FPC 2.2.4 has already been released a while back, but the
> documentation available for download (PDF files) are rather old. Could
> new docs be generated and made available for download. Not everybody
> has the skills or package dependenci
On Sat, 9 May 2009 16:03:35 +0200
Jonas Maebe wrote:
> Your reply was just as unnecessary to such an aside.
You are absolutely right. I sincerely apologize and will refrain myself from
commenting on windows in the future.
--
A: Because it messes up the order in which people normally read text
On 09 May 2009, at 15:36, Lord Satan wrote:
On Sat, 9 May 2009 21:02:03 +0800
Lou James wrote:
By the way,Win7 RC is great.
[snip]
No need to reply.
Your reply was just as unnecessary to such an aside. This sort of
discussions are not welcome on this list.
Jonas
FPC mailing lists adm
Hi,
ftp://ftp.freepascal.org/pub/fpc/dist/2.2.4/docs
Gabor
Graeme Geldenhuys írta:
Hi,
FPC 2.2.4 has already been released a while back, but the
documentation available for download (PDF files) are rather old. Could
new docs be generated and made available for download. Not everybody
has the
On Sat, 9 May 2009 21:02:03 +0800
Lou James wrote:
> By the way,Win7 RC is great.
Yeah, and pigs can fly.
http://www.infopackets.com/news/software/windows_tips/2009/20090507_windows_7_users_warned_over_filename_security_risk.htm
http://arstechnica.com/microsoft/news/2009/05/r2e-microsoft-intel-
Op zaterdag 09-05-2009 om 20:44 uur [tijdzone +0800], schreef Lou James:
> Then,open the shortcut and type in my code.Then, when I try to
> compile it,it may popup a error says something about "-opentium3". And
> stop compiling.The only way to correct this error seems to be that I
> must open the
Oh,it seems so
I upgrade my fpc to 2.2.4 in the Ubuntu OS,but forgot windows.
By the way,Win7 RC is great.
2009/5/9 Jonas Maebe
>
> On 09 May 2009, at 14:44, Lou James wrote:
>
> Then,open the shortcut and type in my code.Then, when I try to compile
>> it,it may popup a error says something
fpcl...@silvermono.co.za wrote:
The dentist's reply was that
this was a special version of windows specifically designed to run medical
related critical software. Not being an offensive character, I gave him the
benefit of the doubt. While he was attempting to start the 'tooth profiling'
Pr
On 09 May 2009, at 14:44, Lou James wrote:
Then,open the shortcut and type in my code.Then, when I try to compile
it,it may popup a error says something about "-opentium3".
And stop compiling.The only way to correct this error seems to be
that I
must open the "fp.cfg" file and manually delet
Hi,
This is a problem troubles me for a long time.You should know I'm a student
in high school and I use Free Pascal to
solve some algorithm problem.
Sometimes,when I set a new enviroment(school's computer always clean up
after restart)--that is,to set the Properties
of the shortcut "Start In :"
>Select does *not* tell you if a file descriptor is writeable or readable.
>It tells you if the read/write operation will block.
>This is something subtly different.
This is interesting for blocking mode.
But since you can switch to nonblocking mode every operation will return
immediately.
Here
Hi,
FPC 2.2.4 has already been released a while back, but the
documentation available for download (PDF files) are rather old. Could
new docs be generated and made available for download. Not everybody
has the skills or package dependencies to generate the PDF
documentation themselves.
>From the
On Sat, 9 May 2009, fpcl...@silvermono.co.za wrote:
> According to the FPC rtl.pdf version 2.2.2 Doc version 2.1 of June 2008, page
> 165, states, and I quote: "Description:FPSelect checks one of the file
> descriptors in the FDSets to see if its status changed."
I'll change it to something c
hello Rainer,
do you check the socket's writability by fpFD_ISSET(sck, fds) ?
thanks,
dmitry
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
According to the FPC rtl.pdf version 2.2.2 Doc version 2.1 of June 2008, page
165, states, and I quote: "Description:FPSelect checks one of the file
descriptors in the FDSets to see if its status changed."
//-
On Saturday 0
On Sat, 9 May 2009, Jonas Maebe wrote:
>
> On 09 May 2009, at 09:38, Rainer Stratmann wrote:
>
> >To find out if a nonblocking socket has connected I use the following piece
> >of
> >code:
> >
> >With windows that works, but with linux I get alwas the result that the
> >socket
> >is writable.
On 09 May 2009, at 09:38, Rainer Stratmann wrote:
To find out if a nonblocking socket has connected I use the
following piece of
code:
With windows that works, but with linux I get alwas the result that
the socket
is writable.
function is_writable_socket( sck : integer ) : boolean;
var
On Sat, 9 May 2009, Rainer Stratmann wrote:
> Am Samstag, 9. Mai 2009 12:17 schrieb Michael Van Canneyt:
> > On Sat, 9 May 2009, Rainer Stratmann wrote:
> > > To find out if a nonblocking socket has connected I use the following
> > > piece of code:
> > >
> > > With windows that works, but with
Hi Graeme
You have a point.
About two months ago, I had to visit the dentist because one of my filings was
playing up. The diagnosis was that an old silver filing was leaking and
needed to be replaced. Becase of all the hype about mercury poisoning caused
by silver filings (which from my knowl
Am Samstag, 9. Mai 2009 12:17 schrieb Michael Van Canneyt:
> On Sat, 9 May 2009, Rainer Stratmann wrote:
> > To find out if a nonblocking socket has connected I use the following
> > piece of code:
> >
> > With windows that works, but with linux I get alwas the result that the
> > socket is writabl
On Sat, 9 May 2009, Rainer Stratmann wrote:
> To find out if a nonblocking socket has connected I use the following piece
> of
> code:
>
> With windows that works, but with linux I get alwas the result that the
> socket
> is writable.
>
> function is_writable_socket( sck : integer ) : bool
On Sat, May 9, 2009 at 3:58 AM, Mehmet Erol Sanliturk
wrote:
> For example , in an airplane fall-down many years before ( approximately
> 110 deaths ) it has
> been found that in the automatic pilot software an error situation used a
> STOP statement . During landing it caused release of control
On Sat, May 9, 2009 at 3:58 AM, Mehmet Erol Sanliturk
wrote:
> For example , in an airplane fall-down many years before ( approximately
> 110 deaths ) it has
> been found that in the automatic pilot software an error situation used a
> STOP statement . During landing it caused release of control
To find out if a nonblocking socket has connected I use the following piece of
code:
With windows that works, but with linux I get alwas the result that the socket
is writable.
function is_writable_socket( sck : integer ) : boolean;
var
fds : tfdset;
tv : timeval;
begin
{$ifdef linux}
fpcl...@silvermono.co.za wrote:
Hi guys,
Over the last few years, I have written hundreds of thousands of lines of
object pascal code that compiles successfully using the FPC and Delphi. To
date, I have not encountered any problems with the code generated by the
FP Linux compiler. I don't hav
On Sat, May 9, 2009 at 12:24 AM, "Vinzent Höfler"
wrote:
>
> Actually, you should answer one simple question for yourself: If your life
> really depended
> on the system, would you still trust it?
In that case we should all be very worried. Many critical systems out
there run on Windows - we as
34 matches
Mail list logo