IMAPI

Windows specific forum
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by SimpleMind.

Hi,

PB makes it possible to use API calls. Is it also possible to call functions from the IMAPI (WinXP) for creating a burning program, see the following text from the Microsoft Site: "The Image Mastering API (IMAPI) allows an application to stage and burn a simple audio or data image to CD-R and CD-RW devices. The API supports the following formats: Redbook audio and data discs with both Joliet and ISO 9660. The architecture allows for future expansion of the supported format set."

When this is not the case, does anyone has some experience with a dll from XP which supports these functions?

SimpleMind,

Perfection is reached not when there is no longer anything to add,
but when there is no longer anything to take away. (A. Saint-Exupery)

- Registered PureBasic Coder. -
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by freak.

The IMAPI Interface is OOP, so it is not that easy to access it from PB. Maybe it would be easier to search for some dll on the net that would let you do this.

Timo
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by SimpleMind.

I was afraid for this answer.

SimpleMind,

Perfection is reached not when there is no longer anything to add,
but when there is no longer anything to take away. (A. Saint-Exupery)

- Registered PureBasic Coder. -
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

It's not that difficult to use COM using CallCOM, you just need to know the order of the methods used, taking into account the inherited methods. In the case of IUnknown, three methods are inherited, so you just add 12 to the offset of each method of an interface that inherits directly from IUnknown. If you post the method calls you need to do, maybe we can help you with this.

El_Choni
Post Reply