A ver si me pueden echar una mano ?
- Code: Select all Expand view
#include "FWCE.ch"
REQUEST HB_LANG_ESWIN
STATIC oWnd
FUNCTION Main()
LOCAL oBmp
Public de := tLotenet():Nuevo()
DEFINE WINDOW de:oWnd TITLE "LoteNet for SmartPhone"
ACTIVATE WINDOW de:oWnd ON INIT ( If( !de:Login(), de:oWnd:End(), .t. ))
RETU NIL
Class tLotenet
Data oWnd
Method Nuevo() Constructor
Method Login()
EndClass
Method Nuevo() Class tLotenet
Return Self
Method Login() Class tLotenet
Local oDlg
Local lOk := .t.
// No me deja crear los dialgos
DEFINE DIALOG oDlg RESOURCE "About"
ACTIVATE DIALOG oDlg CENTERED
msgInfo( "hola mundo" )
REturn( lOk )
Este es el RC
- Code: Select all Expand view
- /****************************************************************************
lotenet.rc
produced by Borland Resource Workshop
*****************************************************************************/
About DIALOG 10, 27, 124, 44
STYLE WS_POPUP | WS_VISIBLE | WS_SYSMENU
FONT 8, "System"
{
CONTROL "", 200, "TBitmap", 0 | WS_CHILD | WS_VISIBLE, 3, 3, 40, 38
CTEXT "Text", 210, 50, 6, 69, 27
}
Me da este error
┌────────────────────────────────────────────────────────────────────────────┐
│ FiveWin for Pocket PC - January 2009 Harbour development power │▄
│ (c) FiveTech Software, 1993-2009 for Microsoft Windows Pocket PC │█
└────────────────────────────────────────────────────────────────────────────┘█
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Compiling...
Harbour 1.0.1dev Intl. (Rev. 9361)
Copyright (c) 1999-2008, http://www.harbour-project.org/
Compiling 'lotenet.prg' and generating preprocessed output to 'lotenet.ppo'...
Lines 1799, Functions/Procedures 4
Generating C source output to 'lotenet.c'... Done.
Microsoft (R) C/C++ Optimizing Compiler Version 12.20.9615 for ARM
Copyright (C) Microsoft Corp 1984-2002. All rights reserved.
lotenet.c
lotenet.RC (13): error RC2104 : undefined keyword or key name: WS_POPUP
* Application successfully built *