FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour OT: this code stops harbour.exe
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
OT: this code stops harbour.exe
Posted: Fri Apr 16, 2010 03: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 (fw): Select all Collapse
// 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
Posts: 337
Joined: Fri Oct 07, 2005 02:44 PM
Re: OT: this code stops harbour.exe
Posted: 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:

Hola,

Soy un Contador que por necesidad aprendio a programar y se quedo programando.

Continue the discussion