Re: [fpc-pascal] FreeVision usable in a client/server database application?

2011-08-04 Thread Felipe Monteiro de Carvalho
Lazarus is very easy to learn, you can read the wiki and now there is also a book in english explaining how to use it. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] web app and application persistency

2011-08-01 Thread Felipe Monteiro de Carvalho
On Mon, Aug 1, 2011 at 5:23 PM, Andrew Brunner wrote: > I agree with this one.  The only thing I could add would be AJAX & > WebSockets for really advanced applications. Do WebSockets allow to use TCP sockets in JavaScript or is it something else? -- Felipe Monteiro d

[fpc-pascal] web app and application persistency

2011-08-01 Thread Felipe Monteiro de Carvalho
there are lots of things going on and it would be much easier for my coding if I could keep the program running on the web server ... Any ideas? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

[fpc-pascal] How to use tilog from tiopf2?

2011-08-01 Thread Felipe Monteiro de Carvalho
Does anyone know how to use this? I tryed googling, but didn't have much luck ... thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How?

2011-08-01 Thread Felipe Monteiro de Carvalho
ram. Mac OS X has a number of particularities. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Felipe Monteiro de Carvalho
DS. You will need to at least add a dependency to paszlib and possibly to a xml library too. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Felipe Monteiro de Carvalho
ugh [1], that works for me... Actually this operation is so trivial that it is even one of the examples from FPSpreadsheet: http://wiki.lazarus.freepascal.org/FPSpreadsheet#Converting_a_database_to_a_spreadsheet -- Felipe Monteiro de Carvalho ___ fpc-pasc

Re: [fpc-pascal] XML-XSD export: importer & how to test

2011-07-29 Thread Felipe Monteiro de Carvalho
m Dataset to ODS? Why not simply implement a importer from Dataset for FPSpreadsheet instead of creating a new library to handle ODS? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.or

Re: [fpc-pascal] How to detect serial/usb-serial ports.

2011-07-27 Thread Felipe Monteiro de Carvalho
For which operating system? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] simple messagebox for windows

2011-07-05 Thread Felipe Monteiro de Carvalho
mess. The simplest option is using Windows.MessageBox (which obviously only works in Windows) MSDN docs: http://msdn.microsoft.com/en-us/library/ms645505(VS.85).aspx Or use your IDE to find the declaration of Windows.MessageBox -- Felipe Monteiro de Carvalho _

Re: [fpc-pascal] Kudos to the FPC team

2011-06-24 Thread Felipe Monteiro de Carvalho
On Fri, Jun 24, 2011 at 2:42 PM, ik wrote: > If that the reason you like FPC, then something is wrong :P Clearly you didn't pay enough attention while reading his post and missinterpreted it. -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] XML read

2011-06-14 Thread Felipe Monteiro de Carvalho
The Wiki has some XML tutorials: http://wiki.lazarus.freepascal.org/XML_Tutorial -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
On Thu, Jun 9, 2011 at 3:43 PM, Felipe Monteiro de Carvalho wrote: > But the paths in the package are wrong. > > Your lpk file says: > > -       > -         > -         > -       Actually this unit should not be in this package, but in a separate package for the lib dir.

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
+ + + + msConsts.pas is also pointing to a wrong path. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
27;t commited, it seams) -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
ets Looks like that a file wasn't commited. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
ot; package that it requires? I tryed to simply remove this dependency, but then it can't find mnSockets -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Userfriendly editor

2011-06-09 Thread Felipe Monteiro de Carvalho
codings does it support? 5> It seams that it has no install script, I can contribute one, if there are instructions about how to generate a patch using git 6> Which rendering component does it use? SynEdit? -- Felipe Monteiro de Carvalho ___ f

Re: [fpc-pascal] Userfriendly editor

2011-06-08 Thread Felipe Monteiro de Carvalho
Does anyone know something similar to Notepad++ written in FPC/Lazarus? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Linux i386 libraries and PIC

2011-06-01 Thread Felipe Monteiro de Carvalho
Maybe you are using something from the FCL, so you would need to rebuild that too -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Why is FPImage dog slow in reading jpeg's?

