Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Dll in LCC WIN32, need help please

Author
Message
XANAX 2B
20
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 4th Aug 2005 21:29
Hello ! I'm making a dll to convert 640x480x32 resolution to 320x240x8 but I don't why, it crash ! Can someone help me ? (I try to work with LCC WIN 32)
This dbpro code :

and this the C source for lcc win
XANAX 2B
20
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 4th Aug 2005 21:30
"sc1" in the C code is to make scanlines...
Proof88
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Budapest, Hungary
Posted: 4th Aug 2005 21:36
Hi!

You should try to change this line:
for (y=0; y<=479; y++)
to this
for (y=0; y<479; y++),

and this line:
for (x=0; x<=639; x=+2)
to this
for (x=0; x<638; x=+2)

And you should write a condition to not let x to be greater than 639!
XANAX 2B
20
Years of Service
User Offline
Joined: 20th Jun 2003
Location: Corsica (France)
Posted: 5th Aug 2005 00:32
I understand it is better but I it always crash. I think it is a problem of declaration in "lcc win" because my function is called "Rezo80" and I must call it "_Rezo80@8" to make dbpro go into it, but I think the "@8" is the parametres and they are probably lost...

Login to post a reply

Server time is: 2024-05-06 01:45:55
Your offset time is: 2024-05-06 01:45:55