Calling ActiveX DLLs inside PB?

Everything else that doesn't fall into one of the other PB categories.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by FAKEFACTORY.

Hi,

is it possible to call a ActiveX DLL, like FreeImage.dll from PB? Maybe with some API-stuff or some assembler-code?

Reason is, i need a stable JPEG-Loading-Routine. FreeImage gives lightning fast and stable JPEG-decoding, but i can't call it with the Mr.Skunks DLL lib.

Or can someone direct me to a alternative DLL for ImageLoading? Besides FreeImage.dll i only knows NViewlib.dll, but this dll has some difficulties with big JPEGs


Registered PureBasic Coder
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Kanati.

ActiveX dll's are com servers really... Can't call them directly. But there might be a way someone could write a "thunk" layer as a go-between... I'm curious about this as well.

Fred... Think we could get some COM object support?

Kanati
Post Reply