Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-06

OpenGL patch, final(I hope)

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ales Katona

Ok this patch does the following:

Removes the writeln() in case the library fails to load. If the whole library is not found, it throws an exception which tell the library name. If any method within the library is not found it throws an exception with the given method name.

Ales

P.S: it's packed because of size

Reply by email

Florian Klaempfl
to Ales Katona
Ales Katona wrote 10 lines
Ok this patch does the following: Removes the writeln() in case the library fails to load. If the whole library is not found, it throws an exception which tell the library name. If any method within the library is not found it throws an exception with the given method name. Ales P.S: it's packed because of size

Applied. Shall we merge it back to 2.0.x?

Reply by email

Ales Katona
to Florian Klaempfl
Florian Klaempfl wrote 25 lines
Ales Katona wrote: >Ok this patch does the following: > >Removes the writeln() in case the library fails to load. >If the whole library is not found, it throws an exception which tell the >library name. If any method within the library is not found it throws an >exception with the given method name. > >Ales > >P.S: it's packed because of size > > Applied. Shall we merge it back to 2.0.x? _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

IMHO yes, but I haven't tested it much. I know that GL and GLu work with it, and I know that if I get missing/renamed dll it exceptions as advertized. The other goodies are pretty hard to test.

Ales

Reply by email

Michael Van Canneyt
to Florian Klaempfl: Applied. Shall we merge it back to 2.0.x?
Florian Klaempfl wrote 14 lines
Ales Katona wrote: > Ok this patch does the following: > > Removes the writeln() in case the library fails to load. > If the whole library is not found, it throws an exception which tell the > library name. If any method within the library is not found it throws an > exception with the given method name. > > Ales > > P.S: it's packed because of size Applied. Shall we merge it back to 2.0.x?

That would be best.

Michael.

Reply by email