I opened up a new DLL project in VC6 and copied and pasted the code from one of the externs supplied in the PD externs folder just to see if it would work. I put the copied C code into the externs folder in the PD directory and added the filename to the makefile and tried nmake. Everything worked fine except for the copied file which is a bit puzzling - I got this error message:
LINK : error LNK2001: unresolved external symbol bsccounter_setup bsccounter.lib : fatal error LNK1120: 1 unresolved externals LINK : fatal error LNK1141: failure during build of exports file NMAKE : fatal error U1077: 'link' : return code '0x475' Stop.
Something funny going on...
Matt
From: Mathieu Bouchard matju@sympatico.ca To: Matthew Laughlin bunglenutter@hotmail.com CC: odradek@videotron.ca, pd-dev@iem.at Subject: Re: [PD-dev] Having trouble creating .lib file from a .dll in VC++ 6.0 Date: Tue, 17 Feb 2004 18:28:37 -0500 (EST)
On Tue, 17 Feb 2004, Matthew Laughlin wrote:
I would really love to use the flext library but I'm creating an
external
for a portfolio in my course and my lecturer reckons I could go without using an SDK like flext :S He's just being difficult!
If I were in your position, I'd do what he says, then instruct your compiler to produce .asm's, and hand him the assembler code. "Yes, Professor, assembly language is so much more manly. You made me see the light. I thought you'd appreciate it". That's all that this dude deserves.
That's unless your code is so small it's not worth it, or that you are trying to do things flext can't do, or you already have a large investment in non-flext code and the switchover would be long, ...
Mathieu Bouchard http://artengine.ca/matju
_________________________________________________________________ Express yourself with cool new emoticons http://www.msn.co.uk/specials/myemo