Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pascal Modular-Programming 2

Status
Not open for further replies.

Akash76

Programmer
Sep 30, 2011
15
0
0
NP
In C and C++, it is done by declaring the functions in a header file and #includeing <HEADERNAME.H>.

But, while learning Pascal, I couldnot find any guide and or reference on Modular Programming.
And, I've been using {$INCLUDE SOURCEFILE.PAS}.
What are the other methods of Modular Programming in Pascal?

I'm using FreePascal. And, the other problem is: I've seen People use the term DLLProc as an alternative to DllMain in Delphi. Are there no other methods that I can simple make my own DllMain function with (HINSTANCE, DWORD, LPVOID) ? Do I only have begin ... end. ?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top