06-26-2007 02:57 PM
06-27-2007 09:31 AM
06-27-2007 10:15 AM
Ian,
Thanks for the tips. I realize that with the right motivation the code can be recovered. I'm just trying to understand the risk.
Although no one at NI ever confirmed this, I got the impression that earlier versions of CVI were actually running as a C interpreter and the "EXE" was really just a compressed version of the source code. More recent versions of CVI seem to have moved closer to a natively compiled app but still aren't all the way there (given that you need to install a huge runtime library to execute them).
I guess what I'm really asking for is an explanation of what's in a CVI 8.0 compiled EXE file.
06-29-2007 04:00 AM - edited 06-29-2007 04:00 AM
Your C interpreter speculations may have had some base with the first versions of LabWindows for DOS (but we talk here about 1990 period!!) but LabWindows CVI (since about 1993) always has been a real C compiler. I have never tried to disassemble a CVI program but did a few times with programs and DLLs created with Visual C and similar compilers and yes if you want to get at that information you can get it. CVI might be even a bit more difficult to disassemble since normal disassemblers might get ashtray by some of the startup magic in CVI.
@tonyg 614 wrote:
Ian,
Thanks for the tips. I realize that with the right motivation the code can be recovered. I'm just trying to understand the risk.
Although no one at NI ever confirmed this, I got the impression that earlier versions of CVI were actually running as a C interpreter and the "EXE" was really just a compressed version of the source code. More recent versions of CVI seem to have moved closer to a natively compiled app but still aren't all the way there (given that you need to install a huge runtime library to execute them).
I guess what I'm really asking for is an explanation of what's in a CVI 8.0 compiled EXE file.
Message Edited by rolfk on 06-29-2007 11:01 AM