At 11:05 PM 5/5/2010, Manuel de Aguiar wrote:

When I execute Test.EXE in WinXP it properly pauses and displays the drive
ei..  "C:" When the same EXE is executed under Win7, the variable IS NULL.

With the Full RBase 7.6 (CVAL ('CURRDRV')) works well from the R> prompt
under WinXP and Win7.

This was tried on Win7 Home Edition and Home Premium (64).

I do not know if other CVAL functions are also affected or if other have
experience this problem.  I am running the Rbase version release on
3/31/2010

Any help is greatly appreciated.


Manuel,

Here are two compiled (CurrDir.exe and CurrDrv.exe) samples, using the
latest version/update of R:Compiler 7.6 for Windows, tested on MS Window
7 "Professional" with the latest Update for Windows 7 (KB976422).

First Sample: CurrDir.exe
http://www.razzak.com/sampleapplications/CurrDir_RCompiled76_05062010.zip

And, here's a code that was compiled for this quick test on Window 7:

-- CurrDir.DAT
-- A. Razzak Memon
-- May 6, 2010
   CLS
   SET VAR vCaption TEXT = 'Using CVAL Function in R:BASE!'
   SET VAR vCurrentDir TEXT = ('Current Directory:'&(CVAL('CURRDIR')))
   PAUSE 2 USING .vCurrentDir +
   CAPTION .vCaption +
   ICON INFO +
   BUTTON 'Click here to continue ...' +
   OPTION MESSAGE_FONT_NAME Verdana +
   |MESSAGE_FONT_COLOR NAVY +
   |MESSAGE_FONT_SIZE 10 +
   |BUTTON_COLOR WHITE +
   |BUTTON_FONT_COLOR GREEN +
   |THEMENAME Sports Blue
   CLEAR VARIABLES vCaption,vCurrentDir
   RETURN

Second Sample: CurrDrv.exe
http://www.razzak.com/sampleapplications/CurrDrv_RCompiled76_05062010.zip

And, here's a code that was compiled for this quick test on Window 7:

-- CurrDrv.DAT
-- A. Razzak Memon
-- May 6, 2010
   CLS
   SET VAR vCaption TEXT = 'Using CVAL Function in R:BASE!'
SET VAR vCurrentDrv TEXT = ('Current Drive on My Computer is'&(CVAL('CURRDRV')))
   PAUSE 2 USING .vCurrentDrv +
   CAPTION .vCaption +
   ICON INFO +
   BUTTON 'Click here to continue ...' +
   OPTION MESSAGE_FONT_NAME Verdana +
   |MESSAGE_FONT_COLOR NAVY +
   |MESSAGE_FONT_SIZE 10 +
   |BUTTON_COLOR WHITE +
   |BUTTON_FONT_COLOR GREEN +
   |THEMENAME Sports Blue
   CLEAR VARIABLES vCaption,vCurrentDrv
   RETURN

Have fun!

Very Best R:egards,

Razzak.

P.S.
When running these R:Compiled executables (CurrDir.exe and CurrDrv.exe) on your local computer, make sure to include your versions of RBEngine76.dll, RB76IO.dll,
and RBThemes.dll in the same folder.

--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]

(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE: Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body, place any text to search for.
================================================


Reply via email to