Re: [fpc-pascal] fpc-pascal Digest, Vol 163, Issue 11

2018-01-07 Thread Sandro Cumerlato
I've done it, let's call it "santa3", it's amazing! :-)  [you've made my
day]

For the last point: yes!

Sandro

p.s.: look at the attachment.


On 7 January 2018 at 18:56, Ingemar Ragnemalm  wrote:

>
> Thanks! The limitations in the sound playing are straight from
> JavaScript's Audio API. I think I know how to loop a sound, although the
> online advice are pretty confusing. For playing a sound multiple times, it
> seems I need to load it multiple times! Not very elegant but it can be done.
>
> The last point, is that when turning twice very fast?
>
> /Ingemar
>
>
> Den 2018-01-07 kl. 16:38, skrev Sandro Cumerlato:
>
>> Awesame work!:-)
>>
>> areas for improvement:
>>
>> in santa2
>> - loop Jingle Bells.mp3 for an infinite pleasure;-)
>> - play boing.mp3 multiple times in case of multiple keyboard hits.
>>
>> in snake:
>> - avoid this:https://imagebin.ca/v/3nOH4webezqH
>>
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


santa3.pas
Description: Binary data
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] First pas2js public release

2018-01-07 Thread Sandro Cumerlato
Awesame work! :-)

areas for improvement:

in santa2
- loop Jingle Bells.mp3 for an infinite pleasure ;-)
- play boing.mp3 multiple times in case of multiple keyboard hits.

in snake:
- avoid this: https://imagebin.ca/v/3nOH4webezqH



On 7 January 2018 at 15:03, Ingemar Ragnemalm  wrote:

>
> An update on my tests with pas2js:
>
> I have overcome most problems now and am quite a bit happier with what I
> see - and what I did see before was good!
>
> Reimar Grabowski asked for interactivity. Done!
>
> Myself, I wanted to reduce the amount of information, like file references
> in the HTML file, because, yes, it does matter! And I wanted to load
> sounds, and of course I, too, wanted interactivity! Done! Adding missing
> methods, interfacing to more APIs (like audio), no problem! It was
> surprisingly easy.
>
> Here is an updated version of the Santa animation:
>
> http://ragnemalm.se/images/santa/santa2.html
>
> and here is an (almost) fully working snake game:
>
> http://ragnemalm.se/images/santa/snake/snake.html
>
> I really enjoyed making these! My code gets more and more comfortable,
> there is no problem hiding the JS libraries. Will I do that in the long
> run? Well, I don't know but doing that can help me making the code portable.
>
> I also made some minor additions to Lightweight IDE, so now I edit,
> compile and run directly from the IDE. "Run" passes the HTML to a web
> browser.
>
> I have implemented a different way to run animations, but still don't know
> if it flickers on other platforms. On my Mac, there is no flicker at all.
>
> For gaming and similar purposes, all I miss now is the ability to save
> scores on file. For a wider range of applications, I want the ability to
> download data to my local drive. I havn't considered the case of
> communicating directly with some server.
>
> For being a preliminary "0." version, pas2js works wonderfully well!
>
> /Ingemar
>
>
> Den 2017-12-24 kl. 12:00, skrev Ingemar Ragnemalm:
>
>> Den 2017-12-22 kl. 12:00, skrev Michael Van Canneyt:
>>
>>> On Wed, 20 Dec 2017, Reimar Grabowski wrote:
>>>
>>> On Wed, 20 Dec 2017 15:14:50 +0100
 Ingemar Ragnemalm  wrote:

 But I don't see anything wrong with putting them in the HTML. For more
 flexibility you could create the HTML via a template engine or something
 but I would only load them from JS if there is a good reason to do so.

>>> One reason is to collect information in one place. Making HTML load it
>> gives me two steps to the file instead of one. More chances to do it
>> wrong.
>>
>> While you are updating your code you can remove the two dependencies on
 bootstrap (as they are not satisfied anyway and I think the whole fpReport
 dir is superflous) and perhaps do something about the flickering of the
 text (although this may be a little bit too much asked).

>>> Ah. They just remained from an example I worked from.
>>
>> Text flicker is most likely caused by not double buffering. I need to
>> generate an image off-screen. Nothing strange with that, just one more
>> thing to figure out in the JS environment.
>>
>> It feels really nice to have my first Pascal web application running!
>
 Not dissing you or your work or pas2js but I fail to see the web
 application part. There is no communication between client and server.
 Actually there is no server side code at all and there is no interactivity.
 In my book this is a static page, but perhaps I miss something.

