Mount in Portable Edition with command line ?

Sysprogs forums Forums WinCDEmu Mount in Portable Edition with command line ?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #275
    jslegers
    Participant

    Hello,

    Is it possible to mount an image via commandline with the Portable Edition?

    John

    #1626
    support
    Keymaster

    Normally no, but you can easily build a version that can:
    Simply download the sources, open batchmnt.cpp file, and replace this line:

    VirtualCDClient clt(&status);

    with this:

    VirtualCDClient clt(&status, true);

    Then, build the batchmnt.exe project. The change will make batchmnt use the portable driver instead of the main driver.
    Note that any version of Visual Studio (including the free Express version) will do, as you don’t have to change any kernel-mode stuff.

    #1627
    jslegers
    Participant

    Thank you for your reply.

    I trying it in Visual C++ 2010 but i’m getting conversion errors.

    I will try 2008 version.

    #1628
    jslegers
    Participant

    Hello,

    I have tried to compile it in Visual Studio 2008.

    I have downloaded bzslib but i’m getting a kind of errors :

    Build started: Project: VirtualCDCtl, Configuration: Debug Win32

    Compiling…
    VirtualCDClient.cpp
    x:wincdemu-3.4virtualcdctlvirtualcdclient.h(2) : fatal error C1083: Cannot open include file: ‘bzscmn/file.h’: No such file or directory
    cl : Command line warning D9028 : minimal rebuild failure, reverting to normal build
    Build log was saved at “file://x:WinCDEmu-3.4VirtualCDCtlDebugBuildLog.htm”
    VirtualCDCtl – 1 error(s), 1 warning(s)

    Build started: Project: bzswin, Configuration: Debug Win32

    Compiling…
    WMI.cpp
    x:bzslibbzswinwmi.h(8) : fatal error C1083: Cannot open include file: ‘atlcomcli.h’: No such file or directory
    wow64.cpp
    graphview.cpp
    x:bzslibbzswinuigraphview.h(4) : fatal error C1083: Cannot open include file: ‘atlbase.h’: No such file or directory
    hexview.cpp
    x:bzslibbzswinuihexview.h(3) : fatal error C1083: Cannot open include file: ‘atlbase.h’: No such file or directory
    BCD.cpp
    x:bzslibbzswinwmi.h(8) : fatal error C1083: Cannot open include file: ‘atlcomcli.h’: No such file or directory
    Generating Code…
    Build log was saved at “file://x:BzsLibbzswinDebugBuildLog.htm”
    bzswin – 4 error(s), 0 warning(s)

    Build started: Project: batchmnt, Configuration: Debug Win32

    Compiling…
    batchmnt.cpp
    x:wincdemu-3.4virtualcdctlvirtualcdclient.h(2) : fatal error C1083: Cannot open include file: ‘bzscmn/file.h’: No such file or directory
    Build log was saved at “file://x:WinCDEmu-3.4batchmntDebugBuildLog.htm”
    batchmnt – 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========

    The .h file are there but it seems it can’t find them.

    #1624
    support
    Keymaster

    Did you use BazisLib installer? It should add the paths to Visual Studio settings automatically (after you restart Visual Studio, of course). If this does not help, simply go to Project Settings, Select Compiler -> Additional Include Paths and enter the BazisLib path and WTL path (BazisLib installer downloads and installs WTL).

    #1625
    jslegers
    Participant

    Hi,

    I have downloaded a trial version of Visual Studio 2008 and installed Bazislib 2.51 but the installer errors on the end. It can’t find VCComponents.dat.
    I have tried to compile it but got on error that it couldn’t find some .h files.

    John

    #1629
    grigori
    Participant

    I was working on visual studio, but is seems for me too buggy! It is better to use Codegear 2010. Borland 7 )

    #1630
    Anonymous
    Participant

    I am not an coding expert. So could any one please upload the modified and compiled ” batchmnt.exe ” ?

    #1633
    Anonymous
    Participant

    So could any one please upload the modified and compiled ” batchmnt.exe ” ?

    +1!

    #1634
    highend
    Participant

    So could any one please upload the modified and compiled ” batchmnt.exe ” ?

    +1 as well

    #1635
    Anonymous
    Participant

    @highend

    I have opened a thread for the same feature request
    forum.sysprogs.com/viewtopic.php?f=3&t=2439&sid=c40f8ed46d7470f989b073901c56bc46

    Many people ask for this but no positive response by bazis…

    #1632
    highend
    Participant

    @Thunder

    Anyone with enough C++ knowledge can compile it. Unfortunately I’m not one of those people…

    Hopefully someone is willing to provide a newly compiled batchmnt.exe

    #1631
    Anonymous
    Participant

    @highend

    Impossible, i have ask it to many people, my colleagues, with C++ knowledge ( and me too i have try it, i’m not a super expert but i’m not a super n00b ). Result:
    The Code + the BasizLib is a *pain in the ass*
    The structure is crazy for who don’t know the code…the only can do it is the Author.
    If Basiz a day leave the project, no one will be able to complete it and that is why I’d ask to him to do at least some changes to make the portable version perfect and not disturbing him anymore…

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.