Alaska Software Inc. - Using resource in a DLL
Username: Password:
AuthorTopic: Using resource in a DLL
Dirk Visser RIUsing resource in a DLL
on Sat, 15 Dec 2007 18:25:34 +0100
Dear newmembers,

I wanted to use a bitmap resource linked to a DLL, but it doesn't work. When 
a linked it to an EXE is works fine.

Does anyone know the difference between using resource in a DLL and a EXE.


Dirk Visser RI
(Directeur DeViant)

Is uw bescherming tegen virussen al op orde ? DeViant is geautoriseerd
dealer van Norman anti-virus software.

Voor meer informatie over onze produkten en diensten:

                http://www.deviant.nl

Berichten naar DeViant:
Vragen over produkten en diensten               : verkoop@deviant.nl

Helpdesk voor ondersteuning soft/hardware : support@deviant.nl
Richard DalzellRe: Using resource in a DLL
on Sat, 15 Dec 2007 14:51:02 -0600
Look at the Alaska example \Source\Samples\Basics\Resource\ResDll.Prg should 
point you in the right direction.



"Dirk Visser RI" <dirk@deviant.nl> wrote in message 
news:423b7d0c$24f603f$8979@news.alaska-software.com...
> Dear newmembers,
>
> I wanted to use a bitmap resource linked to a DLL, but it doesn't work. 
> When a linked it to an EXE is works fine.
>
> Does anyone know the difference between using resource in a DLL and a EXE.
>
>
> -- 
> Dirk Visser RI
> (Directeur DeViant)
>
> Is uw bescherming tegen virussen al op orde ? DeViant is geautoriseerd
> dealer van Norman anti-virus software.
>
> Voor meer informatie over onze produkten en diensten:
>
>                http://www.deviant.nl
>
> Berichten naar DeViant:
> Vragen over produkten en diensten               : verkoop@deviant.nl
>
> Helpdesk voor ondersteuning soft/hardware : support@deviant.nl
>
>
>
>
>
Rodd Graham Re: Using resource in a DLL
on Sat, 15 Dec 2007 22:41:27 +0000
Hello Dirk,

> I wanted to use a bitmap resource linked to a DLL, but it doesn't
> work. When a linked it to an EXE is works fine.
> 
> Does anyone know the difference between using resource in a DLL and a
> EXE.

You are passing the correct DLL handle to LoadResource()?

Regards,

Rodd Graham, Consultant
Graham Automation Systems, LLC