Microsoft KB Archive/192071

= PRB: OLE EXE Called By FoxISAPI On PWServer Leaves INI Files =

Article ID: 192071

Article Last Modified on 8/13/1999

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q192071



SYMPTOMS
When calling a custom OLE .exe from the FoxISAPI extension on Windows 95 and Windows 98, through the Personal Web Server, the .ini files created are not automatically deleted.



STATUS
Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Behavior
 Create a new project called MyTest in a new directory.  Create a new program file in the project and place in the following code: DEFINE CLASS MyClass AS CUSTOM OLEPUBLIC PROCEDURE MyProc LPARAMETERS cParm1, cIniFile, nPersistInstance nPersistInstance = 0 RETURN "cParm1= " + cParm1 + ; " cIniFile= " + cIniFile + ; " nPersistInstance= " + ; STR(nPersistInstance) + "" ENDPROC ENDDEFINE  Build the project into MyTest.exe.</li> Place the following files into the INetPub\Scripts directory:

MyTest.exe

FoxISAPI.dll

FoxISAPI.ini

VFP6Run.exe

</li>  Run the OLEISAPI application through Internet Explorer. Here is a sample line to execute this through FoxISAPI from the server computer: <pre class="fixed_text">     http://LOCALHOST/SCRIPTS/FOXISAPI.DLL/MYTEST.MYCLASS.MYPROC </li> Click the Refresh button a couple of times.</li></ol>

Please note the existence of several .ini files in the INetPub\Scripts\ directory that were not there previously.

Additional query words: kbVFp600 kbISAPI kbInternet kbCOMt

Keywords: kbprb kbpending kbcode KB192071

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.