Hello,

Attempting to call CeFindFirstFile in a VB 6 app using RAPI. However, I having some difficulty. I'm using the library RemoteCe.tlb from http://www.unsupportedsoftware.com/p...dev/vbrapi.htm to help w/ the function call.

I'm receiving the error: "There are no more file" or Error # 18 from CeGetLastError(). However, the file I'm attempting to find w/ the function is in the directory.

The file I'm attempting to find is created by a process using CeCreateProcess. The process is a java app. After the process is complete, I then invoke CeFindFirstFile.

The odd thing about the error I'm receiving is, I was able to retrieve the file w/ CeFindFirstFile() when the process used a executable jar file. However, when I switched to a zip file, the same file is created but now the file can't be located.

Here's a sample of code:
Code:
sArgs = "-Xbootclasspath/a:" & Chr(34) & _ sPathtoPPC & "jsr169.jar" & Chr(34) & " -Djava.class.path=" & Chr(34) & _ "\Storage Card\Myclasses.zip" &  Chr(34) & " MyJavaApp.Main " & _ Chr(34) & sProcess & Chr(34) 

lRetVal = CeCreateProcess("\Storage Card\bin\cvm.exe", sArgs, vbNull, vbNull, 0, 0, vbNull, vbNull, vbNull, typProcessInfo) 

sFilePath = "\Storage Card\database\" & sDataFile 

lHandle = CeFindFirstFile(sFilePath, struct_FindData)
Any help is appreciated.