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

2011-05-23 Thread Felipe Monteiro de Carvalho
to make that work. -- 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
: 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: 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: 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
/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: 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.freepascal.org

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

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

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

2011-05-10 Thread Felipe Monteiro de Carvalho
difficulty following 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

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] New to freepascal and how to translate my delphi program.

2011-04-18 Thread Felipe Monteiro de Carvalho
#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 Carvalho

[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
we used. -- 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-18 Thread Felipe Monteiro de Carvalho
find the 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 Monteiro de Carvalho

Re: [fpc-pascal] Re: stripping HTML

2011-04-17 Thread Felipe Monteiro de Carvalho
like to buy a 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

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

2011-04-15 Thread Felipe Monteiro de Carvalho
, 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-pascal@lists.freepascal.org http://lists.freepascal.org

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 jonas.ma...@elis.ugent.be 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

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 de Carvalho

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

2011-04-14 Thread Felipe Monteiro de Carvalho
linking. thank you herux On Wed, Apr 13, 2011 at 3:29 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Have you done Step 2 described here: http://wiki.lazarus.freepascal.org/Android_Interface#Using_the_pre-compiled_compiler ? I know that those instructions

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 de Carvalho

Re: [fpc-pascal] Font reading library

2011-04-12 Thread Felipe Monteiro de Carvalho
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-pascal maillist - fpc-pascal

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] 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
and in 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

[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-pascal

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 Monteiro de Carvalho

[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
. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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.freepascal.org

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
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 http

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] 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] Re: html scrapping library

2011-02-15 Thread Felipe Monteiro de Carvalho
On Tue, Feb 15, 2011 at 3:09 PM, Gene Buckle ge...@deltasoft.com 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

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=lNetaction=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
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 - fpc-pascal

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

2011-01-13 Thread Felipe Monteiro de Carvalho
. 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-13 Thread Felipe Monteiro de Carvalho
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

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

2011-01-06 Thread Felipe Monteiro de Carvalho
interface? It is getting 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 Monteiro

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 dhkblas...@zeelandnet.nl 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 Carvalho

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
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 andrewd...@aol.com 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. quote General

[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
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

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

2010-12-07 Thread Felipe Monteiro de Carvalho
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

[fpc-pascal] FPC programs in Android without JNI

2010-12-06 Thread Felipe Monteiro de Carvalho
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-pascal maillist - fpc-pascal

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-pascal

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 felipemonteiro.carva...@gmail.com 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

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

2010-11-30 Thread Felipe Monteiro de Carvalho
/pascalnotes/PascalNotes4Android.java?revision=187view=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-pascal maillist - fpc

Re: [fpc-pascal] More Win CE

2010-11-17 Thread Felipe Monteiro de Carvalho
/Nokia_N900 I hope that 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

Re: [fpc-pascal] More Win CE

2010-11-17 Thread Felipe Monteiro de Carvalho
hardware 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

Re: [fpc-pascal] More Win CE

2010-11-16 Thread Felipe Monteiro de Carvalho
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] 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 Monteiro de Carvalho

Re: [fpc-pascal] Re: Win CE

2010-11-10 Thread Felipe Monteiro de Carvalho
If you manage 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] 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] 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 bo.bergl...@gmail.com 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 Carvalho

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] Re: Real length of WideString

2010-10-21 Thread Felipe Monteiro de Carvalho
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, but you decided yourself. -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] Real length of WideString

2010-10-21 Thread Felipe Monteiro de Carvalho
On Thu, Oct 21, 2010 at 1:41 AM, Zaher Dirkey parm...@gmail.com 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] 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] Re: declaration of functions

2010-10-15 Thread Felipe Monteiro de Carvalho
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. -- Felipe Monteiro de Carvalho

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 Carvalho

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

2010-10-06 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

[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] 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

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
addl$12,%esp ret -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Interface with NASM

2010-09-16 Thread Felipe Monteiro de Carvalho
of the crash in my code. But this doesn't seam to be the case with the nasm object file. -- 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
probability of being the case. -- 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 jonas.ma...@elis.ugent.be 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-pascal maillist

Re: [fpc-pascal] Interface with NASM

2010-09-15 Thread Felipe Monteiro de Carvalho
inside printc apparently when getting the parameter. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Question mark?

2010-09-14 Thread Felipe Monteiro de Carvalho
Does it work without {$ Codepage UTF8} ? -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Generic B+Trees, Lists and Vectors

