ballrock2
6th January 2004, 02:20 PM
Hi,
I'm using the the RIL_Initialize-Call from the stril.zip.
(The programm works well - thank you for your great work!!! ;o)
Now I'd tried to implement the RIL in an own project with more Classes and now, there's a problem:
I've got a class KKsmsIn. doRIL, resultCallback, notifyCallback (KKsmsIn::doRil a.s.o.) are implemented as public (tried also private). Whenn I trie to compile the programm then line
RIL_Initialize(1, resultCallback, notifyCallback...
generates an error: Cannot vonvert parameter 2 from 'void (unsingned long...' to 'void (__cdecl *)(insigned long...'
I'd implemented the RIL.h and RIL.lib, If I mark the resultCallback the description is 'void __cdecl resultCallback(...'
Pse help, think it's a little sign or command which is missing,
but I work since 12 hours on this line and have no idea, how the solution could be :-(
Greetings from hannovre,
andreas
PS: And now I'm going to donate some money ;o)
-> is there a chance do donate without a creditcard? *hope*
I'm using the the RIL_Initialize-Call from the stril.zip.
(The programm works well - thank you for your great work!!! ;o)
Now I'd tried to implement the RIL in an own project with more Classes and now, there's a problem:
I've got a class KKsmsIn. doRIL, resultCallback, notifyCallback (KKsmsIn::doRil a.s.o.) are implemented as public (tried also private). Whenn I trie to compile the programm then line
RIL_Initialize(1, resultCallback, notifyCallback...
generates an error: Cannot vonvert parameter 2 from 'void (unsingned long...' to 'void (__cdecl *)(insigned long...'
I'd implemented the RIL.h and RIL.lib, If I mark the resultCallback the description is 'void __cdecl resultCallback(...'
Pse help, think it's a little sign or command which is missing,
but I work since 12 hours on this line and have no idea, how the solution could be :-(
Greetings from hannovre,
andreas
PS: And now I'm going to donate some money ;o)
-> is there a chance do donate without a creditcard? *hope*