rapi.h

  • Thread starter Thread starter Lloyd Dupont
  • Start date Start date
L

Lloyd Dupont

I'm trying to write a C installer which check for the presence of the .NET
cf on the device.

for this I found a sample and copy the interesting function.
I also have the same include than the sample
(
#include <windows.h>
#include <wchar.h>
#include <tchar.h>
#include <stdio.h>
#include <msiquery.h>
#include <rapi.h>
)
and I add in the INCLUDE_PATH (of VS.NET)
"C:\windows ce tools\wce300\Pocket PC 2002\support\ActiveSync\inc"

However when I try to compile VS.NET complain there is many undefined type
INSIDE rapi.h !!!!

like:
c:\windows ce tools\wce300\Pocket PC 2002\support\ActiveSync\inc\rapi.h(97):
warning C4013: 'STDMETHOD' undefined; assuming extern returning int

what's going on ?
how to solve that ?!
 
ooppss...

I was writing C code
then (idea) I write a cpp file, just to see.
and strangely enough eveything went way better !
 
Back
Top