2011-05-30 Thread Felipe Monteiro de Carvalho
it off by default? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] getmem

2011-05-26 Thread Felipe Monteiro de Carvalho
same. Language constructs and RTL routines are Endian-safe -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] support for using an activex

2011-05-23 Thread Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Felipe Monteiro de Carvalho
t/how-to-use-tet/ ). I would translate the headers manually and use that. I am sending back what I translated in 2 minutes of work. You can use as a model. -- Felipe Monteiro de Carvalho tetlib.pas Description: Binary data ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Felipe Monteiro de Carvalho
If you have any question about translating manually I can help. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: PDFlib TET - convert using h2pas

2011-05-18 Thread Felipe Monteiro de Carvalho
The file is not big, why don't you just convert it manually? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: URIParser

2011-05-18 Thread Felipe Monteiro de Carvalho
Params: Bookmark: HasAuthority: FALSE -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Fatal error "Executable image size is too big for wince target"

2011-05-17 Thread Felipe Monteiro de Carvalho
ces. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Fatal error "Executable image size is too big for wince target"

2011-05-17 Thread Felipe Monteiro de Carvalho
Does anyone know if we have our own internal linker to wince? It seams that yes, but I that's very strange for me. I thought that we have it only for x86-win32. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepasca

Re: [fpc-pascal] Re: Next major FPC release?

2011-05-10 Thread Felipe Monteiro de Carvalho
wing this model, because a lot of over hours need to be paid if you want to follow a rigid time frame. I guess that it works for Ubuntu simply because their work is mostly packaging and not actually writing software. -- Felipe Monteiro de Carvalho ___ f

Re: [fpc-pascal] Fatal error "Executable image size is too big for wince target"

2011-05-04 Thread Felipe Monteiro de Carvalho
Link to the forum discussion on the same topic: http://www.lazarus.freepascal.org/index.php/topic,12971.0.html -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc

Re: [fpc-pascal] FPImage and GetDataLineStart

2011-04-21 Thread Felipe Monteiro de Carvalho
It also annoys me, but changing would probably be a huge work. All of the image reader/writers would need to be checked... -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Font reading library

2011-04-18 Thread Felipe Monteiro de Carvalho
code > here: http://scandraid.svn.sourceforge.net/viewvc/scandraid/src/branches/font/ > Regards, Darius For me it proved less useful. I wanted to read the name of Face objects, but it seams that this feature is only in TrueType 2 =( -- Felipe Mo

Re: [fpc-pascal] New to freepascal and how to translate my delphi program.

2011-04-18 Thread Felipe Monteiro de Carvalho
x27;s what we used. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] DIFF Pascal component

2011-04-18 Thread Felipe Monteiro de Carvalho
Hello, I was wondering if anyone knows a good Pascal component for generating a diff in the standard format. Googling I found TDiff here: http://angusj.com/delphi/ Maybe there is something else as well? thanks, -- Felipe Monteiro de Carvalho ___ fpc

Re: [fpc-pascal] New to freepascal and how to translate my delphi program.

2011-04-18 Thread Felipe Monteiro de Carvalho
ccess#Serial_Communication You might also be interrested in knowing that fpvectorial, a library to read/modify/write vectorial images, exists: http://wiki.lazarus.freepascal.org/fpvectorial I used it in my program to read PDF files (generated by CorelDraw) and convert them to g-code. -- Felipe Monteiro de Car

Re: [fpc-pascal] Re: stripping HTML

2011-04-17 Thread Felipe Monteiro de Carvalho
license if it works in FPC linux-x86-64 -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Installing FPC 2.5.1 in Mac OS X

2011-04-16 Thread Felipe Monteiro de Carvalho
Hello, Ok, I managed to fix my problem: user-46-113-147-187:carbon felipe$ cd /usr/local/lib/fpc/2.5.1/ user-46-113-147-187:2.5.1 felipe$ which fpcres /usr/local/bin/fpcres user-46-113-147-187:2.5.1 felipe$ sudo ln -s /usr/local/bin/fpcres fpcres -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Installing FPC 2.5.1 in Mac OS X