>>> There is no interactivity, and no client-server communication, but this
>> is my *first*, my "proof of concept" for the platform, like Hello World but
>> with some more features (animation, random numbers, graphics elements).
>> Doing *something* with it myself, showing myself the potential, making a
>> kind of "thanks" for it and a Christmas greeting atthe same time.
>> Interactivity is the next step, and the ability to save data somewhere.
>>
>> That is one of the points of pas2js. To allow you to program the browser.
>>>
>>> There is no need for a server. You can make e.g. a chess application
>>> that runs
>>> 100% in the browser, using a single HTML file. You can embed the JS and
>>> images in the HTML itself, and thus your HTML file is the 'executable'.
>>>
>>> See the browser as a desktop. Your program runs in that desktop.
>>> If need be, this program can contact a server - the classical
>>> client/server model, using HTTP as the protocol - but this is by no
>>> means a necessity.
>>>
>>> In that sense, the demo demonstrates this. The server is just there for
>>> you
>>> to be able to download the "program"...
>>>
>> Exactly. I get a cross-platform solution with no installations, in a way
>> that users are increasingly used to. And I can write it in FPC, which I
>> am a lot more happy with than a rubbish language like JavaScript! For me
>> it opens a lot of possibilities!
>>
>> But let me get back to my current problems. I can accept loading images
>> through HTML for now,

Re: [fpc-pascal] C to Pascal conversion - Help request

2017-07-17 Thread Sandro Cumerlato
Thank you Dmitry for your clarification.

Best regards.

Sandro Cumerlato



On 17 July 2017 at 14:26, Dmitry Boyarintsev 
wrote:

>
>
> On Mon, Jul 17, 2017 at 7:17 AM, Sandro Cumerlato <
> sandro.cumerl...@gmail.com> wrote:
>
>> Hello,
>> can someone please help me converting the folowing C types to Pascal?
>>
> SF_CUE_POINT is simple, but I'm not sure how to convert SF_CUES_VAR(count)
>> ad SF_CUES.
>>
>>
> type
>SF_CUES   = record
>  cue_count : cuint32 ; // declared in "ctypes"
>  cue_points : array [0..100-1] of SF_CUE_POINT;
>end;
>
>
> going forward in C translation, any time you find SF_CUES_VAR (xxx) used,
> you'll have to declare a new type (with the proper "count" used) or reuse
> an existing type, if it already exists.
>
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] C to Pascal conversion - Help request

2017-07-17 Thread Sandro Cumerlato
Hello,
can someone please help me converting the folowing C types to Pascal?

SF_CUE_POINT is simple, but I'm not sure how to convert SF_CUES_VAR(count)
ad SF_CUES.

Thank you in advance!

Sandro Cumerlato


typedef struct
{ int32_t indx ;
uint32_t position ;
int32_t fcc_chunk ;
int32_t chunk_start ;
int32_t block_start ;
uint32_t sample_offset ;
char name [256] ;
} SF_CUE_POINT ;

#define SF_CUES_VAR(count) \
struct \
{ uint32_t cue_count ; \
SF_CUE_POINT cue_points [count] ; \
}

typedef SF_CUES_VAR (100) SF_CUES ;
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Help me find a mp3 -> pcm audio data pascal implementation

2017-05-12 Thread Sandro Cumerlato
Hello Fred,
I compiled it a few years ago, but I don't remember which compiler I
used, sorry.

IAP is  demo itself, but I remember that during my testing it was
quite unstable.

Maybe you can contact the author (C.W. Budde) directly for more info, good luck.

Sandro Cumerlato




On 12 May 2017 at 13:16, fredvs  wrote:
> Hello Sandro.
>
>
> Sandro Cumerlato wrote
>> IIRC a Pascal mpeg decoder is implemented within IAP:
>>
>> https://github.com/CWBudde/IAP
>
> Wow.
>
> I see the code is for Delphi.
> Did you try it with fpc ?
>
> There are no demo for mpeg decoder.
> Do you know how to use it ?
>
> Thanks.
>
> Fre;D
>
>
>
> -
> Many thanks ;-)
> --
> View this message in context: 
> http://free-pascal-general.1045716.n5.nabble.com/Help-me-find-a-mp3-pcm-audio-data-pascal-implementation-tp5728503p5728534.html
> Sent from the Free Pascal - General mailing list archive at Nabble.com.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Help me find a mp3 -> pcm audio data pascal implementation

