Compiling with HMG/IDE (parameters needed for exe)
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Compiling with HMG/IDE (parameters needed for exe)
Does anyone know tell me how do I set the build in IDE passing parameters and the application receives while running?
I want to compile with the IDE and leave recorded (maybe .hbc file) and that it interprets as a parameter to be passed to the newly built application.
How I do? Or will have no option to save the parameters for later execution with the IDE?
I want to compile with the IDE and leave recorded (maybe .hbc file) and that it interprets as a parameter to be passed to the newly built application.
How I do? Or will have no option to save the parameters for later execution with the IDE?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Compiling with HMG/IDE (parameters needed for exe)
No body?
I need to configure the compilation by IDE which is passed the parameter that my application needs to run.
In other words...
I need to build my aplication in HMG/IDE.
My app uses a parameter at prompt command.
Example (when execute at prompt command):
FMG_View Main.fmg
In red color is the parameter needed for my app.
But I can not do this in our HMG/IDE...
Any body knows how to do it ? Claudio, any idea ?
I need to configure the compilation by IDE which is passed the parameter that my application needs to run.
In other words...
I need to build my aplication in HMG/IDE.
My app uses a parameter at prompt command.
Example (when execute at prompt command):
FMG_View Main.fmg
In red color is the parameter needed for my app.
But I can not do this in our HMG/IDE...
Any body knows how to do it ? Claudio, any idea ?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Compiling with HMG/IDE (parameters needed for exe)
There was a parameter in configuration of IDE to pass parameters to build app, but, I don't remember how to set it...
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Compiling with HMG/IDE (parameters needed for exe)
Thank you Marek for your reply.
I have tested with prgflag, but I do not know how to do it. Doesn't work...
I have tested with prgflag, but I do not know how to do it. Doesn't work...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- serge_girard
- Posts: 3165
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: Compiling with HMG/IDE (parameters needed for exe)
I have no idea !
Serge
Serge
There's nothing you can do that can't be done...
mol
I was looking my old projects, but I didn't find nothing.
I'll test other my computers later.
I'll test other my computers later.
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Compiling with HMG/IDE (parameters needed for exe)
Thank you Marek and Serge.
It's not urgent, but all the time that I have to compile it, I have to close app and going to prompt command. Its the only way I know...
I supose to be something likes flag written at .hbc of project.
I read this topic but I do not know how to use it:
viewtopic.php?p=41322#p41322
I have not experience about it and I hope you going to find it...
or someone else...
It's not urgent, but all the time that I have to compile it, I have to close app and going to prompt command. Its the only way I know...
I supose to be something likes flag written at .hbc of project.
I read this topic but I do not know how to use it:
viewtopic.php?p=41322#p41322
I have not experience about it and I hope you going to find it...
or someone else...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Compiling with HMG/IDE (parameters needed for exe)
Please Marek you could look in your hbc files the string "runflag" ? Or by other string "run=yes"
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Compiling with HMG/IDE (parameters needed for exe)
I've searched my old projects, but I didn't find anything
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Compiling with HMG/IDE (parameters needed for exe)
Are you sure Marek that our IDE allows this parameters ?
The configuration pass thru hbc by Harbour compiler. But I guess this is not working in HMG/IDE.
Because if you put at "Configuration" tab in the IDE adding this following line:
run=yes
Then it's going to execute twice your created app... that's means is the IDE its execute not the compiler...
Claudio or Roberto, could you confirm this ?
I noted a typo wrongly defined "RUNAFETRBUILD" in the IDE.exe I saw this string by Windows' Resource Monitor...
The configuration pass thru hbc by Harbour compiler. But I guess this is not working in HMG/IDE.
Because if you put at "Configuration" tab in the IDE adding this following line:
run=yes
Then it's going to execute twice your created app... that's means is the IDE its execute not the compiler...
Claudio or Roberto, could you confirm this ?
I noted a typo wrongly defined "RUNAFETRBUILD" in the IDE.exe I saw this string by Windows' Resource Monitor...
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein