Skip to main content

Hi 

We have an ABC.EXE component build in Net Express 5.1.

It contains 10 programs. Out of them 9 programs are Native Procedural program. They are reading files and updating the files.

One program(NETCall) build with OOCTRL( p) compiler directive and it is calling an .NET 4.5 DLL, To make database entry.

We are trying to migrate the whole component in to VIsual COBOL by creating an Native - Console Project.

While building the solution ,we are getting errors in NETCAL program at various places like creating an object of .NET class and calling the .NET method.

We are not able to resolve this error. Please let us know how we can solve this problem.

Thanks 

Charan

Hi 

We have an ABC.EXE component build in Net Express 5.1.

It contains 10 programs. Out of them 9 programs are Native Procedural program. They are reading files and updating the files.

One program(NETCall) build with OOCTRL( p) compiler directive and it is calling an .NET 4.5 DLL, To make database entry.

We are trying to migrate the whole component in to VIsual COBOL by creating an Native - Console Project.

While building the solution ,we are getting errors in NETCAL program at various places like creating an object of .NET class and calling the .NET method.

We are not able to resolve this error. Please let us know how we can solve this problem.

Thanks 

Charan

The important information here would be the actual error messages that you are receiving and you left that part out.

Can you please provide me with that information and show me the source line that relates to the error you are receiving?

Thanks.


Hi 

We have an ABC.EXE component build in Net Express 5.1.

It contains 10 programs. Out of them 9 programs are Native Procedural program. They are reading files and updating the files.

One program(NETCall) build with OOCTRL( p) compiler directive and it is calling an .NET 4.5 DLL, To make database entry.

We are trying to migrate the whole component in to VIsual COBOL by creating an Native - Console Project.

While building the solution ,we are getting errors in NETCAL program at various places like creating an object of .NET class and calling the .NET method.

We are not able to resolve this error. Please let us know how we can solve this problem.

Thanks 

Charan

Chris,

This is working now. We have first registered the .NET dll. Then in DCOMCNFG - COM Component services, We have changed the property of Identify section by adding our user credentials.

So it started working. Able to call the .NET class and Methods.

Thanks

Charan