Hi,

Is anybody know that is possible to call wince api with appforge

Thanks

Re: AppForge and Wince API by ig

ig
Mon May 30 16:31:36 CDT 2005

Yes. It just requires that you write a fuser module (something like a
small translator between the AF application and the native functions)


Re: AppForge and Wince API by Eric_B

Eric_B
Tue May 31 01:49:36 CDT 2005

ig.google@igrimpe.de écrivait
news:1117488696.299619.134620@f14g2000cwb.googlegroups.com:

> Yes. It just requires that you write a fuser module (something
> like a small translator between the AF application and the
> native functions)
>
>

Thank's for response,
I trie to write a fuser module but it doesn't work

for sample I would like my pocket ring

My code :
--------------------------
Public Type Son
lpszName As String
hModule As Long
dwFlags As Long
End Type
Private Const SND_FILENAME = &H20000
Private Const SND_ASYNC = &H1
Public M As New AFFuserModule
-------------------------------------------------
Function Test_Son(FicSon As String) As Boolean
Dim f As New AFFuserFunction
Dim SonTest As Son

Set M = New AFFuserModule
M.ModuleName = "Coredll"
Set f = M.GetFunction("PlaySound")
SonTest.lpszName = FicSon
SonTest.hModule = 0
SonTest.dwFlags = SND_FILENAME
f.Execute VarPtr(SonTest)
End Function
-------------------------------------------
what's wrong, when executing error : 445 Funtion not available in
fuser

thanks for help

Re: AppForge and Wince API by ig

ig
Wed Jun 01 00:57:33 CDT 2005

The fuser is a TRANSLATOR. You can not access "CoreDll" with the fuser
interface. Instead you need to write your own dll (say "MyFuser.dll")
that uses the fuser interface (sample for fusers are found in the
installation folders) to be accessed from an Appforge app. Inside the
fuser you then access "CoreDll" and eventually pass back any values to
the calling AF app.


Re: AppForge and Wince API by Eric_B

Eric_B
Mon Jun 06 09:17:49 CDT 2005

ig.google@igrimpe.de écrivait
news:1117605453.058500.136740@g14g2000cwa.googlegroups.com:

> The fuser is a TRANSLATOR. You can not access "CoreDll" with the
> fuser interface. Instead you need to write your own dll (say
> "MyFuser.dll") that uses the fuser interface (sample for fusers
> are found in the installation folders) to be accessed from an
> Appforge app. Inside the fuser you then access "CoreDll" and
> eventually pass back any values to the calling AF app.
>

Hi,
I have install evc++ for building my fuser,
can you give me a sample for calling playsound of coredll,
because i don't know anything in vc++

thanks