[fpc-pascal] Dynamic memory in a DLL

2007-10-02 Thread gmjimen
Hello everybody. I'm not sure if this is a FPC issue but I need to ask. Last year I coded an small and simple virtual machine in C. Yesterday I put that VM in a DLL file and I wrote a Pascal wrapper. It worked nice but suddenly the program starts to return EAccesViolation exceptions just when it

[fpc-pascal] Re: fpc-pascal Digest, Vol 34, Issue 13

2007-06-04 Thread gmjimen
Thanks for the answers. I think I'll duplicate the functions, one for ASCII (ANSISTRING) coding and the other for UTF-8 (WIDESTRING). I think this is the best way. But I've look for the description for UTF8Encode, UTF8Decode, UTF8ToAnsi and UTF8ToUnicode in the documentation and I can't find it.

[fpc-pascal] Using AnsiString/WideString with C Library

2007-06-04 Thread gmjimen
Hello. I'm writing a wrapper for a C library that allows the use of UNICODE. I did wrappers for C libraries but using only ASCII strings. I did: UNIT example; INTERFACE PROCEDURE Proc (Text: ANSISTRING); IMPLEMENTATION { Wrapper for the C function. } PROCEDURE _C_Proc_ (Text: PCHAR); CDEC

[fpc-pascal] RE: Pascal is alive!!??

2007-02-21 Thread gmjimen
> In the ACM-ICPC International Collegiate Programming Contest dropped pascal for > this year final competitions and for next year, the students are not allowed to > use pascal as their programming language. Did you know this? What is your idea? > Also, in TopCoder site, you can not develop you

[fpc-pascal] Re: Microsoft C/C++

2007-01-18 Thread gmjimen
Norbert Remmel wrote: > is there anyone out there who still owns an early Microsoft C compiler > which can be run under plain DOS? May be you can use DJGPP: http://www.delorie.com/ Guillermo "Ñuño" Martínez ___ fpc-pascal maillist - fpc-pascal@lists

[fpc-pascal] Allegro and Pascal

2006-12-21 Thread gmjimen
Hello, I didn't know that there were more people who use Allegro with Pascal (may be I forgot to switch off the "Only Spanish pages" at Google last month) so I wrote my own wrapper and I've released it last week at SourceForge. Today I've found some messages in this mail list about this issue so I