2010-09-10 Thread Felipe Monteiro de Carvalho
I would recommend listing it here: http://wiki.lazarus.freepascal.org/Components_and_Code_examples#Packages_for_FPC.2FLazarus_.28not_hosted_here.29 thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Basics of profiling

2010-09-09 Thread Felipe Monteiro de Carvalho
. Obviously, you can go old-school too, and simply use EpikTimer, to time certain functions you know to be slow or prone to hot spots in code. In my case I only wanted to profile 5 painting routines, so I just went for EpikTimer with a PROFILING ifdef and it worked well =) -- Felipe Monteiro

Re: [fpc-pascal] Compile ANSI unit as UTF8

2010-09-06 Thread Felipe Monteiro de Carvalho
; Or that the text of the unit itself is in an iso encoding? For the second case probably using a editor which can convert between encodings like Notepad++ would solve the issue. You can use it to convert your unit to UTF-8. -- Felipe Monteiro de Carvalho

[fpc-pascal] Basics of profiling

2010-09-06 Thread Felipe Monteiro de Carvalho
, but I suppose that there is a better way. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Compile ANSI unit as UTF8

2010-09-06 Thread Felipe Monteiro de Carvalho
for Delphi usage {$endif} And now it works fine. Check: http://magnifier.svn.sourceforge.net/viewvc/magnifier/trunk/translationsvmg.pas?revision=193view=markup procedure TTranslations.UpdateTranslations; -- Felipe Monteiro de Carvalho ___ fpc-pascal

Re: [fpc-pascal] How to set a type as a variable?

2010-08-23 Thread Felipe Monteiro de Carvalho
:= type_.Create(); value.somemethod(); end; And you can call your procedure as: proc(somevar, TExtendedType); For other types you need to use generics. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-07 Thread Felipe Monteiro de Carvalho
thing to do. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-07 Thread Felipe Monteiro de Carvalho
to interface with it's strange messages =) In general it works ok, but the Currency converted to Extended is giving me some headaches ... -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-07 Thread Felipe Monteiro de Carvalho
; Hex[7] := $80; Hex[8] := $FD; Hex[9] := $3F; Num := Extended(Hex); Caption := FloatToStr(Num); end; And that just confirms it, yep, the server converts the currency to extended ... -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist

Re: [fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-07 Thread Felipe Monteiro de Carvalho
the double conversion maintains them exactly the same. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Extended, Currency and TDateTime memory layout

2010-08-06 Thread Felipe Monteiro de Carvalho
, does anyone know a function to read/write an extended even without hardware support? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpweb tutorial

2010-07-15 Thread Felipe Monteiro de Carvalho
I added a small introduction here: http://wiki.lazarus.freepascal.org/fcl-web Having said that, I think that fpWeb worked quite well for my very simple web page and all kinds of web applications could be developed with it. -- Felipe Monteiro de Carvalho

[fpc-pascal] fpweb tutorial

2010-07-13 Thread Felipe Monteiro de Carvalho
found some, but they were really crappy. Plain CGI should be the prefered format, as apache modules are too much for this simple task. thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] fpweb tutorial

2010-07-13 Thread Felipe Monteiro de Carvalho
with pascal doesn't look very nice. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpweb tutorial

2010-07-13 Thread Felipe Monteiro de Carvalho
Ah ... I see that you can just use Format for that ... And what about reading a GET input =D Any ideas how to do that? thanks, -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Search Engine friendly CGI web apps and pages

2010-07-13 Thread Felipe Monteiro de Carvalho
/cgi-bin/ C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/ -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpweb tutorial

2010-07-13 Thread Felipe Monteiro de Carvalho
(); Self.GetParam(); -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] A patched unit overriding the default - like Delphi supports

2010-06-17 Thread Felipe Monteiro de Carvalho
, but for simple cases works fine. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] LNet

2010-06-11 Thread Felipe Monteiro de Carvalho
. I still don't know if half a packet could be received in the OnReceive event or if it only returns an integer amount of packets. That makes difference in the algorithm to separate the packets. -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist

[fpc-pascal] LNet

2010-06-07 Thread Felipe Monteiro de Carvalho
the components myself. 3 Does LNet require some kind of support for the widgetset? I am curious if TLTcp will work in Mac OS X or if it requires some support for the Carbon widgetset. And if it already works, then what is the mentioned support for widgetsets? thanks, -- Felipe Monteiro de Carvalho

Re: [fpc-pascal] LNet

2010-06-07 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

<    1   2   3   4   5   6   7   8   >