atom feed72 messages in at.iem.pd-devRe: [PD-dev] help me with my DLL snafu
FromSent OnAttachments
Hans-Christoph SteinerDec 19, 2005 9:54 pm 
Thomas GrillDec 20, 2005 3:16 am 
james tittleDec 20, 2005 9:05 am 
Thomas GrillDec 20, 2005 9:36 am 
Hans-Christoph SteinerDec 20, 2005 10:12 am 
Miller PucketteDec 20, 2005 10:20 am 
Hans-Christoph SteinerDec 20, 2005 10:29 am 
Hans-Christoph SteinerDec 20, 2005 11:03 am 
Miller PucketteDec 20, 2005 11:16 am 
Mathieu BouchardDec 20, 2005 11:54 am 
Miller PucketteDec 20, 2005 12:11 pm 
Hans-Christoph SteinerDec 20, 2005 12:23 pm 
Mathieu BouchardDec 20, 2005 12:25 pm 
Mathieu BouchardDec 20, 2005 12:27 pm 
Martin PeachDec 20, 2005 12:35 pm 
cDec 20, 2005 12:37 pm 
Miller PucketteDec 20, 2005 12:45 pm 
cDec 20, 2005 12:46 pm 
cDec 20, 2005 12:48 pm 
Martin PeachDec 20, 2005 12:51 pm 
Mathieu BouchardDec 20, 2005 12:58 pm 
james tittleDec 20, 2005 1:02 pm 
Frank BarknechtDec 20, 2005 1:14 pm 
Martin PeachDec 20, 2005 1:20 pm 
Miller PucketteDec 20, 2005 1:21 pm 
Mathieu BouchardDec 20, 2005 1:26 pm 
Mathieu BouchardDec 20, 2005 1:34 pm 
Frank BarknechtDec 20, 2005 1:47 pm 
Mathieu BouchardDec 20, 2005 1:50 pm 
Frank BarknechtDec 20, 2005 2:05 pm 
Hans-Christoph SteinerDec 20, 2005 2:50 pm 
Hans-Christoph SteinerDec 20, 2005 2:56 pm 
Frank BarknechtDec 20, 2005 3:09 pm 
Miller PucketteDec 20, 2005 4:36 pm 
Hans-Christoph SteinerDec 20, 2005 8:44 pm 
Miller PucketteDec 20, 2005 10:47 pm 
geigerDec 21, 2005 2:06 am 
David Plans CasalDec 21, 2005 3:10 am 
IOhannes m zmoelnigDec 21, 2005 9:52 am 
Martin PeachDec 21, 2005 10:10 am 
Miller PucketteDec 21, 2005 10:44 am 
Mathieu BouchardDec 21, 2005 10:47 am 
Mathieu BouchardDec 21, 2005 11:05 am 
Thomas GrillDec 21, 2005 12:49 pm 
Mathieu BouchardDec 22, 2005 6:05 am 
Mathieu BouchardDec 22, 2005 6:07 am 
Thomas GrillDec 22, 2005 6:31 am 
Mathieu BouchardDec 22, 2005 9:04 am 
cDec 22, 2005 10:09 am 
Hans-Christoph SteinerDec 23, 2005 12:04 am 
Mathieu BouchardDec 23, 2005 2:11 am 
Mathieu BouchardDec 23, 2005 1:30 pm 
Thomas GrillDec 23, 2005 1:43 pm 
Hans-Christoph SteinerDec 24, 2005 12:00 am 
Thomas GrillJan 9, 2006 4:28 am 
IOhannes m zmoelnigJan 9, 2006 4:48 am 
cdrJan 9, 2006 5:09 am 
cdrJan 9, 2006 5:16 am 
Christian KlippelJan 9, 2006 5:47 am 
Thomas GrillJan 9, 2006 6:32 am 
Hans-Christoph SteinerJan 9, 2006 8:07 am 
Hans-Christoph SteinerJan 9, 2006 8:21 am 
Hans-Christoph SteinerJan 9, 2006 8:28 am 
IOhannes m zmoelnigJan 9, 2006 9:06 am 
Hans-Christoph SteinerJan 9, 2006 9:39 am 
IOhannes m zmoelnigJan 9, 2006 9:53 am 
IOhannes m zmoelnigJan 9, 2006 10:00 am 
cdrJan 9, 2006 10:30 am 
cdrJan 9, 2006 10:38 am 
cdrJan 9, 2006 10:40 am 
Hans-Christoph SteinerJan 9, 2006 7:36 pm 
Thomas GrillJan 10, 2006 3:40 am 
Subject:Re: [PD-dev] help me with my DLL snafu
From:Thomas Grill (gr@grrrr.org)
Date:Dec 20, 2005 3:16:03 am
List:at.iem.pd-dev

Hi Hans-Christoph,

if you really want to stick to your name, the only chance i see is to load all symbols from the Windows hid.dll dynamically (LoadLibrary and GetProcAdress). It depends on the number of functions you are using but should be doable in principle. Apart from that this _could_ work, it's a really dirty solution.

You could also name your object hidwin.dll and load it as a library ;-) Or use a hid abstraction, encapsulating a hidwin object.

best greetings, Thomas

Am 20.12.2005 um 06:54 schrieb Hans-Christoph Steiner:

So, I have a little problem with DLLs. I have a [hid] object. The filename is hid.pd_linux, hid.pd_darwin, and hid.dll. The Windows DDK HID library is called... hid.dll. Arg. It gets worse... my hid.dll is of course dependent on the Windows hid.dll. So when Pd opens up my hid.dll, it looks for the Windows symbols in my hid.dll, and they are, of course, not there.

So I did a little LoadLibrary(), but that does not help because it seems that Windows wants to follow all of the links immediately when it opens my hid.dll, before even the setup function is called, so I get the errors before any function is called.

Any suggestions as to how to deal with this?

.hc

"[W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity." -John Gilmore