NeroCmd

vbimport

#1

Hello,

I installed VC++ 6.0 with SP5.

I can build debug with no errors.

I try to use the following commands:

nerocmd --write --drivename “MATSHITA UJDA720 DVD/CDRW”
–iso test d: est.iso >test.txt

The program raises exception:

Debug Assertion failed:

neroprogress.h line 27
Expression m_pNeroProgress!=NULL

Please help. Thanks.

maociao


#2

nerocmd --write --drivename “MATSHITA UJDA720 DVD/CDRW”
–iso test d: est.iso >test.txt

Use driver letter instead. For instance,
nerocmd --write --drivename F
–iso test d: est.iso >test.txt


#3

[b]Debug Assertion failed:

neroprogress.h line 27
Expression m_pNeroProgress!=NULL [/b]
You should upgrade to Nero 6 or use an older NeroSDK.


#4

The reason for this behaviour is, that NeroCMD uses some features that are not available in older Nero versions. Here it uses NeroCreateProgress which is only available up from Nero 6.

For this particular problem you can just replace this code by code that generates a NERO_PROGRESS structure by itself.

Generally, if you want your application to work with older Nero versions you should make sure, that you either don’t use newer features or check the NeroAPI version before using some features.