This question already has answers here:
Is there a Visual Basic 6 decompiler? [closed]
(6 answers)
Closed 1 year ago.
A few days ago, I have formated my disk and I have lost all datas.
Now I have only two VB6 exe files and I want source code from those.
Is there any way to recover source code from VB6 exe files?
Please help me.
You cannot, in general, retrieve source code from an executable as it's a one-way transformation from in this case visual basic to binary machine code. If you compiled your binary with debug information you have more information available. You can of course obtain assembly and there are a class of tools that is called decompilers that ease transformation to a high-level language like C. See for example https://reverseengineering.stackexchange.com/questions/8038/exe-to-c-source-code-decompiler. Sorry.
Related
This question already has answers here:
Linker Trouble: How to determine where a "/DEFAULTLIB" is coming from
(3 answers)
Closed 1 year ago.
I'm in the process of updating an older Hololens project to the latest version of Visual Studio, the latest Target Platform, and a newer version of C++. We haven't done a build of this project in over a year, so we've also had many changes to our codebase (which is shared with our desktop version, so we are able to use a lot more libs than we can in Hololens).
I'm currently getting this error when compiling:
LINK: fatal error LNK1104: cannot open file 'comsuppwd.lib'
Being a Hololens app, the comsuppw library isn't available. Is there a way to see what is causing this library to be included? I'm trying to avoid having to manually go through a years worth of changelists to find what is causing this library to be linked.
I've used dumpbin/undname to get a list of all of the public symbols in comsuppw.lib, and done a search for any we may have used (and found nothing). I've also turned on verbose linking, but didn't see anything helpful.
I was able to track down the offending class by using dumpbin on all of the .obj files, using this command:
for /R %1 in (*.obj) do #dumpbin /directives /section:.drectve "%1" > "%1".directives.txt
Found here
This question already has answers here:
How do I find out which dlls an executable will load?
(10 answers)
Closed 4 years ago.
I am building a Rust application that uses the iui crate.
When I click the executable after doing cargo build, I get an error saying that the DLL isn't in the path. I did put the DLL in the path to see if it worked and it did but it opened a command window with the GUI which it doesn't do that when I run cargo run.
I don't know a lot about how Rust builds executables and I don't know where Rust keeps the dependencies so I would like to know how I can get all my dependencies in a single path. Having something that can grab all the dependencies for me would be nice because the dependency has other dependencies that I probably need to add and I really don't know what they are.
I plan on making an installer for my Rust application and I will need all of the dependencies for it to work.
It's not specific to Rust. For Windows, you'll find the tools in this answer: How do I find out which dlls an executable will load?
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to use alize for voice recognition. I need some guidance in alize setup. I am using windows 7.
Alize is a toolkit for speaker recognition , verification and segmentation.
To set up the system once you have compiled alize binaries the easiest way is to take one of the demos avaliable in the Website.
Alize is decomposed into ALIZE library (.dll/.lib) and LIA_RAL which is a library + some tools that will allow you to build the system by command line.
Alize needs to work with signal parametrizations (features) extracted by other libraries like : SPRO and HTK. I will recommend you to compile SPRO because most of the examples use it, however HTK file format is also allowed or even with matlab you can save your own parametrization in SPRO/HTK format.
once you got you binaries , spro binaries and your demo folder , just copy the requiered files into the bin folder. Now read the readme and follow the script execution , you may prefer work in cygwin or use a window bash port.
the tricky parts with ALIZE/LIA-RAL are the path manipulation. Most of the "File not found" exceptions com from un-appropiated format in guide files: paths must be relative, without starting slash and the files does not contain extensions. ej: "emocions/angry/15a04Wa". You have to remember that the C code includes the slash and appends the extension to the name using the information present in the corresponding config file.
Check the code for details about parameter meaning , its the easiest way.
This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Is there a vb6 decompiler?
Is there any way that i can retrieve the source code from a dll written through VB6. There are no other files except the dll itself
there are several options (although you never get the original source code and sometimes it ain't pretty if the DLL has been compiled to native code!)... see http://www.program-transformation.org/Transform/VisualBasicDecompilers.
For example http://www.vb-decompiler.org/products.htm
Google search for "VB6 disassembler" revealed this product: http://www.vb-decompiler.org/products.htm
I've never used it myself.
There is no equivalent of .Net ILDASM.exe for VB6 though, and the results from such disassembler products will not be as pretty as the original source code.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
This is probably a silly question but here goes:
I like to be able to see the source code of third party (OSS) libraries from within my projects. I always setup my projects like this when using java. Is this possible in Visual Studio? I am not interested in building them! Only have them available for reference if lets say an exception stack trace points to a third party component...
Debugging a third-party DLL in Visual Studio.NET? covers much of the details if you're trying to do this for debugging purposes. But in general, two points to take away. First, it's unfortunately a little bit harder than it would be in Java. Second, it depends heavily on what language you're using.
Essentially, you do the following if it's a .NET assembly you're working against.
Decompile the source code with something like Reflector, then treat the decompiled source code as a new library within your project and set breakpoints in the source.
Remove all references to the 3rd party library so that it is the decompiled code that is executing.
Don't forget to remove references to the source elements later.
If it's an existing open-source library, you can just compile the source yourself into program database (PDB) files, assuming there's a corresponding VS project. More on that here.
To achieve this you have to have pdb files.
If library is provided with debug symbol file you have to place pdb file in the same location that dll. During debug VS will ask you about location of source files.
You can read about it here http://msdn.microsoft.com/en-us/library/ms241613.aspx
The problem you will get if library is provided without pdb. If it is OSS dll you can compile it by yourself with pdb files. You will have to do it once.