Can I make .NET DLL (class library) with GPCP?

General discussions about working with the Component Pascal IDE and programming .NET using Gardens Point Component Pascal (GPCP)
Post Reply
dwzgocl0
Posts: 3
Joined: Fri Aug 26, 2022 7:53 pm

Can I make .NET DLL (class library) with GPCP?

Post by dwzgocl0 » Mon Aug 29, 2022 9:34 pm

CPIde-v8.1 Examples seems to be all about binaries (.exe) isn't it? Is it possible to make a DLL?

cfbsoftware
Site Admin
Posts: 493
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Can I make .NET DLL (class library) with GPCP?

Post by cfbsoftware » Tue Aug 30, 2022 9:55 am

The Library Modules and the Oberon for FPGA RISC5 Compiler modules included with CPIde are examples which generate .DLL files.

The Gardens Point Component Pascal Release Notes state:
The program executable will be “*.exe” if the program contains an entry point (i.e. if the module imports CPmain),
otherwise the compilation will create a dynamic link library “*.dll”.

dwzgocl0
Posts: 3
Joined: Fri Aug 26, 2022 7:53 pm

Re: Can I make .NET DLL (class library) with GPCP?

Post by dwzgocl0 » Tue Aug 30, 2022 4:48 pm

While this thread waiting to be approved I did read ReleaseNotes1-4NET.pdf so I'm already know this. I thought only CP-Lang.pdf is matter so I didn't read other PDFs.

Post Reply