Falta carpeta Harbour en projects
- César E. Lozada
- Posts: 128
- Joined: Wed Oct 26, 2005 12:18 pm
- Location: Los Teques, Miranda, Venezuela
Falta carpeta Harbour en projects
Hola, Antonio. Descargué e instalé uestudio 6.30 esp, tu video y el archivo Application. Pero en la projects no está la carpeta Harbour. ¿Dónde puedo conseguirla?. Mil gracias.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
César,
Crea la carpeta Harbour en el directorio projects del UEStudio y añade estos dos ficheros:
window.wiz
dialog.wiz
Como ves es muy sencillo y puedes crearte tantas plantillas como quieras
Crea la carpeta Harbour en el directorio projects del UEStudio y añade estos dos ficheros:
window.wiz
Code: Select all
##############################################################################
# #
# UEStudio's User Defined Project Template #
# #
# The following template is to be modified by the user. It describes #
# individual preferences for new project creation. #
# #
# The first and most important section is [UDT] which contains a "Compiler" #
# variable and a list of seed files to be inserted in the newly created #
# project. The Compiler variable specifies the name of the compiler's #
# configuration directory, and the compiler configuration file. #
# For example: #
# Compiler = Microsoft Visual C++ Compiler\Win32 Console Application #
# #
# The list of project files may be any combination of source, header, #
# resource, and data files. An example follows: #
# File0=MyApp.h #
# File1=MyApp.c, Source Files #
# File2=MyApp.ico #
# and so forth.... #
# #
# All subsequent section(s) of this template describe the contents of one #
# or more of the project files defined above. An optional group name may #
# be specified after the file name. In the above example, the group #
# "Source Files" will automatically be created and MyApp.c will be included #
# in the group folder. #
# #
# For binary file contents such as Resource, Icon, or any other data file, #
# where it is inconvenient to describe the contents in a script, the #
# following format may be used: #
# [File2] #
# INCLUDEBINARY=c:\my_data_files\ico_data.raw #
# This will create [File2], in this case "MyApp.ico", with the content #
# ico_data.raw #
# #
# Alternately, binary file contents may be defined in this template using #
# the ":HEX" directive. This specifies that all data is represented as #
# hexadecimal values. For example: #
# [File3:HEX] #
# 0065 66 F0, 0FF0, 0F0F0F0F #
# 12, FF, 20; 0F 40 #
# #
# where all numbers above are interpreted based on data length, as follows: #
# 1-2 = bytes, 3-4 = words, 5-8 = dwords, >8 = an array of bytes. #
# #
# Predefined variables may be used to specify the names of files as well as #
# the content of the files, e.g.: #
# USER (user name), COMPUTER (computer name), TIME, DATE, PRJPATH (project #
# path), PRJNAME (project name), PRJDIR (project directory) #
# Example: File0=$(PRJNAME).cpp #
# #
##############################################################################
[UDT]
Compiler = Harbour\Application
File0 = $(PRJNAME).prg
File1 = $(PRJNAME).rc
[File0]
#include "FiveWin.ch"
function Main()
local oWnd
DEFINE WINDOW oWnd TITLE "Test"
ACTIVATE WINDOW oWnd
return nil
[File1]
#include <winapi.ch>
Code: Select all
##############################################################################
# #
# UEStudio's User Defined Project Template #
# #
# The following template is to be modified by the user. It describes #
# individual preferences for new project creation. #
# #
# The first and most important section is [UDT] which contains a "Compiler" #
# variable and a list of seed files to be inserted in the newly created #
# project. The Compiler variable specifies the name of the compiler's #
# configuration directory, and the compiler configuration file. #
# For example: #
# Compiler = Microsoft Visual C++ Compiler\Win32 Console Application #
# #
# The list of project files may be any combination of source, header, #
# resource, and data files. An example follows: #
# File0=MyApp.h #
# File1=MyApp.c, Source Files #
# File2=MyApp.ico #
# and so forth.... #
# #
# All subsequent section(s) of this template describe the contents of one #
# or more of the project files defined above. An optional group name may #
# be specified after the file name. In the above example, the group #
# "Source Files" will automatically be created and MyApp.c will be included #
# in the group folder. #
# #
# For binary file contents such as Resource, Icon, or any other data file, #
# where it is inconvenient to describe the contents in a script, the #
# following format may be used: #
# [File2] #
# INCLUDEBINARY=c:\my_data_files\ico_data.raw #
# This will create [File2], in this case "MyApp.ico", with the content #
# ico_data.raw #
# #
# Alternately, binary file contents may be defined in this template using #
# the ":HEX" directive. This specifies that all data is represented as #
# hexadecimal values. For example: #
# [File3:HEX] #
# 0065 66 F0, 0FF0, 0F0F0F0F #
# 12, FF, 20; 0F 40 #
# #
# where all numbers above are interpreted based on data length, as follows: #
# 1-2 = bytes, 3-4 = words, 5-8 = dwords, >8 = an array of bytes. #
# #
# Predefined variables may be used to specify the names of files as well as #
# the content of the files, e.g.: #
# USER (user name), COMPUTER (computer name), TIME, DATE, PRJPATH (project #
# path), PRJNAME (project name), PRJDIR (project directory) #
# Example: File0=$(PRJNAME).cpp #
# #
##############################################################################
[UDT]
Compiler = Harbour\Application
File0 = $(PRJNAME).prg
File1 = $(PRJNAME).rc
[File0]
#include "FiveWin.ch"
function Main()
local oDlg
DEFINE DIALOG oDlg RESOURCE "Test"
ACTIVATE DIALOG oDlg CENTERED
return nil
[File1]
#include <winapi.ch>
test DIALOG DISCARDABLE 0, 0, 186, 94
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Test"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,129,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,129,24,50,14
END
- César E. Lozada
- Posts: 128
- Joined: Wed Oct 26, 2005 12:18 pm
- Location: Los Teques, Miranda, Venezuela
Gracias
Gracias, Antonio
Saludos
Saludos