Actually, rather than continuing this, if what you need is only to copy a
dynamic array then you can simply:
dst := Copy(src,0,Length(src));
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Got-Pointer-expected-Open-Array-Of-Char-tp4028513p4028525.html
What's the output of: which lazarus
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Startlazarus-starting-wrong-Lazarus-tp4028516p4028522.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
> I think making src also a var parameter...
Or const since it's meant to be read only
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Got-Pointer-expected-Open-Array-Of-Char-tp4028513p4028521.html
Sent from the Free Pascal - Lazarus mailing list archiv
What's the type of dst and src that you pass to the function? Array is not
pointer, and I have no idea about open array with var modifier. Open array
is compatible with any array (and its subarrays through slicing).
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.co
> As far as I know pascal inline directive only affect the compiler, not how
you write code. Could you please give an example how inline function helps
in my question?
Yes it does, what I mean is to create something that Point() function does
and using inline directive it's nearly the same as assi
If you declare an inline function producing the record, the effect would be
the same with that literal record.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-record-literal-in-FPC-tp4028464p4028474.html
Sent from the Free Pascal - Lazarus mailing list a
> Can Lazarus run and are people using Lazarus on Ubuntu 12.10 and does it
use
Wine.
Yes, Lazarus even supports Linux first before Windows. So no, no stupid
emulation through Wine required. Everything is NATIVE. I use it on my
Kubuntu 12.10.
--
View this message in context:
http://free-pascal-
There's no such a way AFAIK, you have to know exactly what your program is
executing. Therefore you have to always give the graphical input dialog (and
it's up to you when to show it, before or during execution).
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/L
> As far as I understand dynamic link libraries are only required at runtime,
why lazarus require it on compilation?
Not in *nix world. The inner workings between .dll and .so are different.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Linking-dynami
> 1) from the source code of lua52.pas, how do you know the array parameter
to luaL_newlib() accepts only static array but not dynamic array?
No, I didn't say that. Only the pointer version is correct. The array
version is wrong despite the array type passed, this is due to the pointer
addresses b
> 1) what's the difference between open array and dynamic array? Is "array of
Integer" open or dynamic?
Open array can only be declared as parameter type, it can't be declared as a
variable type. When done in latter case, it will always be dynamic array.
The following example will explain:
type
Sorry, I think I was too fast in reading the unit. After reading slowly, the
APIs actually uses open array, not dynamic array. In this case @lib should
be the same as @lib[0], but here's something interesting: I tried your code
(converted as program):
uses
lua52;
type
TluaLReg = array of luaL_
Reading luaL_newlib documentation and lua52.pas implementation of it (it's a
macro in the original C code), I see that you need a sentinel value to mark
the end of the array by putting nil in the name part. I was already skeptic
since the API doesn't mention the number of elements in the array as
c
> The Assembler shows that @lib and @lib[0] are exactly same thing.
The following program shows that they are NOT the same
#!/usr/bin/instantfpc
var
a1: array of Integer;
begin
setlength(a1,1);
writeln(ptruint(@a1));
writeln(ptruint(@a1[0]));
end.
output:
$ chmod +x test.pas
$ ./test.pas
Pointer and dynamic array are not the same, even though dynamic array is
built on top of pointer (to a structure). When you pass a dynamic array
variable, you're passing pointer TO THE STRUCTURE, NOT THE DATA. To
correctly do it, you have to pass pointer to the first data, which is
@lib[0] in your
Or add -g- as well (it will override -gl)
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-debugging-and-strip-strip-all-lazarus-startlazarus-tp4028281p4028288.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
__
AFAIK no, since T could be anything from base type to most complex type, and
not all types get runtime type information.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Is-it-possible-to-detect-type-in-a-generic-class-tp4028285p4028287.html
Sent from the
> Can you please give me some pointers in the matter on how to start
writing it, what should I be looking for etc... ?
Maybe you can find something here:
http://wiki.lazarus.freepascal.org/Extending_the_IDE
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Laza
If you have some time and skills, you better try to integrate KZDesktop (form
designer docking + automatic object inspector/code explorer switching),
EasyDockManager (full layout saving) and AnchorDocking/GlassDocking
(beautiful interface).
--
View this message in context:
http://free-pascal-la
Feel free to file a feature request
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-WebLaz-bug-tp4027787p4027809.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
Lazarus mail
> for example "...Invalid value for property A"
A in
> Error reading TFPWebAction.OnRequest: Invalid
is TFPWebAction.OnRequest
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-WebLaz-bug-tp4027787p4027794.html
Sent from the Free Pascal - Laza
> I don't know if this bug is related to Lazarus, WebLaz or FPC. Please
tell me and I'll post it on Mantis:
To reproduce it, please follow this steps:
1) Create a CGI application. You'll need WebLaz package.
2) Add an FPWebModule.
3) Add two or three actions. Compile and check if they work a
http://delphi.about.com/od/database/l/aa101601a.htm
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-to-build-a-separete-unit-file-for-db-connection-tp4027782p4027783.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
This is very likely to happen on user interface units. Decide: do you really
need to have them using each other? or actually one can / must be started /
opened / executed from the other? the problem might also happen if you
tightly integrate data to the user interface. if you use 3rd unit / object
> 1. Can I somehow format only selected code? JCF made changes in whole
editor.
No AFAIK, it can't use partial parsing to format the code since it may lose
scope information thus can cause wrong formatting.
> 2. JCF has problem if strings have special characters (for example polish
> "ę"). It thr
> Any suggestions how to improve the error message to make this more clear?
It would be a bit long, but I hope much clearer:
"Lazarus cannot find the directory in which FPC source code is located
(Lazarus assumes it is located in ). The
directory should have at least "rtl" and "packages" director
Isn't it clear enough? The dialog expects you to have FPC source directory
and it defaults to that popped-up value, which you could override with your
own.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FPC-Source-Error-directory-not-found-tp4027560p402
> Is exists any global strip to get the smallest possible exe size?
Not to my knowledge, but in my version (1.1 about 1 month ago) if I change
build mode then all dependencies are recompiled, with the same options I
guess, because I got a slightly smaller binary.
--
View this message in context
Code please? The error indicates that you're accessing instance members from
a class member.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Passing-Sender-to-a-sub-procedure-tp4026765p4026767.html
Sent from the Free Pascal - Lazarus mailing list archive
Add the package unit to the lpr uses clause, or check "add unit to the uses
clause" or something similar in the package viewer
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-strange-error-with-RichMemo-tp4026757p4026760.html
Sent from the Free Pascal -
> A library cannot be run alone.
However there 2 kinds of libraries: a dynamic library (.dll, .so) and
a static library.
You can test your library code by creating a program that links the
code statically, or uses its code units directly.
Ehm... FPC can't create static libraries... anymore :)
Currently, if we have a library project, there's no way to test it without
creating 2nd project which is an application. Should Lazarus implement
something like V$ does? i.e. when "Run" is executed on a library project,
the IDE then ask for an executable to run (the executable uses the library,
so
> If you know the amount of bytes you
want to copy then you should use "Copy(buf, 32, count)" as argument for
decompress_r or if you don't know the amount you should change your
function from "array of Byte" to "PByte" and pass the address of the
32nd byte using "@buf[32]"
Or use the array sli
Start from here: http://developers.facebook.com/docs/reference/api/
The authentication uses OAuth 2.0 which I'm not aware any implementation of.
BigChimp and ludob created an OAuth 1.0a implementation in fpctwit, maybe
you could take that as a base (though I'm not sure about the effort since I
have
Seems like those bankers finally realized their mistake:
https://forums.embarcadero.com/thread.jspa?threadID=76285&tstart=0
The restriction now applies only to dbExpress.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Delphi-post-XE3-roadmap-tp4025806p
> This is just what can make such classes dead slow in real life use.
+1/0 (tried with Lua, Java, Python, etc. no more small, obvious, straight,
easy to write code to load a file contents into a string variable easily.
complicated techniques required)
> Now replace "five" by "MyAccount", and fee
Embrace yourself, people. We might get a lot of "attack" from
to-be-previous-Delphi-users (assuming they finally look at Lazarus/FPC
instead of moving to other dev platforms).
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Delphi-post-XE3-roadmap-tp4025
> The intermediate results in string expressions can cause much overhead.
Standard problems in languages whose strings are immutable. Simply avoid
it... don't even try to implement it... please...
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Delphi-p
I wasn't aware of its existence when this version came out :') *my first
Lazarus is 0.9.23*
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-IDE-v0-5-a-blast-from-the-past-tp4026023p4026081.html
Sent from the Free Pascal - Lazarus mailing list arc
Oh, I didn't know what that field is for. If only it's named "Debugger
command line options" or something it similar it would be clearer to me. I
can get the feature running as well now, thanks :)
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-a
I don't see any way to interact with the debugger, so it's not possible ATM.
GDB can be set to display disassembly in intel syntax through "set
disassembly-flavor intel" but we need a way to feed it to GDB. Please file a
feature request.
--
View this message in context:
http://free-pascal-lazar
Looks like there should be 2 files:
- lazarus/lcl/lazfreetypeintfdrawer.pas
- lazarus/components/lazutils/easylazfreetype.pas
perhaps at the time the wiki was written, both files are merged as one, or
the wiki contains typo.
--
View this message in context:
http://free-pascal-lazarus.989080.n3
I don't know about the Handled parameter, but I handle cookies exactly like
what you did through a common ancestor. But the cookies handling is done at
OnBeforeRequest, with descendants link their OnBeforeRequest to it. So
descendants code are still clean from this.
--
View this message in conte
In short, it's the same as X11 one. You must have 32-bit versions of those
(development) libraries.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-My-Lazarus-Dream-Cross-Compile-Linux64-Linux32-on-Ubuntu-12-04-tp4025869p4025883.html
Sent from the Free P
> They plan to use LLVM (though this is not mentioned in that roadmap
article).
I've read this somewhere before, but AFAIK only for the C++ builder (they
might create a Delphi frontend though, should be easy for them since Delphi
compiler is written in C++).
--
View this message in context:
h
Because Delphi's RichEdit is a wrapper over Win32 API component which doesn't
have counterpart in other widgetsets. There are two alternatives which are
built in a cross-platform way:
http://wiki.freepascal.org/RichMemo
http://wiki.freepascal.org/RichView (no editing features AFAIK)
--
View thi
Those programs usually either wait for EOLn or EOF, so perhaps you want to
try appending LineEnding to your text or Close the Input (guessing this is
the way to signal an EOF).
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TProcess-pipe-through-StdIn-t
> How can I send responses by intervals?
AFAIK that's not the way web application works. It's the client that should
be querying the server in a regular interval (using AJAX request perhaps).
The server can track current progress status and return that right away when
asked.
--
View this messag
> The Unity launcher gets unaccessible
So you're using Unity? Sounds like there are quite a lot of
problems/questions already asked about it either here or in the forum...
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Problems-with-Lazarus-on-Ubuntu-1
I think we already have them:
http://wiki.freepascal.org/uE_Controls
http://wiki.freepascal.org/BGRAControls#TBGRAKnob
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Adds-Gauge-component-on-Lazarus-tp4024969p4024976.html
Sent from the Free Pascal - Laza
> This sounds like a bug in the component
Or by design ;)
Try asking the author, it should be written somewhere in the package files
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-does-Lazarus-find-SQLite-tp4024909p4024922.html
Sent from the Free P
> It seems the Lazaurs uses SQLite. (For what, btw? just curious)
Not at all, except if you install SQLite component.
> So how does Lazarus find the SQLite library?
Windows: anywhere in PATH
*nix: /usr/lib or /usr/local/lib usually, but other places are possible (not
really sure about all of th
It works! Yeah! Guess I'll need to explore LazarusIDE object, though working
when the last source editor is closed the notebook is destroyed as well and
on the next creation it doesn't get docked anymore. Furthermore, the form
being designed is still flying around.
--
View this message in contex
> Or do it manually:
Connect the event LazarusIDE.AddHandlerOnIDERestoreWindows.
In this event create the forms you need at start up:
AForm:=IDEWindowCreators.GetForm(FormName,true);
The FormName is one of 'MessagesView', 'CodeExplorerView',
'ProjectInspector', 'ObjectInspectorDlg'.
AH
That could be of help, but only for the source editor. Isn't there any
universal way?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Need-help-to-get-IDE-forms-object-tp4024867p4024869.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
I need to get the object (TCustomForm) of IDE forms, namely object inspector,
code explorer and source notebook. I need this to help a docking solution
(kzdesktop:
http://forum.lazarus.freepascal.org/index.php/topic,16736.0.html) to work.
The successful way in 0.9.30.4 which is not working on 1.1 i
Would you mind giving some code? It's hard to analyze just from your words.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-TProcess-problem-tp4024673p4024675.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
> RegisterFileLocation, AllowDefaultModule and AllowDefaultModule are not
found in the chm help files
I'd be surprised if you can find them in the chm since they're undocumented
ATM, I'm planning on writing the docs for them. Please wait, since they're
part of fcl-web while I'm currently documenti
> I have one httpd, only httpd22
/usr/lib/fpc/2.6.0/units/i386-linux/httpd22
and there is httpd.ppu
What if you remove it from the package? Since httpd is already in compiler'
search path, there should be no need to add it as part of a package.
--
View this message in context:
http://free-pascal
It's known incomplete persistence implementation of anchordockingdsgn
package, which is a show stopper for me as well to use that docking
solution. I currently use easydockmgrdsgn package which despite it doesn't
look as beautiful as anchordockingdsgn, it works, and I can dock every
windows I want
http://sourceforge.net/projects/jvruntimedesign/
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Editable-form-in-runtime-tp4024492p4024495.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
Yes, using C style procedural interface. You have to (un)wrap the object
oriented code on both sides.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Can-a-C-program-use-a-freepascal-object-tp4024363p4024368.html
Sent from the Free Pascal - Lazarus mailing
Yes, that's true, and I have no idea whether it's by design or not.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Canvas-size-mismatch-with-control-size-tp4024351p4024358.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
__
Just use the -o option, but I'm not really sure about the date and time
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Shared-library-names-tp4024345p4024357.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
Not as comprehensive as that (not even all components are there):
http://sourceforge.net/projects/lazarus-ccr
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-torry-for-lazarus-tp4024352p4024356.html
Sent from the Free Pascal - Lazarus mailing list archive
Because it doesn't exist in your installation? Try to cleanup your
installation, perhaps it's messy... to make sure, just try to recompile the
whole IDE (that would recompile LCL as well).
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Undefined-identifie
That would be quite... hard to impossible, but this could help a few:
http://www.ohloh.net/p/freepascal
http://www.ohloh.net/p/lazarus
http://sourceforge.net/projects/freepascal/files/stats/timeline
http://sourceforge.net/projects/lazarus/files/stats/timeline
http://www.lazarus.freepascal.org/index
> it "uses windows, graph;" where can I find reference info, examples
and other doc about these libs?
Windows unit is a binding to Windows API. It's not documented as it would be
HUGE work and too duplicated since MSDN already documents it very well. The
problem is that you have to understand
Platform + OS + widgetset please...
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-crash-on-bootstrap-tp4024245p4024288.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
___
Lazaru
> How is the status of latest Lazarus on Ubuntu? I had very bad experience
during Ubuntu 11.04 and 11.10, notable problem is Laz does not play well
with Unity global menu.
It works fine, very fine... but on KDE XD
* I always hate Gnome, now I even hate Unity more than Gnome
--
View this messag
http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-February/060229.html
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Undefined-identifier-RequireDerivedFormResource-tp4024284p4024286.html
Sent from the Free Pascal - Lazarus mailing list archive
Oh, I forgot that you need to:
MimeTypes.LoadFromFile(AMimeTypesFile);
first.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Function-to-get-the-mimetype-from-a-file-extension-tp3973851p3973969.html
Sent from the Free Pascal - Lazarus mailing list archi
No, we don't have a builtin one. However using any mime.types file (I forgot
where I got mine, it's either from one of fpweb/lnet demo or my apache/php
installation) you can do what you want:
uses
fpmimetypes;
...
TheMimeType := MimeTypes.GetMimeType(ExtractFileExt(AFileName));
// TheMimeType no
This is almost exactly the way I wrote plugin architecture for my apps. The
difference is that the dll function call (which opens a form) is blocked
within Application.Initialize and Application.Terminate, so the dll function
(and the form) lifetime is only along the executed function. The only
cur
> well, i think the editortoolbar buttons should be related to source
management tools, as copy, paste, breakpoints, undo, redo, save as(s)...
I didn't put standard edit actions (undo/redo/cut/copy/paste/save( as)/etc),
because I already comfortable with the shortcut. However, this is not the
case
Attached is my settings, if any of you are interested:
http://free-pascal-lazarus.989080.n3.nabble.com/file/n3944149/editortoolbar.xml
editortoolbar.xml
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Editor-Toolbar-as-default-package-tp3943071p3944149.ht
I don't really know about it, but as long as you use VK_* constants from
LCLType unit I guess it would be no problem (well... I never had such a
problem on GTK2 / Qt / WinAPI, the 3 widgetsets that I use)
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Key
ElnOutError due to file not found should print out the filename. Is it
"/home/dave/Documents/ACAD/4m2.dwg" or "" or even nothing at all?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-File-not-found-tp3909198p3909550.html
Sent from the Free Pascal - Lazar
Looks like a mix of old and new .o's, have you tried cleaning up everything?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-What-is-this-compiling-errors-with-new-0-9-30-4-tp3842213p3857448.html
Sent from the Free Pascal - Lazarus mailing list archive at
Where is this FPDocManager? I've seen a thread about it, but I can't find (or
miss due to skimming) where it is.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-FPDocManager-news-tp3810758p3811886.html
Sent from the Free Pascal - Lazarus mailing list archi
A reboot fixes the issue :)
Though I'm still curious why...
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Cannot-run-lazarus-other-than-from-terminal-tp3798099p3798160.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
--
_
Lazarus svn r35704
FPC svn r20468
Kubuntu 11.10 x86
Whenever I try to execute from desktop shortcut (.desktop) or
double-clicking associated file, I got "Disk full" message box. I've n-tuple
checked whether there are other Lazarus/FPC installed but `which` seems to
point to the correct instance an
> Oh yes, and it shows them grafically, not as raw text.
Now that's something I don't know :)
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Contribute-to-a-book-instead-of-wiki-tp3789922p3793507.html
Sent from the Free Pascal - Lazarus mailing list arc
The book seems to be written with OpenOffice.org / LibreOffice, that would be
difficult to track changes.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Contribute-to-a-book-instead-of-wiki-tp3789922p3792385.html
Sent from the Free Pascal - Lazarus mailin
Same error I got about two days ago svn. I just crazily typecast the
problematic expression to the expected type and it compiles smoothly (and no
bug so far, because I haven't used the dbgrid :p)
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Problem-comp
> What commands do I have to use to rebuild FPC another target OS/CPU like
Win32/i386 will be supported ?
http://wiki.lazarus.freepascal.org/Cross_compiling
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Custom-OS-CPU-targets-for-FPC-build-help-tp3621041
Try the example here:
http://www.freepascal.org/docs-html/rtl/keyboard/getkeyevent.html
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-read-single-char-from-STDIN-tp3518536p3520501.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabble.co
> From the CodeRage 6 videos all I could see is that they now
differentiate between VCL (eg: vcl.forms.pas) and FireMonkey (eg:
fm.forms.pas) units.
Too bad... now they will face problems when refactoring the framework,
possibly causing users to create ifdefs in uses clause. I don't really know
> I cannot confirm that, seeing no such option in the IDE.
Well, do you have it installed? Or at least have you read
http://wiki.lazarus.freepascal.org/KOL-CE this ?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Support-for-dotted-unit-name-tp3476470
AFAIK no, only TComponent derived classes have streamer implementation now
(take a look componentstreaming and pascalstream example).
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-object-streams-tp3351667p3352663.html
Sent from the Free Pascal - Lazarus
> Aparently, Lazarus is looking for libpq.so.4, while my implementations have
libpq.so.5
It shouldn't be hardcoded AFAIK: libpq.so only, which may be a symlink to
the correct version. Try checking the source code whether the .4 is
hardcoded or not.
--
View this message in context:
http://free-pa
> Your embweb is designtime only.
> See Package options / IDE integration / package type.
Right, thanks. It's the default value of the package. Should this be
reported to Joost? I took it from fppkg.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Package-output-
* cross posted from forum *
I'm converting a fpWeb project to use EmbWeb, however I got compilation
errors saying fpEmbWeb unit not found. When I open project
options->inherited, I don't see any EmbWeb path (and indeed its path is not
added to -Fu options) there yet I have it as the project depend
> I seem to remember that there is an article about same in the FPC Wiki.
Yep, here: http://wiki.lazarus.freepascal.org/OpenMP_support
but it looks like no one is working on it...
More can be found here:
http://wiki.lazarus.freepascal.org/Category:Parallel_programming
--
View this message in co
The Development Tools lists only MSVS and Adobe ColdFusion, surely the author
is just a mainstream person. He knows only what marketing told him.
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-67-Open-source-replacement-apps-and-we-are-not-on-the-list-tp3
> Using .res files requires fpc 2.4.4+ and 0.9.29+.
Wasn't it 2.4.0+?
--
View this message in context:
http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Files-with-rst-compiled-files-and-lrs-extensions-tp3258318p3258724.html
Sent from the Free Pascal - Lazarus mailing list archive at Nabbl
> The same app compiled on my Debain Sid, i get
> buttons Captions 'Ja' and 'Nein' even if i comment out the code above.
AFAIK your system locale is the default, either you have to provide language
choice options or hardcode the language you want to translator functions.
--
View this message in
> Is it safe to have both the Linux and Windows projects in the same tree,
without any harmful side effects?
Yes, of course. Did you do it so they could share common units?
> I would love to use Qt or Gtk instead of Win32 for the Windows side, but I
> am not ready to locate subtle bugs and incomp
> I think a warning if the name inside of 'with' overrides a name from outer
scope would be an acceptable compromise.
I agree with this solution, it doesn't change the syntax, yet it gives
better chance to spot wrong scope of identifier which could happen during
porting or upgrade.
--
View this m
> Lazarus requires rtl and package sources to lay inside \sources while
FPC provides them inside fpcsrc folder.
Huh? Isn't it configurable in environment options? I kept FPC binaries, FPC
source code, and Lazarus (can't be separated between binaries and source
code) in their own directories. That
201 - 300 of 327 matches
Mail list logo