Re: Help with Debug
Posted: Mon Nov 19, 2012 8:52 am
Hi Marek and Maximilian,
Thanks a lot for your fast feedback.
Concerning IDE:
That´s together with notepad++ a fine development environment. I have the problem that IDE F5 Run (and therefore debug) doesn't work for my project.
IDE F5 Run works fine for coding with one program (like all samples) but not for the ERP system I am developing where I have structured the coding in a WENEinc.prg file with tons of includes like
...
#INCLUDE "inkey.ch" &&(Old) clipper inkey codes
* #INCLUDE <hmg.ch>
#INCLUDE "hmg.ch"
#include "mysql.ch" && Definitions for mySQL
...
#INCLUDE "WENEbo_pop.prg" && Detail popup
...
When using "ThisWindow.Name" in WENEbo_pop.prg I get a "syntax error at '.'". The same is true for many other includes - I get tons of errors for HMG commands from IDE F5 run.
HMG build.bat works fine for the main program.
Concerning the sample coding with ALTD() from Maximilian:
The first ALTD(1) works fine (when building with /d it is not necessary) - After the second ALTD() I get the described loop/hangup.
Thanks again and kind regards,
Joerg
Thanks a lot for your fast feedback.
Concerning IDE:
That´s together with notepad++ a fine development environment. I have the problem that IDE F5 Run (and therefore debug) doesn't work for my project.
IDE F5 Run works fine for coding with one program (like all samples) but not for the ERP system I am developing where I have structured the coding in a WENEinc.prg file with tons of includes like
...
#INCLUDE "inkey.ch" &&(Old) clipper inkey codes
* #INCLUDE <hmg.ch>
#INCLUDE "hmg.ch"
#include "mysql.ch" && Definitions for mySQL
...
#INCLUDE "WENEbo_pop.prg" && Detail popup
...
When using "ThisWindow.Name" in WENEbo_pop.prg I get a "syntax error at '.'". The same is true for many other includes - I get tons of errors for HMG commands from IDE F5 run.
HMG build.bat works fine for the main program.
Concerning the sample coding with ALTD() from Maximilian:
The first ALTD(1) works fine (when building with /d it is not necessary) - After the second ALTD() I get the described loop/hangup.
Thanks again and kind regards,
Joerg