win32.lib doesn't have any modules, it only has binary code.

You need to add an import switch and the location of the win32 project
folder. E.g. if you have:

C:\win32\win32\winbase.d

Then you would add "-IC:\win32\", and the compiler will look for
winbase inside the win32 subfolder. So your compile command would look
like:
"dmd.exe common.d main.d win32.lib -IC:\win32\ -ofediting.exe -inline
-O -release -w -version=Unicode -version=WindowsVista"

There should be a list of imports you can set in Eclipse, I believe.
It is an IDE after all.

Reply via email to