2011-04-15 Thread Felipe Monteiro de Carvalho
Assembling (pipe) /Users/felipe/Programas/tests/cocoa/lib/i386-darwin/cocoatest.s cocoatest.lpr(15,32) Error: resource compiler "fpcres" not found, switching to external mode cocoatest.lpr(15,32) Fatal: There were 1 errors compiling module, stopping -- Felipe Monteiro d

Re: [fpc-pascal] Installing FPC 2.5.1 in Mac OS X

2011-04-15 Thread Felipe Monteiro de Carvalho
On Fri, Apr 15, 2011 at 4:11 PM, Jonas Maebe wrote: > And does it work when you manually execute it? As in just typing: fpcres ? Yes, then it shows a help message -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pas

[fpc-pascal] Installing FPC 2.5.1 in Mac OS X

2011-04-15 Thread Felipe Monteiro de Carvalho
g at home, but now I'm at work, so because of that I cannot copy exact error messages. Just though that maybe someone will have an idea for me to try at home... thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] Re: android share library with classes unit

2011-04-14 Thread Felipe Monteiro de Carvalho
blem is dynamic linking. > thank you > herux > > > On Wed, Apr 13, 2011 at 3:29 PM, Felipe Monteiro de Carvalho > wrote: >> >> Have you done "Step 2" described here: >> >> >> http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre-

Re: [fpc-pascal] Re: android share library with classes unit

2011-04-13 Thread Felipe Monteiro de Carvalho
Have you done "Step 2" described here: http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre-compiled_compiler ? I know that those instructions are different from what you are doing, but Step 2 should apply anyway. -- Felipe Monteiro d

Re: [fpc-pascal] TMenu - barbreak Delphi Compatbility.

2011-04-12 Thread Felipe Monteiro de Carvalho
In the same way: Set the caption of the item which is a separator to "-" without quotes -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Font reading library

2011-04-12 Thread Felipe Monteiro de Carvalho
library in one of their projects, like X11 uses. > (Have a look at : http://www.freetype.org/freetype1/index.html, > and the name of the authors ...) What's special with the name of the authors? -- Felipe Monteiro de Carvalho ___ fpc-pasca

Re: [fpc-pascal] Compiling android example

2011-04-08 Thread Felipe Monteiro de Carvalho
://wiki.lazarus.freepascal.org/Android4Pascal Updating (if desired, since not much changed) is easy, just copy the *pas and *java files to your project. The java ones of course need to have some stuff renamed as usual. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist

Re: [fpc-pascal] Re: TFPImageCanvas TextOut raise an exception

2011-04-07 Thread Felipe Monteiro de Carvalho
In the wiki there is a tutorial, but the wiki seams down at the moment. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Creating windows cross arm-linux ppcarm compiler.

2011-04-06 Thread Felipe Monteiro de Carvalho
For Android the good value is -meabi=5 which supports all devices in the market. And don't forget to build the cross-compiler with software floating point. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Creating windows cross arm-linux ppcarm compiler.

2011-04-06 Thread Felipe Monteiro de Carvalho
the end I got a working command. The Windows one should be similar. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compiling android example

2011-04-06 Thread Felipe Monteiro de Carvalho
f you want to do that. > B.  How are the java example classes connected to the pascal? via pipes > C.  What do I need to preform a successful compilation of the android > pascal code? This question repeats question A? -- Felipe Monteiro de Carvalho ___

Re: [fpc-pascal] Font reading library

2011-04-01 Thread Felipe Monteiro de Carvalho
Hello, Which unit exactly? I know that it has bindings to the freetype library (freetype.pp), but AFAIK that's it. I don't remember that it has Pascal code to read font files, or at least I couldn't find it if it has. -- Felipe Monte

[fpc-pascal] Font reading library

2011-04-01 Thread Felipe Monteiro de Carvalho
Hello, I just tought I'd ask: Do we have a Pascal library for reading font files? TTF and other formats. Obtain the information about the font and the glyphs. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-p

[fpc-pascal] Strange arm-linux cross-compilation errors

2011-03-29 Thread Felipe Monteiro de Carvalho
In this thread: http://www.lazarus.freepascal.org/index.php/topic,12585.0.html I though that maybe posting here would help, since the user has some problems with some strange errors which say nothing to me =) -- Felipe Monteiro de Carvalho ___ fpc

Re: [fpc-pascal] run pascal programs as scripts

2011-03-24 Thread Felipe Monteiro de Carvalho
> Commenting is better. Then the reported error line numbers are still > valid. Yes, but then bash won't recognize it, I suppose -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.fre

Re: [fpc-pascal] run pascal programs as scripts

2011-03-24 Thread Felipe Monteiro de Carvalho
On Thu, Mar 24, 2011 at 7:27 PM, Mark Morgan Lloyd wrote: > Would it be feasible to modify FPC so that it discarded everything preceding > "program", "unit" etc? Feasable, yes, but it is probably easier to make a pre-processor which removes this line, simply. -- F

Re: [fpc-pascal] Consumer producer unit (donation to fcl)

2011-03-14 Thread Felipe Monteiro de Carvalho
Another option is adding it to the Lazarus-ccr. You can create a wiki page for this in the Lazarus wiki and add it somewhere in the lazarus-ccr subversion. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] fpc and armv5-android

