Announcement
Collapse
No announcement yet.
vista n powertree batch file problem
Collapse
X
-
Originally posted by Michael Mattias View PostFor that matter, I think the resource compiler (rc.exe) is also a 16-bit application.
Bye!
Leave a comment:
-
I don't think this is an issue here (yet?) but....
>echo Compiling sample programs with PB/DLL 6.00
The 6x compiler is a 16-bit application and will not run on Vista/64. For that matter, I think the resource compiler (rc.exe) is also a 16-bit application.
Leave a comment:
-
Your line:-
if not exist %pbpath%\bin\PBWIN.EXE.exe goto :Error
would be better with only one '.exe'.
Iain Johnstone
Leave a comment:
-
MM
change the pbedit to pbwin still get error message.
------------------
PowerBASIC was not found in the expected location.
You will need to edit the SET PBPATH= line of this batch file
(using a text editor, such as NOTEPAD) to set the correct path.
-------------------
I was never good this batch files. If I made one, it was very simple.
change batched file below.
Code:@echo off echo Compiling sample programs with PB/DLL 6.00 echo. set pbpath=c:\PBWin90 if not exist %pbpath%\bin\PBWIN.EXE.exe goto :Error echo Building CREATE.EXE %pbpath%\bin\pbwin /q /l create echo Building FIND.EXE %pbpath%\bin\pbwin /q /l find echo Building BROWSE.EXE if #%pbmake32%#==#X# goto :AlreadySet set include=%pbpath%\winapi;%include% set pbmake32=X :AlreadySet %pbpath%\bin\rc browse %pbpath%\bin\pbres browse del browse.res %pbpath%\bin\pbwin /q /l /i%pbpath%\winapi browse set pbpath= echo Done! goto :Done :Error echo PowerBASIC was not found in the expected location. echo You will need to edit the SET PBPATH= line of this batch file echo (using a text editor, such as NOTEPAD) to set the correct path. :Done
Leave a comment:
-
==>%pbpath%\bin\pbedit /q /l create
==> %pbpath%\bin\pbedit /q /l find
==> %pbpath%\bin\pbedit /q /l /i%pbpath%\winapi browse
Don't you want 'pbwin' instead of 'pbedit' here? the /q, /l, and /i options are for pbwin.exe; the only options for pbedit are:
Code:PBEDIT.EXE [/G:row,col:] [/P:MainFile] [Filename]
Leave a comment:
-
vista n powertree batch file problem
this is the first time I try using powertree in my vista computer.
problem:
can run the pbcc sample program fine but not the dll .
the make32.bat keeps saying path not found.
here the edited make32.bat file for use with pb9
can anyone tell me whats missing??
---------------------------------------------------------------------
Code:@echo off echo Compiling sample programs with PB/DLL 6.00 echo. set pbpath=c:\PBWin90 if not exist %pbpath%\bin\PBEDIT.EXE.exe goto :Error echo Building CREATE.EXE %pbpath%\bin\pbedit /q /l create echo Building FIND.EXE %pbpath%\bin\pbedit /q /l find echo Building BROWSE.EXE if #%pbmake32%#==#X# goto :AlreadySet set include=%pbpath%\winapi;%include% set pbmake32=X :AlreadySet %pbpath%\bin\rc browse %pbpath%\bin\pbres browse del browse.res %pbpath%\bin\pbedit /q /l /i%pbpath%\winapi browse set pbpath= echo Done! goto :Done :Error echo PowerBASIC was not found in the expected location. echo You will need to edit the SET PBPATH= line of this batch file echo (using a text editor, such as NOTEPAD) to set the correct path. :Done
Tags: None
Leave a comment: