Comments (20)
Sorry but i cannot reproduce your issue in the current version 1.1.2.106, can
you test the last version of the tool to check if the issue still exist?
Original comment by [email protected]
on 30 Jun 2011 at 2:35
from wmi-delphi-code-creator.
i SEND YOU A PICTURE
Original comment by [email protected]
on 30 Jun 2011 at 3:00
Attachments:
from wmi-delphi-code-creator.
Actually CaptureConsoleOutput(CompilerName + ' ' + Format(' -B -CC %s',
[ProjectFile]), Console);
has every input ok but i guess it dose not compile
tried to compile with 6 and xe may be security of my computer?
Original comment by [email protected]
on 30 Jun 2011 at 3:10
from wmi-delphi-code-creator.
Thanks for the picture. can you execute the same command which is shown in the
screen (C:\Program Files\CodeGear\RAD Studio\8.0\bin\Dcc32.exe -B -CC
C:\Users\Dexter\AppData\Local\Temp\WMITemp_20110630175513046.dpr ) from the
cmd.exe and see what happen?
Original comment by [email protected]
on 30 Jun 2011 at 3:12
from wmi-delphi-code-creator.
How can i help?
Send me a version you think will work ?
limelect AT gmail dot com
Original comment by [email protected]
on 30 Jun 2011 at 3:12
from wmi-delphi-code-creator.
If i execute (in my case) with quotes C:\Program Files\Embarcadero\RAD
Studio\8.0\bin\Dcc32.exe >>>>>it finds ok
project file i OK and there
'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WMITemp_20110630180233953.dpr'
but going to
CaptureConsoleOutput(const lpCommandLine >> F7 took info
C:\Program Files\Embarcadero\RAD Studio\8.0\bin\Dcc32.exe -B -CC
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WMITemp_20110630182420171.dpr
i got this string it dose not work on cmd screen with or without quot
File dpr is there
The picture is with and without quot i hop you can see
Original comment by [email protected]
on 30 Jun 2011 at 3:32
Attachments:
from wmi-delphi-code-creator.
you are passing a wrong filename to the dcc32 please fix the extension ("dp")
of the dpr file and check again.
Original comment by [email protected]
on 30 Jun 2011 at 3:42
from wmi-delphi-code-creator.
Ok now it works
This is the solution it is not the best make better
I found in my cs i have to CD (change directory) to delphi dir
So those are the lines
Console.Add('');
Console.Add('CD '+ExtractFilePath(CompilerName));
// CaptureConsoleOutput(CompilerName + ' ' + Format(' -B -CC %s', [ProjectFile]), Console);
CaptureConsoleOutput('Dcc32.exe' + ' ' + Format(' -B -CC %s', [ProjectFile]), Console);
You have to do it better
PLZ tell me whene you will have a new one
Thanks www.limelect.com
Original comment by [email protected]
on 30 Jun 2011 at 4:02
from wmi-delphi-code-creator.
The dp is copy mistake it IS DPR !!! sorry
Original comment by [email protected]
on 30 Jun 2011 at 4:03
from wmi-delphi-code-creator.
I'm glad you which you find a solution. But I still concern about the initial
issue. can you sende me a picture with the execution of the next command from
the cmd.exe
"C:\Program Files\Embarcadero\RAD Studio\8.0\bin\Dcc32.exe" -B -CC
"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WMITemp_20110630182420171.dpr"
Thanks.
Original comment by [email protected]
on 30 Jun 2011 at 4:09
from wmi-delphi-code-creator.
No need it works
With quot on each section !!!
Original comment by [email protected]
on 30 Jun 2011 at 4:16
from wmi-delphi-code-creator.
I wander what different from your PC?
mine is XP is this the only reason ?
Original comment by [email protected]
on 30 Jun 2011 at 4:17
from wmi-delphi-code-creator.
Send me the changes you do to
CaptureConsoleOutput(CompilerName + ' ' + Format(' -B -CC %s', [ProjectFile]), Console);
i will add and try
Original comment by [email protected]
on 30 Jun 2011 at 4:19
from wmi-delphi-code-creator.
I guess you have the same solution
CaptureConsoleOutput('"'+CompilerName+'"' + ' ' + Format(' -B -CC "%s"', [ProjectFile]), Console);
But the dos screen dose not close
Original comment by [email protected]
on 30 Jun 2011 at 4:25
from wmi-delphi-code-creator.
Sorry my mistake it is the program execute
every thing is ok
Thanks
good luck
Original comment by [email protected]
on 30 Jun 2011 at 4:28
from wmi-delphi-code-creator.
I have done many tests in Windows XP, 7 , 2003 y 2008 and in all versions
calling the delphi compiler from the tool works ok. so the Windows XP is not a
problem (Maybe can be related to your system configuration, can you test in
another machine? ), if you show me a picture with the results of execute that
line from the cmd.exe
"C:\Program Files\Embarcadero\RAD Studio\8.0\bin\Dcc32.exe" -B -CC
"C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\WMITemp_20110630182420171.dpr"
will help me to discard some possibles causes.
Original comment by [email protected]
on 30 Jun 2011 at 4:31
from wmi-delphi-code-creator.
I do not have another machine here
I am with my lap top
I will be at work on Sunday where i can test
>>> If i want forget
Original comment by [email protected]
on 30 Jun 2011 at 4:46
from wmi-delphi-code-creator.
This what happens
Original comment by [email protected]
on 30 Jun 2011 at 4:50
Attachments:
from wmi-delphi-code-creator.
Ok i tried it on another computer and it works
The one that works is XP service pack 2
My lap top is XP service pack 3
Dose it make sense?
In any case with and without quote it works
as i said so may be to be on the safe side
put quotes
P.S if no ini file there is an error
so you should initialize an ini as if it was there
Good luck shlomo
Happy to help any time
Original comment by [email protected]
on 3 Jul 2011 at 5:23
from wmi-delphi-code-creator.
This issue was closed by revision r11.
Original comment by [email protected]
on 4 Jul 2011 at 6:02
- Changed state: Fixed
from wmi-delphi-code-creator.
Related Issues (20)
- Portable Edition Cache Files
- Firewall Blocking Issue
- Generic Failure error HOT 2
- Support for Go? HOT 1
- Dose not compile under XE HOT 3
- Win32_networkadapterconfiguration in delphi HOT 1
- About Generating WQL Code HOT 2
- C++ returns wrong UINT64 values HOT 1
- TDM-GCC Support
- Invalid URL in README.md HOT 1
- WDCC does not find Lazarus IDE and Compiler HOT 2
- WMI Finder HOT 1
- Delphi 10.2 - unit OleServer not found HOT 1
- Incorrect Freepascal code generated for GetWMI_Info
- Delphi 10.1 6 And WDCC HOT 1
- WQL Syntax "Where" is not working HOT 1
- WMI From Service HOT 2
- MSFT_Partition / AccessPaths
- Unable to compile : missing Vcl.Themes.dcu/pas HOT 1
- I keep getting an exception 'Could not convert variant of type array to integer' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wmi-delphi-code-creator.