OIPI Error (OpenInsight)
At 06 SEP 2001 11:38:00AM Rick Todd wrote:
I'm attempting to use OIPI. Downloaded and Installed OIPI v4.01. Created a test form and on the a test button click event I put this code;
DECLARE FUNCTION SET_PRINTER
$INSERT OIPRINT_EQUATES
P=SET_PRINTER("INIT")
P=SET_PRINTER("TEXT","TEST")
P=SET_PRINTER("TERM")
RETURN 0
When I click on the button I get the error message;
SYS1000: Error loading program "REGISTERWINDOWMESSAGE"
I inserted the DEBUG and found that P is unassigned and it stops at the SET_PRINTER("INIT") statement. I decided that maybe the install process was messed up, so I reinstalled the OIPI v4.01 and retried. But received the same error. I thought that I would take it one step further. Maybe OI is messed up. So, I backed-up my application. Reinstalled OI and OIPI and tried again. Same error. I thought that maybe my syntax it off so I cut and pasted OIPI_EXAMPLE1 onto a button omitting the SUBROUTINE statement and received the same error. I've looked through the documents and found one mentioning the same error. And it talked about looking in the SYSPROCS for DLL_OIPI_USER, which I have and it does exist. So I don't know what else to try.
Any suggestions?
Thanks Rick
At 06 SEP 2001 12:48PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
[notag]Try the following from the exec line in the system editor
Run Declare_Fcns "DLL_OIPI_KERNEL"
Run Declare_Fcns "DLL_OIPI_USER"
and see if that helps.
[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Click here to visit our web site?';return(true)">The Sprezzatura Group</A>]
[<I>World Leaders in all things RevSoft</I>]
[<img src="http://www.sprezzatura.com/zz.gif">]
[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Pull down this menu to choose whereabouts on the Sprezz site to go <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsNew.htm">What's New (Thanks Mr Clark) <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:support@sprezzatura.com">Send mail to support at Sprezzatura <OPTION VALUE="mailto:sales@sprezzatura.com">Send mail to sales at Sprezzatura </SELECT> </FORM>] [/notag] </QUOTE> —- === At 06 SEP 2001 02:21PM Rick Todd wrote: === <QUOTE>Thanks, that seems to have solved the problem Rick </QUOTE> —- === At 06 SEP 2001 05:05PM Oystein Reigem wrote: === <QUOTE>Rick, Your problem had to do with two DLLs - files with functions external to OI - that OIPI needs to use. Those two Declare_Fcns things Sprezzatura made you run sort of set up the connection between OI and those DLL functions. That's something the OIPI installation should have done but didn't do. - Oystein - </QUOTE> View this thread on the Works forum...