|
HDevelopで作成したプログラムを cpp
または bas
として保存できます。この時にそれらの言語独自のプログラムは作成されたソースを変更する必要があります。基本的に開発はHDevelopで行いたいと思いますが、プログラム変更のたびに、それらプログラム言語の変更部分を追加するのは非効率です。HDevelopにVC++やVBのプログラム言語の記述を埋め込む事は可能でしょうか。
read_image (Image, 'fabrik')
dev_display (Image)
dev_set_color ('red')
threshold (Image, Region, 128, 255)
* # printf(" This is comment line ");
dev_display (Region)
↓
{ Herror err = read_image(&Image,"fabrik");
if (err != H_MSG_TRUE) { fprintf(stderr,"could not find
image"); exit(1); }}
long WindowHandle;
::open_window(0,0,-1,-1,0,"","",&WindowHandle);
::disp_obj(Image,WindowHandle);
::set_color(WindowHandle,"red");
::threshold(Image,&Region,128,255);
printf(" This is comment line ");
::disp_obj(Region,WindowHandle);
|