nav100
nav100

Reputation: 63

Visual COBOL for 2010 visual studio

I just installed trail version of Visual COBOL with visual studio 2010 from Micro Focus. I am trying to compile one of my old COBOL programs into .NET assembly. When I compile, it creates .IDY file exension file in the bin folder. I want to decompile assembly to C# code. Is there anyway I can do this?

Upvotes: 1

Views: 1098

Answers (3)

Mark
Mark

Reputation: 554

[Note: post from Micro Focus]

As the previous poster noted, the IDY file is only used to support the debugger.

If this is a managed code project (and you can create both managed and unmanaged (native) code in VS 2010 with Visual COBOL), then you will the assemblies in standard MSIL just like any other .NET language. Bear in mind this is not code that's intended to be human-readable and depends on the Micro Focus COBOL runtime so you can't reverse engineer the code to some other language such as C# (there may also be license agreement issues).

Upvotes: 3

Stephen Gennard
Stephen Gennard

Reputation: 1910

The .idy file contains data for debugging, so using reflector on it will not work just like reflector does not work on .pdb files.

Upvotes: 2

James Curran
James Curran

Reputation: 103495

Try renaming it to *.dll, and load it into Reflector. If that fails, MicroFocus is doing something funky and that's not a .NEt assembly. This is probably not unreasonable. The .IDY file could be some form of pcode, which is interpreted by some runtime (that is real .NET code)

Upvotes: 2

Related Questions