Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: MAPI - reading the subject line and kernel32.DLL question


Message #1 by "Barney Levie" <barney_levie@h...> on Thu, 1 Jun 2000 22:58:50
A rather elementary question but how do I index through the fetch buffer.  
I am trying to find a message or messages with a certain subject line.  I 
have set up a MAPI session, run the fetch statement but how do I index the 
46 messages?  I tried to use msgIndex but it gives me an error.  Thought I 
could loop through with x as an index from 0 to msgCount-1.

Also, I am having a problem with kernel32.  I have VB code from  Windows 95 
and VB5.  In it it calls kernel32 "waitforsingleobject" but that fails with 
a mesage that it can not find the entry point.  I can not see entry points 
for kernel32 when I use the viewer (I do when I view user32).  I am using 
WIN98 and Visual Studio 6.0

Thanks,

Barney

  Return to Index