OT: this code stops harbour.exe

OT: this code stops harbour.exe

Postby Otto » Fri Apr 16, 2010 3:03 pm

@ 1, 3 GET @cTest

By mistake I entered an @ like the example into my code.
If I try to compile the code xHarbour.exe errors out.
Best regards,
Otto


Code: Select all  Expand view
// Our first DialogBox sample

#include "FiveWin.ch"

function Main()

   local oDlg, cTest := "Hello world!   "


   DEFINE DIALOG oDlg TITLE "I am a DialogBox" COLOR "W+/B" ;
      ICON oIco

   @ 1, 3 GET @cTest
   @ 3, 16 BUTTON "&Cancel" SIZE 40, 12 ACTION oDlg:End()

   ACTIVATE DIALOG oDlg
return nil
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: OT: this code stops harbour.exe

Postby Lautaro » Sat Apr 17, 2010 12:15 am

Otto,

Hello,

When you write @1,3 get @ctest you send a pointer for ctest to get, and this is imposible.

Best regards,

Lautaro Moreira
PD: Sorry for my bad english. :oops:
User avatar
Lautaro
 
Posts: 322
Joined: Fri Oct 07, 2005 2:44 pm
Location: Osorno, Chile


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken and 117 guests