Felipe Monteiro de Carvalho schrieb:
type WlanOpenHandleTyp = function(ClientVersion : DWord;
                                 Reserved : Pointer;
                             var NegotiatedVersion : DWord;
                             var ClientHandle : Hwnd) : DWord;
It looks like you forgot to add the calling convention: stdcal
Yes, now that you tell me, it seems to be the problem.
I can't test today anymore but will do tomorrow.
Thanks for reminding me. I was completeley stuck.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to