2017-05-10 Thread Sandro Cumerlato
Hello Anthony,
IIRC a Pascal mpeg decoder is implemented within IAP:

https://github.com/CWBudde/IAP

Best regards.

Sandro Cumerlato


On May 10, 2017 8:21 AM, "Anthony Walter"  wrote:

> Does anyone know if there exists an mp3 to pcm audio data implementation
> written in pascal?
>
> A few days ago the mp3 format became patent free. A such a few OSS people
> are writing native mp3 decoders, for example Red Hat. Now I am wondering if
> anyone has written an mp3 decoder (to pcm data) for free pascal.
>
> For reference, here is a C# mp3 decoder that can convert mp3 data to pcm
> data in blocks, which is a preferred method.
>
> https://github.com/ZaneDubya/MP3Sharp
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-23 Thread Sandro Cumerlato
No. The "" is a shell/cmdline convention, and API calls are generally not
shell.


Thank you Marco for the clarification.

Sandro Cumerlato
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-23 Thread Sandro Cumerlato
On 23 Mar 2017 11:34, "James Richters" 
wrote:

Thanks for the response, it got me on the right track and I got it working.




Happy to help you!

I originally did try “ instead of ‘ and have the same results.  I was using
‘  because of the example here: http://wiki.freepascal.org/CopyFile




> CopyFile('c:\autoexec.bat','c:\windows\temp\autoexec.bat.backup');

' delimiters are mandatory within this example because we are writing paths
as string parameters directly into the source code.

I believe that I should use both ' and " in case of spaces within paths:

CopyFile('"c:\my silly path\autoexec.bat"','"c:\windows\temp\my silly
path\autoexec.bat.backup"');

or is the CopyFile function smart enough to include delimiters
automatically?

Best regards,
Sandro Cumerlato
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FreePascal Windows - Force files to write to disk

2017-03-22 Thread Sandro Cumerlato
Try  "  char instead of  '  (char 39). I never use  '  under Windows.

Best regards
Sandro Cumerlato

On 22 Mar 2017 23:47, "James Richters" 
wrote:

> I'm trying to use copyfile and cannot get it to work,  anyone have any
> ideas?
>
> I'm using the procedure below.  My writeln showing the contents of the
> variables seems to indicate they are correct.  The souce file does exist
> and is correct, the destination file does not exitst.
> I get an error 50 which is
>
> ERROR_NOT_SUPPORTED  50 (0x32)
> The request is not supported.
>
> I don't see how copying a file I just created is not supported.  Does
> anyone have any ideas how to get this to work or what I may be doing wrong,
> or if there is a better way I should be copying my file?   I've tried using
> single quotes and double quotes around the file names.
>
> Thanks
>
> James
>
>
> Uses
>Serial,Windows,jwanative,sysutils;
>
> Procedure Copy_Backup_Rename(CBR_Filename:String);
> var
>   fileSource, fileDest: string;
>   resultsofit : Boolean;
>
> Begin
>fileSource := chr(39)+Prog_Drive+Prog_Path+'
> \'+CBR_Filename+'.tmp'+chr(39);
>fileDest := chr(39)+'C:'+Prog_Path+'\'+CBR_Filename+'.temp'+chr(39);
>writeln (filesource+''+filedest);
>resultsofit := CopyFile(PChar(fileSource), PChar(fileDest), False);
>writeln (resultsofit);
>writeln(getlasterror);
> End;
>
> Console output:
> 'C:\ProMill\BitTool.tmp''C:\ProMill\BitTool.temp'
> FALSE
> 50
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] How to remove EXIF data from a JPG file?

2017-01-19 Thread Sandro Cumerlato
Hello,
What is the best FPC library able to remove EXIF data from a JPG file?

I would prefer to avoid the usage of external tools like ExifTool.

Thank you in advance for your suggestions.

Sandro Cumerlato
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Build script on Windows

2016-10-11 Thread Sandro Cumerlato
I find convenient create a batch file "_buil.bat" to compile a specific
project under Windows, targeting bot i386 and x86_64 in sequence at once.

You can add parameters to set searching paths, output directory, compiler
flags, etc... it is hard retype the entire command line every time.

Best regards.

Sandro Cumerlato

On 11 Oct 2016 10:35, "Ryan Joseph"  wrote:

