Page 1 of 1

Posted: Tue Apr 15, 2003 7:50 am
by BackupUser
Restored from previous forum. Originally posted by tony_usa.

Hi folks,

I have made a DLL by compiling a C source with lcc. Then I call it from PB it works as long as the call is not made from a procedure. I have dumbed down the C code to nothing and it still does the same.

Any idea?

Thanks everyone
===
Latest version of PB
Windows XP Home
lccwin32

Posted: Tue Apr 15, 2003 8:24 am
by BackupUser
Restored from previous forum. Originally posted by Pupil.

try downloading the updated PB library lib from: http://www.purebasic.com/update/

Posted: Tue Apr 15, 2003 5:03 pm
by BackupUser
Restored from previous forum. Originally posted by tony_usa.

Thanks for the tip.

Better, but not yet. This time it opens the library, but it still crashes. I'll try to find something and post if I have any results. Otherwise any other idea appreciated.

Thanks again pupil!

Posted: Tue Apr 15, 2003 5:57 pm
by BackupUser
Restored from previous forum. Originally posted by Pupil.

Make a search with these two keywords below and see if the result from that might help you:
"CDECL" "STDCALL"

Posted: Wed Apr 16, 2003 10:01 am
by BackupUser
Restored from previous forum. Originally posted by tony_usa.

Thanks,

It finally works. I still have to open the DLL from outside a procedure but that's no big deal!