Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by k_ivan. 06/10/26 14:39
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,033 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Wii_mote [Re: Icke] #340503
09/04/10 18:44
09/04/10 18:44
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
www.dasdass.de
Es gibt noch mehr zu lernen - und wird noch peinlicher grin


Teleschrott-Fan.
Re: Wii_mote [Re: Sajeth] #340504
09/04/10 18:58
09/04/10 18:58
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Der einzige für den es gerade peinlich wird ist der über mir.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Wii_mote [Re: WretchedSid] #340507
09/04/10 19:45
09/04/10 19:45
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Es gibt möglicherweise nen Trick, außer die dll bzw. das Plugin Feature wurde direkt gesperrt in der freien Version (was sehr gut sein kann).

Versuch mal folgende Funktionen anstelle von wiimote_handle().
Der zurückgegebene handle von wiimote_connect() entspricht dem, der normal von wiimote_handle() zurückgegeben wird.
Der Nachteil von wiimote_connect: du musst vor Beenden der Engine unbedingt wiimote_disconnect() aufrufen, sonst gibts ne Fehlermeldung.

/*
Get number of connected devices
!Note!: Bluesoleil driver always detects all listed remotes
even if they are not connected anymore!
param: -
return: number of connected wiimote devices
*/
var wiimote_getdevices();


/*
establish connection for device with given index
param: index of device, first device beginning with 0
return: handle for wiimote device or NULL
*/
var wiimote_connect(var dev_index);


/*
close connection - must be called before exit
param: handle for wiimote device
return: 0 - failed 1 - successful
*/
var wiimote_disconnect(var handle);




Re: Wii_mote [Re: FBL] #340508
09/04/10 19:57
09/04/10 19:57
Joined: Apr 2007
Posts: 3,751
Canada
WretchedSid Offline
Expert
WretchedSid  Offline
Expert

Joined: Apr 2007
Posts: 3,751
Canada
Ich bezweifle dass das geht, denn es sind ja Plugins deaktiviert.
Allerdings könnte er die Funktionen auch einfach per WinAPI beziehen, vorausgesetzt sie wurden exportiert.

Code:
// Funktions Prototypen
var wiimote_getdevices();
var wiimote_connect(var dev_index);
var wiimote_disconnect(var handle);

void foo()
{
	long dllHandle = LoadLibrary("ackwii.dll");

	wiimote_getdevices = GetProcAddress(dllHandle, "wiimote_getdevices");
	wiimote_connect = GetProcAddress(dllHandle, "wiimote_connect");
	wiimote_disconnect = GetProcAddress(dllHandle, "wiimote_disconnect");
}



Danach sollte man die Funktionen ganz normal aufrufen können. Die ackwii.dll muss dafür aber im Ordner des Projekts sein.


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com
Re: Wii_mote [Re: WretchedSid] #340509
09/04/10 20:17
09/04/10 20:17
Joined: Sep 2003
Posts: 9,859
F
FBL Offline
Senior Expert
FBL  Offline
Senior Expert
F

Joined: Sep 2003
Posts: 9,859
Ich hab keine Ahnung ob ich da irgendwas exportiert hab, ehrlichgesagt.
Aber wenn Plugins deaktiviert sind, geht das von oben natürlich nicht.

Re: Wii_mote [Re: FBL] #340709
09/07/10 05:29
09/07/10 05:29
Joined: Feb 2006
Posts: 212
Germany
Icke Offline OP
Member
Icke  Offline OP
Member

Joined: Feb 2006
Posts: 212
Germany
Danke noch mal.

Page 2 of 2 1 2

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1