>
> > On Oct 11, 2016, at 2:04 PM, Jonas Maebe 
> wrote:
> >
> > FPC is installed by default in c:\fpc, I think. The compiler binaries
> > are somewhere under there (c:\fpc\bin\win32 or so?). I think our
> > installer adds this directory to your PATH by default under Windows, so
> > you should be able to use the compiler in a command line window just
> > like on OS X/macOS.
>
> Ok, I did some more research and found that fpc is at
> c:\lazarus\fpc\2.6.4\bin\i386-win32 and a “dir” command shows there is a
> fpc.exe that works. Note just “fpc” doesn’t work so I guess I need to add
> that myself but I’m struggling trying to figure out the command prompt
> program. Copy and paste should be easier than this. Is there another
> terminal that Windows users like? I really don’t understand why you can’t
> just paste or select text like you would in any other terminal.
>
> Regards,
> Ryan Joseph
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Reed-Solomon algorithm

2016-09-15 Thread Sandro Cumerlato
A quick search on Google pointed me to:

https://github.com/catid/longhair

It is a C library implementing the Reed Solomon algorithm.

I think that it's possible to build a dll from sources and create the
corresponding fpc binding from the .h include file.

Best regards.

Sandro Cumerlato

On 15 Sep 2016 18:29, "duilio foschi"  wrote:

can somebody point me to the algorithm above written in Pascal ?

As an alternative, can somebody point me to the algorithm above
written in some DLL I could use from FPC ?

Thank you

Peppe Polpo
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Free Delphi 10.1 Berlin Starter Edition

2016-08-23 Thread Sandro Cumerlato
Downloaded, thank you very much for sharing!

Sandro Cumerlato


On 23 August 2016 at 11:43, Maciej Izak  wrote:
> Hi,
>
> finally we have simple way to test new syntax to improve FPC quality / $MODE
> DELPHI without spending $ on Delphi :)
>
> Probably limited time offer:
>
> https://www.embarcadero.com/products/delphi/starter/promotional-download
>
> --
> Best regards,
> Maciej Izak
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] How to send operating system commands (Linux on RPi)?

2016-07-02 Thread Sandro Cumerlato
I find convenient to use TProcess, take a look at the wiki:

http://wiki.freepascal.org/Executing_External_Programs#TProcess
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Quick Modern Object Pascal Introduction, for Programmers

2016-06-19 Thread Sandro Cumerlato
Thank you Michalis,
I really appreciated your work.

Well done!

Sandro Cumerlato
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] SDL_Net vs Synapse

2015-01-05 Thread Sandro Cumerlato
Pascal-SDL-2-Headers can be found on GitHub at:

https://github.com/ev1313/Pascal-SDL-2-Headers

Sandro


On 5 January 2015 at 17:03, Daniel Gaspary  wrote:

