Gamestudio Links
Zorro Links
Newest Posts
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (juergenwue, 1 invisible), 3,471 guests, and 31 spiders.
Key: Admin, Global Mod, Mod
Newest Members
juergenwue, VladMak, Geir, ondrej, mredit
19208 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Problem with DLL #121958
04/07/07 09:59
04/07/07 09:59
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline OP

Serious User
TWO  Offline OP

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
Ok, I've got a problem while converting with my DLL from C-Script to Lite-C. In C-Script it worked, but in Lite-C the engine finds the DLL but when I call a function it crashes.

DLL
Code:

DLLFUNC void Net_Pseudo()
{
}



Lite-C
Code:

void Net_Pseudo();

void main()
{
dll_open("A6Network.dll");

Net_Pseudo();
}



Re: Problem with DLL [Re: TWO] #121959
04/07/07 10:52
04/07/07 10:52
Joined: Apr 2006
Posts: 136
San Francisco
T
Tor Offline
Member
Tor  Offline
Member
T

Joined: Apr 2006
Posts: 136
San Francisco
Yea... this is the really silly thing about the .dll plugins for LiteC.

You have to make a c-script file of the same name as your .c file, and give it the DLLPATH to your .dll plugin directory

DLLPATH "./"; or was it DLLPATH ".";

one or the other. Yea. It doesn't actually see your .dll. It will tell you if it loads it on the screen at the startup.

.dll's are fun


"Towlie, you're the worst character ever." I know...
Re: Problem with DLL [Re: Tor] #121960
04/07/07 11:06
04/07/07 11:06
Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
T
TWO Offline OP

Serious User
TWO  Offline OP

Serious User
T

Joined: Jan 2006
Posts: 1,829
Neustadt, Germany
WoooT.

THIS IS NOT IN THE MIGRATION GUIDE Mr JCL

Ok, very much thanks Tor

Edit: Ok, this is in the guide, my fault.


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