|
Ok let me try and deal with things in order.
1. Yes, although I am no expert in Linux, every LiveCD I have used supports Fat32.
2. a. Well that is going back a bit. The problem I see with DOS is device support. My own experience of running DOS on newer hardware is simply the complete lack of support for the newer data busses. Now add to that you will be running a 16bit single CPU OS on 64bit multicore hardware... you follow me here?
2. b. Hmmm... not familiar with that one.
3. a. INT13 is a call to the system BIOS (hence my earlier mention of hardware support). Again something I am not best placed to commend on. You should look at FreeDOS[^]
3. b. See above although I will come back to this.
Again what you are trying to do has been done before. I use the Windows AIK pretty much most days for my work as it provides me with the ability to mount virtual disks (now available in Windows 7 as part of the OS).
If you want to create your own Windows based virtual disk then you should examine the Windows Driver kit (specifically the Installable File System Driver samples).
Good luck
Alan
|
|
|
|
|
Hi
1. Regarding Linux / LiveCD:
a. Would you know if it is possible, using - I guess - any Linux
that's already installed on my PC - to make my own LiveCD?
b. I've heard there's a Linux system called 'tmpfs' that may
be suitable to my needs - would you have any ideas?
c. Could you refer me to links where I would find
C/C++ compilers for Linux, that:
- are free?
- are optionally open-source?
- Work preferably off a LiveCD - or a hard drive-based Linux?
- Can generate standalone executables, meaning program files
that can run off LiveCD without any need for DLL or runtime?
Quite frankly, if making a DOS virtual disk application
may prove too nerve wrecking, Linux might be the answer
Even though I don't know much about Linux
Anyhow, I'll be waiting for your other tips
Thanks much
LL
|
|
|
|
|
Hi
I'm having difficulties compiling PGPDisk 6.02,
possibly because I'm not quite sure as to how to
set up all extra libraries/tools.
1. The PC's specs I was using to compile were:
- Pentium 4 w/2gb RAM
- WinXP Pro w/s.p.2
- MS Visual C++ 6 Ent
- Win98 DDK
2. The things I wasn't sure about were:
- For Win98 DDK:
+ this wasn't available from Microsoft anymore, I had to look for
it elsewhere online - how do I know if I found the right version?
- For other DDK versions:
+ would anyone know where to find Server 2003 or whatever other versions
being referred to in the compilation documentation? Because as the case
seems to be, the only remaining SDK or DDK available online is the
new WinDDK 7; question is, would that DDK be useful, and if so,
how to I get this one to compile - instead of all others required?
- For Windows Driver Kit 7.0.0:
+ would this have been the replacement / only driver SDK available
for all Win versions from now on? In other words, what if I want
to use PGPDisk on a Win98 machine - do I still have to compile
it on an NT based system?
Any ideas on how to fix the above?
Thanks in advance
LL
|
|
|
|
|
Hi
I'm looking to write a boot manager in C/C++/Pascal,
much like Powerquest's PQBoot in the sense of the user's
being able to select a partition to boot from, then
(the application would) modify the MBR (I think) and
then the PC would reboot to the selected partition.
1. Programming background:
- I've had a bit of C/C++ programming experience,
but my Pascal skills are better.
- I'm not exactly familiar with Assembly language,
but if some Assembly code were to find its way
into a C/C++/Pascal wrapped function, using a
technique called 'inline Assembly' (I think) and
all parameters and/or function results were to be
passed in or returned in the hosting high level
language, that'll work
2. Wishes:
- I'd like for that utility to be able to work from:
+ MSDOS mode
+ Win98, WinXP (or later)
+ BootCD, where the user may select whether to boot
either from the CD or from the hard drive, assuming
there's a bootable primary partition there of course
- For any Win version or if run from a BootCD, my utility
would have to:
+ be able to run from within Win98, WinXP or later:
++ display all bootable partitions on PC's hard drive
++ reboot the PC to selected partition
+ be able to run from a BootCD:
++ allow user to select to continue booting from BootCD,
and if so, continue boot sequence off CD
++ allow user to select a bootable partition from hard drive
and if so, boot the PC to selected hard drive partition
3. Questions:
- Does it matter if the partition to boot from is
formatted on FAT16/FAT32/NTFS, or EXT2/3 f/Linux?
- Would I benefit from looking at code such as GAG
ot GRUB, or would there be any other, at least
somewhat high level (in terms of programming
language) types of source codes out there?
- Would I need some sort of an ISO image editor
or source code, in order to make an ISO for
a BootCD? If anyone should know of any freewares,
that'd be nice
So - any ideas on how to accomplish the above?
Thanks in advance
LL
|
|
|
|
|
Hi
I'm having difficulties compiling FreeDOS Scandisk,
possibly because I'm not quite sure as to how to
set up all extra include/library references.
1. The PC's specs I was using to compile were:
- Borland Turbo C++ 3
- Under Options/Directories menu command,
both 'include' and 'library' (if I recall
correctly those text field names) were
pointing to their actual on disk equivalents
2. The things I wasn't sure about were:
- There were about zillion error messages
regarding missing files;
- There were other error messages regarding
all sorts of variables names throughout
the code that the compiler claimed they
were undeclared.
Any ideas on how to fix the above?
Thanks in advance
LL
|
|
|
|
|
Hi
I'm having difficulties compiling FreeDOS Defrag,
possibly because I'm not quite sure as to how to
set up all extra include/library references.
1. The PC's specs I was using to compile were:
- Borland Turbo C++ 3
- Under Options/Directories menu command,
both 'include' and 'library' (if I recall
correctly those text field names) were
pointing to their actual on disk equivalents
2. The things I wasn't sure about were:
- There were about zillion error messages
regarding missing files;
- There were other error messages regarding
all sorts of variables names throughout
the code that the compiler claimed they
were undeclared.
Any ideas on how to fix the above?
Thanks in advance
LL
|
|
|
|
|
Hi
I'm looking to write a partition cloning utility,
much like Norton Ghost in the sense of being able
to copy only the USED sectors from one partition
to another.
I'd like for that utility to be able to work
mostly with FAT32 formats, even though NTFS
and/or EXT2 or EXT3 (f/Linux) would be nice too
1. Programming background:
- I've had a bit of C/C++ programming experience,
but my Pascal skills are better.
- I'm not exactly familiar with Assembly language,
but if some Assembly code were to find its way
into a C/C++/Pascal wrapped function, using a
technique called 'inline Assembly' (I think) and
all parameters and/or function results were to be
passed in or returned in the hosting high level
language, that'll work
2. Problems:
- how do I read a hard drive's FAT, in order to find out
which sectors are used and which ones aren't?
+ My idea for my utility is to be able to tell that, right
upon startup - much like what Microsoft's MSDOS Scandisk
does when it's ready to do its surface scan - where
there's a nice form (or window) appearing on screen,
and a whole bunch of differently colored columns are
in it, representing the examined disk's data layout.
+ Obviously it has to be done very quickly; I know I
could scan sector by sector, but the downside is
that it may take forever if there's a large partition
that is mostly empty.
- Another problem is an option that I'd like to add in,
which would have to do with displaying, and perhaps
catalogging all filenames and pathnames that get
read along the way, during a clone. If I were to refer
to Norton Ghost again, then it has a command line switch
allowing the user to generate some sort of a filename list.
3. Available source codes:
- I've checked out FreeDOS Defrag and Scandisk,
where both utilities were written in C or C++
plus another Scandisk version written in Turbo Pascal.
- Unfortunately, the two C/C++ utilities didn't even compile;
The Pascal version, however, did.
- I booted the PC via some BootCD with Win98 system files
and attempted to run FreeDOS Scandisk on pure MSDOS mode,
but, unfortunately it would report my either FAT32 partitions
as non-DOS disks.
Any ideas on how clone USED sectors only?
Thanks in advance
LL
|
|
|
|
|
Is it your college project or you want to hire someone to write yoru code "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
No Sir,
No college project, nor do I want to hire anyone
This is something I wanted to see if I can write on my own
and then add in some functions that I'd like to have.
Any ideas?
Cheers
LL
|
|
|
|
|
Hi,
I 'd like to know what does the dll and lib files in OpenCv contains?
and how can i explore their codes?
i know that openCV is an open source library so, why it contains dlls and libs files?
is it considered closing the source code.
Thank you
Ahmed******************
******************
** Ahmed Ismail **
******************
******************
|
|
|
|
|
Willow Garage is the offical maintainer of OpenCV now. Here's[^] where you start to find documentation and source code. The source IS available. I'd suggest you buy the book and read it to get started on what the library contains. You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
I have the manual of openCV and i have some sort of experience with it.
but i am talking about some lib and files we include it in the VC++ directories.
i gonna run C++ code based on openCV on NOISE|| mirceoprocessor.
so, i need to recompile these lib and dll files.
I hope my point is clear now. Ahmed Ismail
|
|
|
|
|
I'm not familiar with that processor. I work with OpenCV 2.0 and have done my own projects for VC++ 9.0 to build static libraries under Windows. Basically, if you look at the subdirectories under src, there are 5. CV, CVAux, CXCore, HighGUI, and ML. I built a lib using the source files from each folder. You'll have to set up your build environment to point to the correct lib files. In 2.0, this is just include\OpenCV, however, they did change the directory structure in 2.0 from earlier versions.
If you want to build DLLs, you'll have to set up a similar plan but with the output being the DLLs and link libraries. There are some #define statements that need to be set properly to properly export the functions and classes.
You may have better luck getting support in the OpenCV Group on Yahoo Groups rather than here.
What operating system are you running?You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
Hi
I'm having difficulties compiling TrueCrypt 6.3a,
possibly because I'm not quite sure as to how to
set up all extra libraries/tools.
1. The PC's specs I was using to compile were:
- Pentium 4 w/2gb RAM
- WinXP Pro w/s.p.2
- MS Visual C++ 2008 Pro
- RSA Security Inc. PKCS #11 Cryptographic Token Interface 2.20
- NASM 2.07 (Win32) installed
2. The things I wasn't sure about were:
- For MS Visual C++ 2008 Pro:
+ was s.p.1 really necessary, or could I've
done without? It's just that, as I recall,
when I tried to run an update with that s.p.1
thing, it took well over an hour to complete,
and as far as I knew all it did was to add in
some Silverlight functions. Obvioulsy I'd
rather skip this 1 hour wait, if that s.p.1
is not absolutely necessary.
- For NASM 2.07:
+ I added NASM to the External Tools menu command
of the MS Visual C++ 2008 Pro IDE, and it did
appear, after that as yet another menu command,
however upon compilation there were several error
messages claiming that NASM was not available,
even though its path seemed to be correct.
- For MS Visual C++ 1.52:
+ wasn't this an Win 3.1 compiler?
+ what is it good for anyways, if TrueCrypt is
to be compiled with a .NET compiler in the
first place?
- For Gzip compressor:
+ is there a utility or DLL to install/register?
+ how would any of the compilers (if any) recognize
or make use of that Gzip thing?
- For PKCS #11 2.20:
+ what folder was I supposed to put it in?
+ I did declare an environment variable of type 'System'
for 'PKCS11_INC' with the path pointing to the contents
of one of the ZIP file: there were a bunch of '.h' files.
- For Windows SDK for Windows 7:
+ what if I was to use TrueCrypt only on WinXP?
neither Vista, nor Win7, at all?
- For Windows Driver Kit 7.0.0:
+ would this have been the replacement / only driver SDK available
for all Win versions from now on? In other words, what if I want
to use TrueCrypt on a Win98 machine - do I still have to compile
it on an NT based system?
Any ideas on how to get TC to compile?
Thanks in advance
LL
|
|
|
|
|
I want to Create CMFCRibbonButton control with custom width independent of it's caption length.
and even I want know if I could change their width dynamically (at running time)
|
|
|
|
|
Try CMFCRibbonBaseElement::Get/SetRect(..)
To my intuition
it should be used at creation time,
or you will call something like "ReAdjustLayout" for the parent bar/pane
after the setting of the rectangle at RT... virtual void BeHappy() = 0;
|
|
|
|
|
It was so surprising to me when i found that actually these two methods (CMFCRibbonBaseElement::SetRect and CMFCRibbonBaseElement::GetRect) do nothing, even after creating your ribbon element and put it in the ribbon menu you can't retrieve the dimensions of your element with CMFCRibbonBaseElement::GetRect and the only thing it gives is a rect object with zero dimentions
|
|
|
|
|
Hello,
I would like to get some ideas on writing a stack library using C language, that will as generic as possible
It should support different data types - (handle strings, ints, chars, doubles, and other misc data types), different stack sizes, etc...
I am open to hear about any ideas that may come, (See prototypes, and get some code if anybody happen to have it already) and/or will be happy if anyone can referee me to places with this issue already solved.
Thanks.
|
|
|
|
|
|
|
try STL::Stack class for same! "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Hi All,
I am trying to add a cmd functionality into my app, however it's not working very well and I am looking for alternate methods. What I'm going right now is taking an input command and using CreateProcess with cmd /C *command* > outputFile , then reading the file and displaying the output. However, the problem with this approach is that if I want to start an app, lets say Notepad, I would not be able to do anything else until Notepad closes. As well, the cd command is rendered useless, as when cmd exits and I call another command, the new cmd created by CreateProcess is still at the same directory.
Does anyone have any suggestions for a different approach - perhaps somehow piping the input/output from the cmd window directly to my app?
Thanks very much.
|
|
|
|
|
Oh, and I can't distinguish between a successful command and an unsuccessful one (whether that command even exists or not).
|
|
|
|
|
Have you tried to create console for your process with AllocConsole? Life is a stage and we are all actors!
|
|
|
|
|
No, I haven't because I don't see how would I receive the output of any command with that method. I don't see how I can input stuff into it either...
EDIT: aha, I see now. Going to try it right now. Thanks! modified on Saturday, March 13, 2010 6:40 PM
|
|
|
|
|