Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 18,561 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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