[fpc-pascal] FPC and CD-ROMs
Pianoman
pianoman at centrum.sk
Mon Jul 25 12:35:21 CEST 2005
Hi everyone. I have one simple question : How can i eject/close certain
CD-ROM drive? I write Certain because I ave more than one so I have to
specify which.
Is there some API call to do this? I searched the help files but I didn't
found very much about it.
Thanx for response
Pianoman----- Original Message -----
From: <fpc-pascal-request at lists.freepascal.org>
To: <fpc-pascal at lists.freepascal.org>
Sent: Monday, July 25, 2005 12:00 PM
Subject: fpc-pascal Digest, Vol 11, Issue 28
Send fpc-pascal mailing list submissions to
fpc-pascal at lists.freepascal.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
or, via email, send a message with subject or body 'help' to
fpc-pascal-request at lists.freepascal.org
You can reach the person managing the list at
fpc-pascal-owner at lists.freepascal.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of fpc-pascal digest..."
Today's Topics:
1. [OT] Mime attachments (Angelo Bertolli)
2. Re: [OT] Mime attachments (Elio Cuevas G?mez)
3. Re: [OT] Mime attachments (Bernhard Steffen)
4. Exporting pointers to classes or objects (L505)
5. Re: Exporting pointers to classes or objects (Marc Santhoff)
6. Re: Exporting pointers to classes or objects (L505)
7. Re: String to Unicode? (Thomas Zastrow)
----------------------------------------------------------------------
Message: 1
Date: Sun, 24 Jul 2005 12:59:05 -0400
From: Angelo Bertolli <angelo at freeshell.org>
Subject: [fpc-pascal] [OT] Mime attachments
To: fpc-pascal at lists.freepascal.org
Message-ID: <42E3C8D9.60505 at freeshell.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Does anyone else here use thunderbird? Everytime I get a digest all of
the attachments in thunderbird crowd out the main window so I can't read
anything. Is there any way I can make it stop doing that?
Angelo
------------------------------
Message: 2
Date: Sun, 24 Jul 2005 12:19:19 -0500
From: Elio Cuevas G?mez <elio at mixtk.com>
Subject: Re: [fpc-pascal] [OT] Mime attachments
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Message-ID: <200507241219.21164.elio at mixtk.com>
Content-Type: text/plain; charset="iso-8859-1"
Use KMAIL. :)
El Dom 24 Jul 2005 11:59, Angelo Bertolli escribió:
> Does anyone else here use thunderbird? Everytime I get a digest all of
> the attachments in thunderbird crowd out the main window so I can't read
> anything. Is there any way I can make it stop doing that?
>
> Angelo
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
------------------------------
Message: 3
Date: Sun, 24 Jul 2005 21:47:02 +0200
From: Bernhard Steffen <bernhard.steffen at gmx.net>
Subject: Re: [fpc-pascal] [OT] Mime attachments
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Message-ID: <42E3F036.8000605 at gmx.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I'm using Thunderbird as well, but not the digest form of free pascal
mailing list. Works pretty good for me. Try using to receive each
posting separately instead of a "blob" of digest - thus giving you the
advantage of using the tree structure view of a subject thread. (each
subject with every reply gets shown as a separate tree by Thunderbird,
if you choose so.) For changing digest form see the link below.
HTH
Bernhard
Angelo Bertolli wrote:
> Does anyone else here use thunderbird? Everytime I get a digest all of
> the attachments in thunderbird crowd out the main window so I can't read
> anything. Is there any way I can make it stop doing that?
>
> Angelo
>
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
--
bernhard.steffen at gmx.net
------------------------------
Message: 4
Date: Sun, 24 Jul 2005 14:32:13 -0700
From: "L505" <fpc505 at z505.com>
Subject: [fpc-pascal] Exporting pointers to classes or objects
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Message-ID: <009101c59097$2d5da360$0100a8c0 at l1>
Content-Type: text/plain; charset="iso-8859-1"
Questions on returning a pointer to a class with regards to DLL/SO's
(exporting
pointers)
(I realize you can't export a class yet for FPC)
Would returning a pointer to a class (either through a function result, or a
function Var (by reference) parameter) allow you to use classes across
module
boundaries (library/executable).
I am going to experiment with this, but even if it works in some odd way, I
of
course want to know if it would be reliable or just hit and miss.
Would a pointer be more efficient or roughly the same in comparison to
exporting
class?
Also, are classes from FPC different binary constructs than the classes from
Delphi?.. so you wouldn't be able to use a exported pointer or exported
class in
a Delphi program from an FPC library?
Regards,
Lars
------------------------------
Message: 5
Date: Sun, 24 Jul 2005 23:14:43 +0200
From: Marc Santhoff <M.Santhoff at t-online.de>
Subject: Re: [fpc-pascal] Exporting pointers to classes or objects
To: fpc-pascal at lists.freepascal.org
Message-ID: <1122239683.5575.21.camel at localhost.das.netz>
Content-Type: text/plain
Am Sonntag, den 24.07.2005, 14:32 -0700 schrieb L505:
> Questions on returning a pointer to a class with regards to DLL/SO's
(exporting
> pointers)
[...]
I've found an old local copy of the article I mentioned in the thread
about using dialogs from dlls. Since it's not online at Borlands website
any more (from somewhen in 1998), I would send you a copy if you like.
On the other hand I'd really appreciate a validation on the techniques
mentioned in that article with respect to fpc and lazarus from the pros,
so if anybody else wants to read it ...
Title and table of contents:
<snip>
Sharing Code and Objects Between Delphi and C++
Conrad Herrmann, Staff Engineer, Borland International
Sharing Functions
Packaging
Sharing Objects Between Borland C++ and Delphi
Using A Delphi Form As A Modeless Window In A C++ MFC Or Owl Program
Conclusion
</snip>
HTH,
Marc
------------------------------
Message: 6
Date: Sun, 24 Jul 2005 15:36:49 -0700
From: "L505" <fpc505 at z505.com>
Subject: Re: [fpc-pascal] Exporting pointers to classes or objects
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Message-ID: <00a401c590a0$3119d1f0$0100a8c0 at l1>
Content-Type: text/plain; charset="iso-8859-1"
| I've found an old local copy of the article I mentioned in the thread
| about using dialogs from dlls. Since it's not online at Borlands website
| any more (from somewhen in 1998), I would send you a copy if you like.
|
Thanks will read that one if I can find it. One other thing I should have
considered, is that the object/class pointers being exported, if even
possible,
would of course have to use manual memory managed strings. So any
object/class
that used an ansistring would have to be modified to use pchars,
shortstrings,
or a combination pchar/pascal string. I guess the real problem is tedious
memory
management of each string within the class (if the class uses strings), even
if
you can export a pointer to an object.
------------------------------
Message: 7
Date: Mon, 25 Jul 2005 10:52:26 +0200
From: Thomas Zastrow <chef at thomas-zastrow.de>
Subject: Re: [fpc-pascal] String to Unicode?
To: FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Message-ID: <42E4A84A.7070203 at thomas-zastrow.de>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
John Coppens wrote:
>On Sat, 23 Jul 2005 17:00:15 +0200
>Thomas Zastrow <chef at thomas-zastrow.de> wrote:
>
>
>
>>Hi there,
>>
>>I'm producing some XML-Output with a FPC-program. The problem is that
>>there are special charakters like < and > in the content of some tags,
>>also some german special charakters which has to be encoded into >
>>and so on.
>>
>>Are there any functions like "String to unicode" or so for doing this
>>automatically??
>>
>>
>
>Hi Tom...
>
>Is there some confusion? I believe you mean html entities ( > is an
>html entity, not unicode). Did you check the libxml2 library? This library
>has the necessary escaping routines to hide those special routines.
>
>On the other hand, character set coding can also be done with the library.
>
>John
>
Hello John,
sorry, certainly you arre right, I need something to transform special
charakters to HTML-Entities. If there is nothing already I'l write a
function whith a lot of StringReplace-Calls ;-)
Greetings,
Tom
------------------------------
_______________________________________________
fpc-pascal maillist - fpc-pascal at lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
End of fpc-pascal Digest, Vol 11, Issue 28
******************************************
__________ Informacia od NOD32 1.1172 (20050718) __________
Tato sprava bola preverena antivirusovym systemom NOD32.
http://www.eset.sk
More information about the fpc-pascal
mailing list