Sysprogs forums › Forums › WinCDEmu › Mount in Portable Edition with command line ?
- This topic has 12 replies, 5 voices, and was last updated 11 years, 8 months ago by Anonymous.
-
AuthorPosts
-
March 25, 2011 at 10:49 #275jslegersParticipant
Hello,
Is it possible to mount an image via commandline with the Portable Edition?
John
March 29, 2011 at 06:25 #1626supportKeymasterNormally 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.March 29, 2011 at 07:33 #1627jslegersParticipantThank you for your reply.
I trying it in Visual C++ 2010 but i’m getting conversion errors.
I will try 2008 version.
March 29, 2011 at 09:34 #1628jslegersParticipantHello,
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.
March 29, 2011 at 16:45 #1624supportKeymasterDid 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).
March 31, 2011 at 12:46 #1625jslegersParticipantHi,
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
July 20, 2011 at 03:10 #1629grigoriParticipantI was working on visual studio, but is seems for me too buggy! It is better to use Codegear 2010. Borland 7 )
February 10, 2013 at 11:09 #1630AnonymousParticipantI am not an coding expert. So could any one please upload the modified and compiled ” batchmnt.exe ” ?
February 11, 2013 at 12:53 #1633AnonymousParticipantSo could any one please upload the modified and compiled ” batchmnt.exe ” ?
+1!
February 11, 2013 at 13:14 #1634highendParticipantSo could any one please upload the modified and compiled ” batchmnt.exe ” ?
+1 as well
February 11, 2013 at 13:43 #1635AnonymousParticipantI have opened a thread for the same feature request
forum.sysprogs.com/viewtopic.php?f=3&t=2439&sid=c40f8ed46d7470f989b073901c56bc46Many people ask for this but no positive response by bazis…
February 11, 2013 at 23:36 #1632highendParticipantAnyone 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
February 13, 2013 at 09:12 #1631AnonymousParticipantImpossible, 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… -
AuthorPosts
- You must be logged in to reply to this topic.