Hello everyone,
<div>I've succesfully compiled the win32.lib file from the bindings project. </div><div>For a fun little project I need to call the windows function "writeprocessmemory/readprocessmemory" in winbase.d .</div>
<div>I loved to use the eclipse ide to use with it but I kept getting the same error over and over again so I installed the entice ide. </div><div>This gave more control over the compile command. But the error persisted.</div>
<div><br></div><div><i>"Error module winbase is in file win32/winbase.d which cannot be found..."</i></div><div>The contents of the file I'm trying to compile:</div><div><br></div><div><i>"pragma(lib,"win32.lib");</i></div>
<div><i><br></i></div><div><i>import win32.winbase;"</i></div><div><br></div><div>The compile command is:</div><div><i>"dmd.exe common.d main.d win32.lib -ofediting.exe -inline -O -release -w -version=Unicode -version=WindowsVista"</i></div>
<div><i><br></i></div><div>So it looks as if the modules from win32.lib do not get used when I try to import.</div><div><br></div><div>Thanks in advance,</div><div>Maarten</div>