2011-02-27 Thread Felipe Monteiro de Carvalho
out if I'm doing something wrong. I haven't had any problems at the moment, but I don't use shared libraries, but rather real Linux executables. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

Re: [fpc-pascal] IXP435

2011-02-22 Thread Felipe Monteiro de Carvalho
#Configuring_the_Free_Pascal_Compiler_for_Android -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: html scrapping library

2011-02-15 Thread Felipe Monteiro de Carvalho
On Tue, Feb 15, 2011 at 3:09 PM, Gene Buckle wrote: > The person may mean "scraping" (to scrape). Didn't help much at least to me. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://li

Re: [fpc-pascal] Android calling JNI functions crash

2011-02-15 Thread Felipe Monteiro de Carvalho
#Configuring_the_Free_Pascal_Compiler_for_Android -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Android calling JNI functions crash

2011-02-14 Thread Felipe Monteiro de Carvalho
I use eabi=5 (aka ARMv5), just in case this is the problem. But I don't use JNI. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Is LNET dead?

2011-02-10 Thread Felipe Monteiro de Carvalho
Of course lnet is not dead: http://wiki.lazarus.freepascal.org/index.php?title=lNet&action=history -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Converting .doc and/or .html to .pdf

2011-01-28 Thread Felipe Monteiro de Carvalho
s code and documentation which explain the PDF format could be reused. I actually have documentation in portuguese about the PDF format. http://wiki.lazarus.freepascal.org/fpvectorial -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-13 Thread Felipe Monteiro de Carvalho
ou would like to maintain them, please send me your source forge login and I'll give you commit rights to the repository. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-13 Thread Felipe Monteiro de Carvalho
nd send you a link. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2011-01-06 Thread Felipe Monteiro de Carvalho
etting closer, but still, not really. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] The new Delphi compatible unicode string

2011-01-04 Thread Felipe Monteiro de Carvalho
On Tue, Jan 4, 2011 at 10:20 AM, Juha Manninen > I would also laugh if I was the Java developer. Then just wait until the guy needs to use an ifdef and ops. There are no ifdefs in Java. Your turn to laugh has come as he tries to hack around this very serious short coming. -- Felipe Monte

Re: [fpc-pascal] Moving callbackfunctions to class

2010-12-31 Thread Felipe Monteiro de Carvalho
On Fri, Dec 31, 2010 at 11:01 AM, Darius Blaszyk wrote: > Thanks for the tip Paul. Unfortunately it did not help. See for the results > below. Using a correct type cast it should work. Which line brings the errors? -- Felipe Monteiro de Ca

Re: [fpc-pascal] A cross-architecture Integer type for 32-bit and 64-bit

2010-12-22 Thread Felipe Monteiro de Carvalho
PtrUInt or something similar. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-18 Thread Felipe Monteiro de Carvalho
migrate to use this newer possibilities when I have exhausted that my current strategy can provide =) -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: FPC programs in Android without JNI

