Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 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