| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Aug 2003 Location: TAIBEI
Posts: 3
| Can't Create Packet instance. In vb6 i can't Crteate packet read/write instance. Public WithEvents nero As nero Public drives As INeroDrives Public WithEvents drive As NeroDrive Private Sub ReadBlockofCD_Click() Dim fsbr As INeroFileSystemBlockReader Dim drives As INeroDrives Set drives = nero.GetDrives(NERO_MEDIA_CDR) Set drive = drives(AvailableDevices.ListIndex) Set fsbr = drive.CreateBlockReader(ePacketWriting) End Sub |
| | |
| | #3 (permalink) | |
| New on Forum Join Date: Aug 2003 Location: TAIBEI
Posts: 3
| VC6 Can't Write packet. Quote:
In VC6 call the The Packet Writing API can't work: this is console program: #include "NeroAPIGlue.h" #include "NeroPacketWriting.h" #include "FILESYSTEMBLOCKACCESSINTERFACE.H" NERO_DEVICEHANDLE NeroDeviceHandle; NERO_SCSI_DEVICE_INFOS *NeroDeviceInfos; void main() { } | |
| | |
| | #4 (permalink) |
| New on Forum Join Date: Aug 2003 Location: TAIBEI
Posts: 3
| Matze: sorry ! NERO 6.0 NERO SDK API 1.03 My COMBO: MATSHITA UJDA720 DVD/CDRW DISC: SONY CD-RW650(empty). this my cod patch: #include #include #include "NeroAPIGlue.h" #include "NeroPacketWriting.h" #include "FILESYSTEMBLOCKACCESSINTERFACE.H" NERO_DEVICEHANDLE NeroDeviceHandle; NERO_SCSI_DEVICE_INFOS *NeroDeviceInfos; #define DUMMY_USER_DATA &NeroSettings NERO_SETTINGS NeroSettings = { "NeroFiles", NULL,NULL, "Nero.txt", { IdleCallback, DUMMY_USER_DATA }, { UserDialog, DUMMY_USER_DATA } }; void main() { NeroAPIGlueConnect(NULL); // it OK NeroInit (&NeroSettings,NULL); // it OK NeroDeviceInfos = NeroGetAvailableDrivesEx( // it OK MEDIA_FPACKET,NULL); GetNeroDeviceInfos( NeroDeviceInfos ); // it OK NeroDeviceHandle = NeroOpenDevice ( // it OK &NeroDeviceInfos->nsdisDevInfos[0]); INeroFileSystemBlockAccess* infsba = NeroCreateBlockWriterInterface( NeroDeviceHandle,ePacketWriting);// it OK NeroFSSecNo noSectorsW = 1; char bufferW[2048]; memset(bufferW,'Z',sizeof(bufferW)); const void *pDataW = bufferW; NeroFSSecNo startSectorW = 0; NeroFSSecNo SectorsWrittenW = 0; NeroFSSecNo &noSectorsWrittenW = SectorsWrittenW; // it dont' return any message int err = infsba->WriteSectorsUnBuffered(pDataW,startSectorW,noSectorsW,noSectorsWrittenW); ... } |
| | |
| |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Got task_1 error=300 due to 2 instance | nodiaque | DVDFab / DVD Region+CSS Free | 2 | 04-10-2006 04:03 |
| Program allowing multiple instance? | Nush | General Software | 2 | 19-09-2006 09:53 |
| Packet writing, why? | TexasGuy | Newbie Forum | 7 | 07-09-2003 23:50 |
| Packet cd | lbhm | CD Freaks Living Room | 7 | 26-04-2000 23:43 |
| Packet CD??? | Wookie | CD Freaks Living Room | 3 | 11-03-2000 07:41 |