2010-12-17 Thread Felipe Monteiro de Carvalho
I a On Dec 17, 2010 8:47 PM, "Andrew Haines" wrote: On 12/16/10 12:23, Felipe Monteiro de Carvalho wrote: > Hello, > > It might be interesting to know ... The Android 2.3 ndk now has support for a NativeActivity and there is a sample of OpenGL ES native program. General no

[fpc-pascal] Re: FPC programs in Android without JNI

2010-12-16 Thread Felipe Monteiro de Carvalho
code is here: http://p-tools.svn.sourceforge.net/viewvc/p-tools/PascalNotes4Android/ bye, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Problem with OpenGL drawing on Linux

2010-12-11 Thread Felipe Monteiro de Carvalho
Your program shows this in my Mac OS X: http://img64.imageshack.us/img64/640/screencapture3p.png Strange the the window does not have a close button. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-12-07 Thread Felipe Monteiro de Carvalho
r work. 3> Existing FPC applications would need to be modified to work in this FPC port. Think about pointers for example. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-12-07 Thread Felipe Monteiro de Carvalho
In Android 2.3 you can write apps without any Java code, but you still need to build it as a library: http://developer.android.com/reference/android/app/NativeActivity.html It seams to support OpenGL and user input without Java. Still not ideal, however. -- Felipe Monteiro de Carvalho

[fpc-pascal] FPC programs in Android without JNI

2010-12-06 Thread Felipe Monteiro de Carvalho
s possible that it won't work. The Pascal app needs to be compiled separately and placed in the lib/eabi folder. Then after that issue "ant debug" to build the APK installer. bye, -- Felipe Monteiro de Carvalho ___ fpc-pasca

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-11-30 Thread Felipe Monteiro de Carvalho
roid/src/com/pascalnotes/PascalNotes4Android.java?revision=187&view=markup I succeded at running ls /sdcard and showing the results in a message dialog =) Next step is running a deployed Pascal application =D -- Felipe Monteiro de Carvalho ___ fpc-pa

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-11-30 Thread Felipe Monteiro de Carvalho
On Tue, Nov 30, 2010 at 11:32 AM, Felipe Monteiro de Carvalho wrote: > Also, installing BeRoXM.apk failed in HTC Wildfire Android 2.1 I didn't check the log since I don't plan on using JNI anyway, but probably it was built for release but lacks the certificate. This issue confused m

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-11-30 Thread Felipe Monteiro de Carvalho
Hello, How do you compile BeRoXM? Using ant? Also, installing BeRoXM.apk failed in HTC Wildfire Android 2.1 Also, I couldn't find the source code for the Pascal part. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-p

Re: [fpc-pascal] More Win CE

2010-11-17 Thread Felipe Monteiro de Carvalho
t; in a few years when it will be too little too late to save their business. Which smartphone platform do you recommend then? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mai

Re: [fpc-pascal] More Win CE

2010-11-17 Thread Felipe Monteiro de Carvalho
hat in 2011 Nokia will launch cheaper phones with MeeGo and that the platform will get cheaper, more stable and with a larger market share. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepasc

Re: [fpc-pascal] More Win CE

2010-11-16 Thread Felipe Monteiro de Carvalho
ing some code from the past. But your c code won't run in Windows Phone. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Win CE

2010-11-10 Thread Felipe Monteiro de Carvalho
anage to make it, a tutorial in the wiki about how to do it would be very welcome =) bye, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Win CE

2010-11-10 Thread Felipe Monteiro de Carvalho
as in Win32, but people do have difficulty using it because we lack adequate information (no-one wrote a tutorial specific for using COM in WinCE in the wiki yet). I personally never use COM in my projects, so I have not much experience with it. -- Felipe Mont

Re: [fpc-pascal] ZLIB

