Creating a Windows DLL with Visual Basic
Subject:   Problem with DEF file
Date:   2006-04-10 12:21:37
From:   xfile101
Ran the above tutorial with minimal problems, however, created my own DLL and get error loading DLL. I suspect it's in the DEF file. If I remove the def file I can create the DLL albeit, the DLL doesn't work when called but if I add the def file and compile I get error in loading DLL. Here's my def file:
NAME aProper
LIBRARY String 'MathMod
DESCRIPTION "Add-on Library String Routines"
EXPORTS DllMain @1
myProper @2
AddrProper @3

I changed LIBRARY serval times to 'String', 'String Library' etc as I suspect this is the problem but not sure. If someone could help I would appreciate it.

1 to 1 of 1
  1. Problem with DEF file
    2006-04-11 09:54:32  xfile101 [View]

1 to 1 of 1