Re: [fpc-pascal] Free Pascal port of ffmpeg API example

2007-08-07 Thread BlueCat
technique). I will accord your suggestion. Bye now. Haruo. Luca Olivetti-2 wrote: > > En/na BlueCat ha escrit: >> Hello folks again, I have revised my ffmpeg API example. Your >> suggestions >> or improvements are still very welcome. >> http://www.nabble.com/fi

Re: [fpc-pascal] Free Pascal port of ffmpeg API example

2007-08-01 Thread BlueCat
Hello folks again, I have revised my ffmpeg API example. Your suggestions or improvements are still very welcome. http://www.nabble.com/file/p11948056/mpegpas02.zip mpegpas02.zip BlueCat wrote: > > Hi, FPC forks. > > I have ported apiexample.c of ffmpeg to Free Pascal on Mac O

[fpc-pascal] Free Pascal port of ffmpeg API example

2007-07-25 Thread BlueCat
Hi, FPC forks. I have ported apiexample.c of ffmpeg to Free Pascal on Mac OS X. I owed many on Victor Zinetz's efforts, but some modifications were made. Your suggestions or improvements are very welcome. The zipped file is http://www.nabble.com/file/p11795857/mpegpas01.zip mpegpas01.zip . --

Re: [fpc-pascal] How to include Carbon.h?

2007-04-20 Thread BlueCat
Ingemar Ragnemalm wrote: > > [snip] > Another problem when mixing languages is the Pascal RTL. You might need > to link with that. (That is not necessarily trivial, I am having trouble > with that myself.) But that doesn't sound like your problem, right? > Thanks to you all, my library is ab

Re: [fpc-pascal] How to include Carbon.h?

2007-04-20 Thread BlueCat
"Ing. Milan MaruĊĦinec" wrote: > > [snip] > Yes I wrote AggPas. It uses QuickTime in fpc on mac for some image > loadings. Looking at the sources of the Apple UPI i see file > "QuickTimeStreaming.p". Maybe there is what you need. > Don't forget to pass -k"-framework Carbon -framework QuickTime"

Re: [fpc-pascal] Re: How to include Carbon.h?

2007-04-20 Thread BlueCat
Milan, Jonas, Thanks a lot. Jonas Maebe-2 wrote: > > [snip] > This is incorrect. That version is very outdated and contains several > errors. As of 2.0.4, FPC contains the common Mac OS interfaces for > FPC, GPC and MW, which contain many more Pascal headers than what > Apple distributes

Re: [fpc-pascal] How to include Carbon.h?

2007-04-19 Thread BlueCat
Ingemar Ragnemalm wrote: > > > So the Pascal code compiles, links with the RB code, but crashes when it > runs? How far does it run? > [snip] > > Thanks you, Jonas and Ingmal. Here is an example. Library stub; {$calling mwpascal} uses CarbonEventsCore; function aint(i : smallint) : small

[fpc-pascal] How to include Carbon.h?

2007-04-19 Thread BlueCat
Hello, Pascal folks, I'm using FPC 2.0.4 on MacOSX 1.4.9 PPC and trying to write a Pascal library that is externally called from REALbasic (Rb). But Rb needs Carbon.h header included in dylibs which are called by Rb programs. In C, it's easy: #include "Carbon/Carbon.h" Unfortunately, I am not