Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-21 Thread Zaher Dirkey
On Sat, May 10, 2014 at 7:49 PM, Koenraad Lelong
wrote:

> I spoke a bit too soon. I downloaded release (download snapshot). Then I
> tried to compile lib/minicommons. I get the same errors I had before :
> /lib/mnFields.pas(750,20) Error: Calling convention doesn't match forward
> /lib/mnFields.pas(213,14) Hint: Found declaration:
> TmnFields.QueryInterface(constref TGuid,out ):LongInt; CDecl;
> /lib/mnFields.pas(798,20) Error: Calling convention doesn't match forward
> /lib/mnFields.pas(205,14) Hint: Found declaration:
> TmnFields._AddRef:LongInt; CDecl;
> /lib/mnFields.pas(803,20) Error: Calling convention doesn't match forward
> /lib/mnFields.pas(206,14) Hint: Found declaration:
> TmnFields._Release:LongInt; CDecl;
>

​Sorry for the delay​

Ah, that because i am using Windows, i fixed it, try last in "release"
branch.


Best Regards
Zaher Dirkey
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Marco van de Voort
On Sat, May 10, 2014 at 06:49:36PM +0200, Koenraad Lelong wrote:
> Here I'm stuck.
> P.S. I do it this way because I don't see how I can use the bug-tracker 
> of sourceforge. I will have to search more.

charinset is a D2009+ function that is roughly the same as (c in
tsyscharset), where c is an expression of type char. It is mostly a
workaround for unicodestrings.

FPC/trunk supports it.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Koenraad Lelong

op 10-05-14 18:23, Koenraad Lelong schreef:

op 10-05-14 16:44, Zaher Dirkey schreef:

What functions?

I added the missed file, and you can use the bug tracker.
Try again

Thank you

Never mind those functions. I later read that I needed to use release, 
in stead of trunk. There all was OK.

I will try again ASAP.

Koenraad.
I spoke a bit too soon. I downloaded release (download snapshot). Then I 
tried to compile lib/minicommons. I get the same errors I had before :

/lib/mnFields.pas(750,20) Error: Calling convention doesn't match forward
/lib/mnFields.pas(213,14) Hint: Found declaration: 
TmnFields.QueryInterface(constref TGuid,out ):LongInt; CDecl;

/lib/mnFields.pas(798,20) Error: Calling convention doesn't match forward
/lib/mnFields.pas(205,14) Hint: Found declaration: 
TmnFields._AddRef:LongInt; CDecl;

/lib/mnFields.pas(803,20) Error: Calling convention doesn't match forward
/lib/mnFields.pas(206,14) Hint: Found declaration: 
TmnFields._Release:LongInt; CDecl;


After fixing those I get :
/lib/mnUtils.pas(121,18) Error: Identifier not found "CharInSet"
/lib/mnUtils.pas(251,51) Error: Identifier not found "CharInSet"
/lib/mnUtils.pas(259,108) Error: Identifier not found "CharInSet"
/lib/mnUtils.pas(261,50) Error: Identifier not found "CharInSet"
/lib/mnUtils.pas(509,17) Error: Identifier not found "CharInSet"

Here I'm stuck.
P.S. I do it this way because I don't see how I can use the bug-tracker 
of sourceforge. I will have to search more.


Koenraad.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Koenraad Lelong

op 10-05-14 16:44, Zaher Dirkey schreef:

What functions?

I added the missed file, and you can use the bug tracker.
Try again

Thank you

Never mind those functions. I later read that I needed to use release, 
in stead of trunk. There all was OK.

I will try again ASAP.

Koenraad.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-10 Thread Zaher Dirkey
What functions?

I added the missed file, and you can use the bug tracker.
Try again

Thank you


On Thu, May 8, 2014 at 10:37 PM, Koenraad Lelong
wrote:

> op 06-05-14 21:08, Zaher Dirkey schreef:
>
>> Try
>> https://sourceforge.net/p/minilib
>>
>> https://sourceforge.net/p/minilib/code/HEAD/tree/trunk/comm/
>>
>>  Hi,
>
> Out of curiosity I looked into this, and I downloaded the source from
> sourceforge.
> Trying to install I found problems :
> minicommons never compiled for fpc/lazarus ? Because some function
> declarations are different from the forward declarations. Solved this for
> now by making them identical.
> More problematic : minilib lacks HTMLKeywords.inc.
>
> There I'm stuck.
> I would like to try the pos-library.
>
> Koenraad.
>
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
I am using last revision of Lazarus, FPC 2.6 on Windows XP SP3

Best Regards
Zaher Dirkey
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [LAZARUS] Minilib (was : Any Free/Cheap Async Serial Port Component)

2014-05-08 Thread Koenraad Lelong

op 06-05-14 21:08, Zaher Dirkey schreef:

Try
https://sourceforge.net/p/minilib

https://sourceforge.net/p/minilib/code/HEAD/tree/trunk/comm/


Hi,

Out of curiosity I looked into this, and I downloaded the source from 
sourceforge.

Trying to install I found problems :
minicommons never compiled for fpc/lazarus ? Because some function 
declarations are different from the forward declarations. Solved this 
for now by making them identical.

More problematic : minilib lacks HTMLKeywords.inc.

There I'm stuck.
I would like to try the pos-library.

Koenraad.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus