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
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