make - project

make - project

Postby yardenmo » Tue Sep 02, 2008 5:57 am

Hi Antonio,

From the samples I can see how to compile and link one prg with buildce.

How do I compile some Prgs (like make / project)?

**I can see in FWPPC\makes the go.bat and test.mak, but i'm not sure that I understood it all.



Thanks,
Moshe Yarden
yardenmo
 
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Postby Silvio » Tue Sep 02, 2008 7:58 am

I use Xmate No problem ( for fwh and fwppc)
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby Antonio Linares » Tue Sep 02, 2008 8:03 am

Moshe,

You can easily add more PRGs to buildce.bat:

%hdir%\bin\harbour %1 /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include %1.c

%hdir%\bin\harbour two.prg /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include two.c

%hdir%\bin\harbour three.prg /n /i%fwppc%\include;%hdir%\include /p %2 %3 > clip.log

%vcdir%\bin\clarm -W3 -c /DARM /DUNICODE /I%hdir%\include /I..\include three.c

...

echo %1.obj two.obj three.obj > msvc.tmp
...

You can add more the same way
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42052
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby yardenmo » Tue Sep 02, 2008 11:03 am

Thanks.

I've downloaded xMate - its seems that it will take time to leaarn it.

The sample Antonio sent is working ok.


Regards,
Moshe
yardenmo
 
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Postby Antonio Linares » Tue Sep 02, 2008 11:08 am

Moshe,

We do use and recommend UEStudio as a powerful and professional IDE with visual make, source code editor, sources files compare, and a lot more features.

We can help you to learn how to build your projects with UEStudio.

Also there are some available tutorial videos posted in these forums.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42052
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby yardenmo » Wed Sep 03, 2008 5:57 pm

Antonio,

Thanks. I'll try it.

Are there 3rd party libs for FWPPC to shorten the screens/get/say (objects) writing process?
I need to convert an application written in turbo pascal to fwppc, and it has a lot of screens and alerts or yes/no boxes. It could help to use functions that are having the objects in them.

Regards,
Moshe Yarden
yardenmo
 
Posts: 33
Joined: Tue Aug 12, 2008 7:08 am

Postby Antonio Linares » Wed Sep 03, 2008 6:53 pm

Moshe,

You should use a resources editor for such task. There are many of them, and they will speed up very much the design of your screens:

ResEdit: (free)
http://www.resedit.net/

PellesC (free)
http://www.smorgasbordet.com/pellesc/

VSX (Microsoft) free
http://forums.fivetechsoft.com/viewtopic.php?t=9572

But if you already have the source code in Turbo Pascal, then I would suggest you to build a little tool to parse your already design screens and translate them into RC files (ascii).

Please review fwppc\samples\*.rc to understand the structure of RC files. They are quite simple.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42052
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 6 guests