- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello everyone.
i created a console application that works fine and now i want to make a dll out of it.
the console app uses several subroutines and .lib files! i changed the main program into a subroutine and added
!DEC$ ATTRIBUTES DLLEXPORT, STDCALL, REFERENCE, ALIAS:'druckabs'::druckabs
the dll is created without any errors, but thenit cannot be found by any other program, no matter where icopy it to(system32, etc)
my guess is that the dll is build incorrectly!
are there any project settings to be changed or do i have to add some !dec$ attributes to the subroutines or to the .lib files?
can anyone help me out?
thanks and good bye, mario
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi steve,
my dll is using .lib files only! do i have to check the PATH environment variable for them as well? and where can i find it / how do i do that?
mario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your DLL is linked to the static libraries, then you don't have to worry about paths.
What is the exact error you see and what program do you run that gives the error?
Download Dependency Walker and use it to check your DLL for dependencies.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page