[fpc-pascal] Help Reading SIP Messages.

lloyd thomas lloydie.t at googlemail.com
Wed Jan 6 15:19:52 CET 2010

OK I think I know the reason why 'ansichar'
Just did a bit of code to list the net adaptors in a combobox and All I get
is symbols (??? and ?@?). I think I read somewhere Windows may save adaptor
names in unicode since windows 2000 (maybe).

procedure TForm1.FormCreate(Sender: TObject);
Fzniffer := TZniffer.create;

2010/1/6 Marco van de Voort <marcov at stack.nl>

> In our previous episode, lloyd thomas said:
> > I have managed to get the zniffer wrapper to compile, but I am worried
> that
> > using {$MODE delphi} may not be the best way to produce optimized code.
> No problem. fpc modes are mostly about syntax, not optimization. If the
> code
> is delphi in origin it is definitely the best solution.
> > Also I have seen other libpcap where they use ansichar instead of char.
> Is
> > there a reason for this?
> Yes, D2009 and later where char<>ansichar but char=widechar.
> IOW sb updated that piece for D2009+
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100106/79a6ca44/attachment.html>

More information about the fpc-pascal mailing list