Re: Viewing object code?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Steve Richfie1d" <Steve@xxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3tt617FudpgsU1@xxxxxxxxxxxxxxxxx
> In the old days, before Microsoft, compilers all had an option to list
> the code they produced so that you could see what compiled well and what
> did not. Programmers quickly learned not to use what the compiler made a
> mess of. This often led to 2:1 speedups in programs.
>
> Is it possible to view the code that VB compiles your program into?
> Perhaps this may be easier on older systems like VB5 before the advent
> of JIT compiling?
>
> Thanks in advance for the help.
>
> Steve Richfie1d

First off, VB3/45/6 (classic COM) doesn't have JIT compiling.

Are you thinking about VB.Net? If so, the answer is yes and you can view the
IL with various views. Post in a dotnet newsgroup for additional
information.

With VB Com it is possible to interrupt VB's compile processes and view the
..obj files passed to the C2 compiler. It is also possible compile a VB
program with Symbolic Information which can provide some interesting
insight. But you have to have a good feel for assembly.

hth
-ralph




.



Relevant Pages

  • Re: VBA : shrinking a multidimensional array to nothing and restarting again...
    ... >> Gerry Quinn wrote: ... > have been documented (or how would Nash have known of it?). ... We're talking about what Microsoft does, ... >>> certain function not operating as he expected in one compiler. ...
    (comp.programming)
  • Re: To Richard Heathfield: enoughs enough
    ... Abandoning Hungarian notation because it is ... So write you're own compiler for a new language, ... >> I don't own any such books. ... Not even Microsoft claims that anymore. ...
    (comp.programming)
  • Re: [announcement] SYSAPI and SYSSVC for Windows
    ... are 3D GUI objects a Microsoft invention? ... copies to circumvent payment is a nice thing to do, but I think "secure" ... :> "trusted" applications like media player, real player, and its ilk or not ... I don't think small compiler companies will always use dongles. ...
    (comp.lang.ada)
  • Re: Visual C++ 6 support issue
    ... Of course, Eclipse has the ... Apparently there is a discussion group going on in Microsoft which is discussing the tool ... >the same parsing job that the first couple of passes of the compiler ... And the compiler and the IDE are completely orthogonal. ...
    (microsoft.public.vc.mfc)
  • linker mistakes entry point in dll
    ... Microsoft Program Maintenance Utility Version 6.00.8168.0 ... IntelFortran Compiler for 32-bit applications, ... Copyright 1985-2004 Intel Corporation. ...
    (comp.lang.fortran)