> On Mon, Jan 5, 2015 at 1:23 PM, Brian  wrote:
> > Any opinions/experience pro/con using SDL2 (SDL_Net) vs Synapse
> > (http://synapse.ararat.cz/doku.php) ?
>
> Does SDL2 net FPC binding exist?
>
> The non-existence would be a big con.
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Windows type library files

2014-10-03 Thread Sandro Cumerlato
Excellent, but sadly some libraries rely on OleCtrls and StdVCL.

On 3 October 2014 16:42, Adriaan van Os  wrote:
> In case someone is interested, I put the .zip archives below for download at
> my website
>
> 
> 
>
> Regards,
>
> Adriaan van Os
>
> 
> auto-generated with midl and tlibimp from include/*.idl in the Windows SDK
>
> Accessibility.pas
> ActiveIMM.pas
> ADHOCLib.pas
> ADODB.pas
> ALGLib.pas
> AppHostAdminLibrary.pas
> AQAdmin.pas
> BackgroundCopyManager.pas
> BackgroundCopyManager1_5.pas
> BackgroundCopyManager2_0.pas
> BackgroundCopyManager2_5.pas
> BackgroundCopyManager3_0.pas
> BackgroundCopyManager4_0.pas
> BackgroundCopyQMgr.pas
> BITSExtensionSetup.pas
> CDO.pas
> CERTENCODELib.pas
> CertSrvSetupLib.pas
> CHANNELMGR.pas
> COMAdmin.pas
> CommonControlObjects.pas
> CONTACT.pas
> CORDBLib.pas
> CorpubProcessLib.pas
> CorrEngineLib.pas
> CorSymLib.pas
> CredentialProviders.pas
> DHTMLEDLib.pas
> DirectDB.pas
> DummyEventSystemLib.pas
> EncDec.pas
> ExevtsnkLib.pas
> FctnDiscLib.pas
> Feeds.pas
> GPMGMTLib.pas
> IEOpenServiceObjects.pas
> IEXTagLib.pas
> IMAPI2.pas
> IMAPI2FS.pas
> ImgUtilLib.pas
> MailMsgLib.pas
> ManipulationsLib.pas
> MbnApi.pas
> MILEffects.pas
> MIMEOLE.pas
> MMC20.pas
> MMCVersionLib.pas
> MMDeviceAPILib.pas
> Mpeg2DataLib.pas
> MSAATEXTLib.pas
> MSDAOSP.pas
> MSDAOSPT.pas
> MSDATASRC.pas
> MSHTML.pas
> MSOPC.pas
> MSRDCLib.pas
> MSTIME.pas
> MSVidCtlLib.pas
> MSXML.pas
> MSXPS.pas
> MSXPSSIG.pas
> MultiLanguage.pas
> NATUPNPLib.pas
> NETCONLib.pas
> NetFwPublicTypeLib.pas
> NETPROVLib.pas
> NETWORKLIST.pas
> PortableDeviceConnectApiLib.pas
> ProcessDebugManagerLib.pas
> PropSysObjects.pas
> PSISLOADLib.pas
> RDPCOMAPILib.pas
> RENDLib.pas
> RTCCORELib.pas
> ScanProfilesLib.pas
> SCARDSSPLib.pas
> SDOIASLib.pas
> SearchAPILib.pas
> SensEvents.pas
> SEOLib.pas
> SHDocVw.pas
> Shell32.pas
> ShellObjects.pas
> SpeechDDKLib.pas
> SpeechLib.pas
> StructuredQuery1.pas
> SubscriptionMgr.pas
> SyncMgrObjects.pas
> SyncObjects.pas
> TERMMGRLib.pas
> ThumbCacheLib.pas
> TRIEDITLib.pas
> TunerLib.pas
> TVRATINGSLib.pas
> UIA.pas
> UIAnimation.pas
> UIAutomationClient.pas
> UIRibbon.pas
> UPnPHostLib.pas
> UPNPLib.pas
> VEHandlerLib.pas
> VSMGMT.pas
> VSSAdmin.pas
> VSSProvider.pas
> WbemClient_v1.pas
> WbemProviders_v1.pas
> WbemScripting.pas
> WbemTransports_v1.pas
> WbemUtilities_v1.pas
> WdsTptMgmtLib.pas
> WinHttp.pas
> WMDRMContentEnablerLib.pas
> WMIEXTENSIONLib.pas
> WmiXMLTransformer.pas
> WMLSS.pas
> WPObjLib.pas
> WSManAutomation.pas
> WUApiLib.pas
>
> 
> auto-generated with midl from *.dll and *.tlb in c:\windows\system32
>
> Accessibility.pas
> AccessibilityCplAdminLib.pas
> ActiveDs.pas
> ADODB.pas
> AMovie.pas
> ATLLib.pas
> AuthFWSnapin.pas
> AuthFWWizFwk.pas
> AZROLESLib.pas
> BCDConstants.pas
> BRCplLib.pas
> CardSpaceApiLib.pas
> CDO.pas
> CERTCLIENTLib.pas
> CERTENCODELib.pas
> CERTENROLLLib.pas
> CERTMGRLib.pas
> CICLib.pas
> CLBCATQLib.pas
> COMPATUILib.pas
> COMReplLib.pas
> COMSNAPLib.pas
> COMSVCSLib.pas
> CRYPTEXTLib.pas
> CTVLib.pas
> CUSTREGLib.pas
> DACCOMLib.pas
> DataStore2Lib.pas
> DevicePairingConfiguration.pas
> DexterLib.pas
> DFSSHLEXLib.pas
> DiskQuotaTypeLibrary.pas
> dnsHCLib.pas
> Dot3BalloonDlgLib.pas
> dtshLib.pas
> DXTMSFTLib.pas
> DXTRANSLib.pas
> ElevateWlanUi.pas
> EncDec.pas
> EnhancedStorageAPILib.pas
> EnhancedStorageShellLib.pas
> EventSystemLib.pas
> FctnDiscLib.pas
> Feeds.pas
> FindNetPrintersLib.pas
> FPHCLib.pas
> gameuxLib.pas
> GetConnectedTasks.pas
> Gpprefcl.pas
> HelpPane.pas
> HelpServiceTypeLib.pas
> IASCoreLib.pas
> IASDataStoreComServerLib.pas
> IASExtensionsLib.pas
> IasHelperLib.pas
> IASRadiusLib.pas
> icardie.pas
> IClientSideRenderingLib.pas
> ICSCONTENTFILTERLib.pas
> IEXTagLib.pas
> IMAPI2.pas
> IMAPI2FS.pas
> IndeoTypeLib.pas
> INKEDLib.pas
> IPBUSENUMLib.pas
> IPNATHelperLib.pas
> JetES.pas
> JSGlobal.pas
> L2SecHCLib.pas
> MDACVer.pas
> MediaManagerHCLib.pas
> MediaPlayer.pas
> MIMEEDIT.pas
> MSAATEXTLib.pas
> MSDAOSP.pas
> MSDATASRC.pas
> MSHelpServices.pas
> MSHTML.pas
> MSNETOBJLib.pas
> MSSCTLB.pas
> MSSITLB.pas
> MSTIME.pas
> MSTSCLib.pas
> MSVidCtlLib.pas
> MSWMDMLib.pas
> MSXML2.pas
> MYCOMPUTLib.pas
> napcrypt.pas
> naphlpr.pas
> NaturalLanguage6.pas
> ndfapiLib.pas
> ndisHCLib.pas
> NetCenterLUALib.pas
> NETCONLib.pas
> netcoreHCLib.pas
> NetFwTypeLib.pas
> NetProjWLib.pas
> NETWORKLIST.pas
> NetworkPolicy.pas
> OLEPRNLib.pas
> OPTSHOLDLib.pas
> PlaLibrary.pas
> PMCObjLib.pas
> PNPXAssociation.pas
> PortableDeviceApiLib.pas
> PortableDeviceClassExtension.pas
> PortableDeviceConnectApiLib.pas
> PortableDeviceTypesLib.pas
> PortableDeviceWMDRMLib.pas
> PrintUIObjLib.pas
> PSISDECDLib.pas
> PSTORECLib.pas
> PXWizardRegistration.pas
> PXWizardTypeWin32.pas
> QuartzTypeLib.pas
> RasDiagHCLib.pas
> RASPag

Re: [fpc-pascal] Free Pascal console programs on Android are easy

2014-03-15 Thread Sandro Cumerlato
Really interesting!

Please fix typo: "chmod 755 ppcaarm" should be "chmod 755 ppcarm".

I hope to see a GUI Hello World soon.

Sandro
On 15 Mar 2014 19:47, "Paul Breneman"  wrote:

> http://turbocontrol.com/gnuroot.htm is a new (unpublished) web page.
> Feedback appreciated!
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fp universal library ?

2014-02-12 Thread Sandro Cumerlato
Hello Fred,
change these two lines:

uos.pas line 1086:
RTLeventSetEvent(evPause);

uoslib.pas line 41:
function uos_loadlib(PortAudioFileName: string; SndFileFileName:
string; Mpg123FileName: string; SoundTouchFileName: string) : integer;
cdecl;

Sandro



On 11 February 2014 16:52, Fred van Stappen  wrote:
> Hello.
>
> Here next adventure of uos library...
>
> I have good news for fpc. ;-)
> I have try with a "hello world" 32bit library in Windows 7 64bit.
> It works, a 32bit program can access a 32bit fpc library.
>
> But i have bad news for me. :-(
>
> I have try with uoslib, and try, and try, changing everything, but still
> same error message:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x10002cf0 in SYSTEM_$$_CPUINCLOCKED$LONGINT () from
> c:\uoslibwin\src\uos.dll
>
> I do not see the solution.
>
> If a brave heart could try it, he will be my hero. ;-)
>
> This is very easy.
> All is included, you dont have to install anything...
>
> First download the source here :
>
>>> https://sites.google.com/site/fiensprototyping/uoslibtest.tar.gz
>
> Unzip it and in /uoslibtest/src :
>
> 1) Compile uoslib.pas (or uoslib.lpi) => it will create uos.dll in /src.
> 2) Compile and run libconsoleplay.pas (or libconsoleplay.lpi) => it will
> test the library.
>
> For me, it works if i compile both library and example with fpc 64 bit.
> But it crash if i compile both library and example with fpc 32 bit.
>
> In /src there is also unitconsoleplay.pas (and unitconsoleplay.lpi).
> This program uses directly uos-unit, not via uoslib library.
> And, this one on Windows 7 64bit, works compiled with fpc 32bit...
>
> Many thanks.
> Fred.
>
>
> ___
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal