| | |
Pascal DLL
![]() |
•
•
Join Date: Dec 2008
Posts: 1
Reputation:
Solved Threads: 0
Im trying to compile a DLL to use with mIRC (chat client with an integrated language)
Compiler: Dev-Pascal 1.9.2
Im getting one error:
- Fatal: Can't find unit CLASSES
I can compile if i remove Classes, but then i can't access the function im trying to export (Test)
Can anyone suggest a solution?
Pascal and Delphi Syntax (Toggle Plain Text)
library dll; uses SysUtils, Classes, Windows; function Test(mWnd, aWnd : HWND; data, parms : PChar; show, nopause : boolean) : integer; stdcall; var s : string; begin s := 'Hello World'; strcopy(data, PChar(s)); result := 3; end; begin end. exports Test;
Im getting one error:
- Fatal: Can't find unit CLASSES
I can compile if i remove Classes, but then i can't access the function im trying to export (Test)
Can anyone suggest a solution?
![]() |
Similar Threads
- How do you export members to an exe from a custom DLL? (C++)
- Restarting the Computer (Pascal and Delphi)
- Michigan Programmer (Community Introductions)
- Trayicon problem (Pascal and Delphi)
- Some questions about Delphi... (Pascal and Delphi)
- so...tutorials, tips and tricks, and many more.... (Pascal and Delphi)
- What is it meaned [Linker error] undefined reference to `MAPILogon@24' (C++)
- static and dynamic Dll (C++)
- Writing a Win32 DLL in VC++ (C++)
- Microsoft .NET FAQ (ASP.NET)
Other Threads in the Pascal and Delphi Forum
- Previous Thread: Get the URL
- Next Thread: How to make a screensaver run in delphi 2009 on xp/vista
| Thread Tools | Search this Thread |






