Hello Itamar, This is my batch to convert DLL to Lib using MSVC. Try this:
[BATCH] @if exist %1.lib del %1.lib > nul @if exist *.exp del *.exp > nul @if exist *.def del *.def > nul if "%1" == "" goto help if not exist %1.dll goto notfound rem pexports.exe %1 > _temp_.def impdef.exe %2 %1.def %1.dll if errorlevel 1 goto errodef lib /def:%1.def if errorlevel 1 echo Error creating .LIB... goto fim :help echo Usage: dll2lib input.dll [output.lib] goto fim :notfound echo ERROR: File not found "%1" goto fim :errodef echo Error extracting .DEF... goto fim :fim rem @if exist *.exp del *.exp > nul rem @if exist *.def del *.def > nul [ENDBATCH] Regards, Rossine. -- View this message in context: http://www.nabble.com/Change-BCC-to-MSVC-tp24910812p24928139.html Sent from the Harbour - Dev mailing list archive at Nabble.com. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour