Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,089 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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 | chip programmers | 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