2010-11-08 Thread Felipe Monteiro de Carvalho
The text rendering example also shows how to write a png image: http://wiki.lazarus.freepascal.org/fcl-image#Drawing_text -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-11-06 Thread Felipe Monteiro de Carvalho
robably add more overhead then pipes. > or how to run a GUI. This is the tricky part. The obvious answer is OpenGL ES. I would like to use the Surface Manager C API instead, but I haven't found any documentation about it so OpenGL ES seams to be the workable solution.

Re: [fpc-pascal] Working Free Pascal android JNI example

2010-11-06 Thread Felipe Monteiro de Carvalho
ams that you based your work on Windows, correct? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Endian issues when porting FPC programs from x86 to other platforms

2010-11-02 Thread Felipe Monteiro de Carvalho
On Tue, Nov 2, 2010 at 7:04 PM, Bo Berglund wrote: > Thanks, that helps a lot! Are there also overloaded BEtoN functions > for floating point values? I think that single and double have always the same binary layout. -- Felipe Monteiro de Ca

Re: [fpc-pascal] Precision of timestamp values.

2010-10-22 Thread Felipe Monteiro de Carvalho
http://wiki.lazarus.freepascal.org/EpikTimer -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Real length of WideString

2010-10-20 Thread Felipe Monteiro de Carvalho
On Thu, Oct 21, 2010 at 1:41 AM, Zaher Dirkey wrote: > How to get the real length of WideString variable. Length in which unit? WideChars (2 bytes each) or Bytes? Length() returns the amount of WideChars AFAIK -- Felipe Monteiro de Carvalho ___

Re: [fpc-pascal] Re: Real length of WideString

2010-10-20 Thread Felipe Monteiro de Carvalho
); > //= 4 This is more like the standard Lazarus way of doing things. The string is encoded in the file as utf-8 and assigned to a ansistring. Then UTF8Decode converts this to UTF-16. A correct conversion takes place, because you didn't let the compiler decide for you what to convert,

Re: [fpc-pascal] non visual timer win32

2010-10-19 Thread Felipe Monteiro de Carvalho
MyTimer := TTimer.Create(Application); MyTimer.OnTimer := myHandler; -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC for High Performance Computing (HPC) Components with Application API

2010-10-15 Thread Felipe Monteiro de Carvalho
this feature, but prefere safer threads, can keep using the current thread manager, cthreads in UNIXes. So you can still use the standard TThread object, just add your own high_performace_thread_manager unit to your uses clause instead of cthreads. -- Felipe Monteiro de Car

Re: [fpc-pascal] Re: declaration of functions

2010-10-15 Thread Felipe Monteiro de Carvalho
2 > > It keeps stopping installation halfway through with message "was > interrupted". No further errors. Use the instructions here: http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Windows_Mobile_5.0_Emulator They always worked perfectly for me.

Re: [fpc-pascal] lNet getting the local IP

2010-10-06 Thread Felipe Monteiro de Carvalho
(h_addr^[2]), Byte(h_addr^[3])]); WSACleanup; {$ENDIF} end; end. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] lNet getting the local IP

2010-10-05 Thread Felipe Monteiro de Carvalho
Hello, Actually it uses both synapse (under unix) and winsock (under Windows). What should one put in the parameter AHTTPSend: THTTPSend ? Where is this type declared? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] lNet getting the local IP

2010-10-05 Thread Felipe Monteiro de Carvalho
hello, I am searching for a way to get the local IP. I already found examples with winsock, synapse and indy. Does anyone know how to do that with lNet? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] Re: Delphi incompatible conditionals?

2010-10-03 Thread Felipe Monteiro de Carvalho
One solution would be putting the contents of the fpc specific ifdefs inside a include file. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Any recommendations for a good in-memory storage type

2010-09-22 Thread Felipe Monteiro de Carvalho
Personally, I would go for TMemoryStream -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Interface with NASM

2010-09-16 Thread Felipe Monteiro de Carvalho
On Thu, Sep 16, 2010 at 3:19 PM, Jonas Maebe wrote: > It works fine under linux (if you replace the "-f coff" with "-f elf"). For me it doesn't work in Mac OS X using -f macho -- Felipe Monteiro de Carvalho ___ fpc-pa

<    1   2   3   4   5   6   7   8   9   >