Quote:
> >Is that a DLL that you create with MF-Cobol? in this case delete the DLL
> >and you can animate your .INT
> Yes It is a DLL I wrote.The DLL has more than one entry point and the
> entry points accept multiple parameters. I was hoping that I will be able
> to run a driver program that loads the DLL and calls the entry point and
> I would get control in the animator in DLL program. Is this possible.?
> Thanks for your help
> Uday
YES, it is possible. I have done something like this where my Windows 3.1
C front-end calls a Cobol .DLL.
Your driver program program must be compiled into an .EXE program (This
can be anything like C, VB or anything that compiles into an .EXE).
I am using MF cobol version 3.2.50. Your .DLL's must be compiled with the
GANIM compiler option. I am using the Xilerator that is included in the
Workbench. On the Windows commandline you just start the Xilerator with
the .EXE program and it will load the .DLL into the de{*filter*}.
I needed to load the .DLL upfront by the front-end program to get it in
memory.
sample: F:\MFO\COBWB\EXEDLL\XILW.EXE c:\coboldll\proj0000.exe
Hope this will help a bit.
Christo Stemmet
Cape Town
South Africa