Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 26 JAN 2009 06:25:53PM John Grant wrote:

I would like to set a windows variable using:

SET pathvariable=c:\revsoft\scan\y11111\ekg"

How can I do this within a subroutine? This variable would then be used to instruct a scan program where to save a scanned item using OmniPage Pro 16.


At 26 JAN 2009 07:36PM dbakke@srpcs.com's Don Bakke wrote:

John,

Use the SetEnvironmentVariable WinAPI function.

dbakke@srpcs.com

SRP Computer Solutions, Inc.


At 26 JAN 2009 09:17PM John Grant wrote:

As a junior programmer, I'm not sure how to declare SetEnvironmentVariable()

As per the help menu item, I logged in to SYSPROG

Then I got lost on the instructions to "Add a row, (call it DLL_APICALLS_KERNEL32)"

Where do I add the row - as a subroutine or function or somewhere else?

John


At 28 JAN 2009 08:43AM Sean FitzSimons wrote:

Dr,

The row should be added to the SYSPROCS table.

Sean

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/d682e5e4d3a7cb6a8525754a0080b6ad.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1