Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, Can't Create Packet instance. at International Chat: Software related forum; 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)


Reply
 
Thread Tools
Old 28-08-2003   #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
yoko is offline   Reply With Quote
Old 03-09-2003   #2 (permalink)
Nero Developer
 
Join Date: Jun 2003
Posts: 209
Thanks for the report!
This bug is now fixed in NeroCOM 1.2.0.0, which will be included in the next Nero version.
matze is offline   Reply With Quote
Old 08-09-2003   #3 (permalink)
New on Forum
 
Join Date: Aug 2003
Location: TAIBEI
Posts: 3
VC6 Can't Write packet.

Quote:
Originally posted by matze
Thanks for the report!
This bug is now fixed in NeroCOM 1.2.0.0, which will be included in the next Nero version.
Dear matze:

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()
{

}
yoko is offline   Reply With Quote
Old 08-09-2003   #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);

...


}
yoko is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT +2. The time now is 08:41.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0