Re: 32/64-bit build - naming convensions
Børge Strand-Bergesen <[email protected]>
| Newsgroups | gmane.comp.lib.libusb.devel.windows |
|---|---|
| Message-ID | <CAE9Na6GRg2Y27At2pW+p_sDEOUv8sgO3ec6JuqCrgnM1ACkCqA@mail.gmail.com> |
Thanks Travis, For my user mode builds I ended up appending "64" to both the directory name (bin/bin64) and the file name of the binary. Børge On 4/26/14, Travis <[email protected]> wrote: > Greetings, > > The driver installer will put the .dlls in the appropriate system > folders so your applications automatically link to the correct one. > > Personally, I like having more control over the .dll's so I use dynamic > linking and and install the dlls to the application folder. Ofcourse, > this is more work because your application is responsible for loading > the correct architecture and since the .dll's must exists in the same > folder, obviously they cannot have the same name. > > If you want to play with dynamic linking, remove libusbK.lib from > Project Properties->Linker->Input->Additional Dependencies and add > "lusbk_dynapi.c" (from the include dir) to your project. You might will > want to declare the following prototypes in one of your global header > files; you should do this somewhere after you #include "libusbK.h" > --- > VOID LibusbK_DynApi_Free(VOID); > INT LibusbK_DynApi_Init(_inopt LPCSTR DllFullPathName); > --- > > Regards, > Travis > > On 4/25/2014 5:52 AM, Børge Strand-Bergesen wrote: >> Hi guys, >> >> I'm planning to release both 32 and 64-bit versions of a .dll I'm >> maintaining. Until now it's only been 32-bit. >> >> Are there naming convensions I should follow in order to do this >> properly? I'm using VC++ Express 2012 for the build. On 64-bit >> machines I'll have to install both dll builds. >> >> I see from the libusbK binaries that the different builds have the >> same names but reside in different directories. >> >> Thanks, >> Borge >> >> ------------------------------------------------------------------------------ >> Start Your Social Network Today - Download eXo Platform >> Build your Enterprise Intranet with eXo Platform Software >> Java Based Open Source Intranet - Social, Extensible, Cloud Ready >> Get Started Now And Turn Your Intranet Into A Collaboration Platform >> http://p.sf.net/sfu/ExoPlatform >> _______________________________________________ >> Libusb-win32-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel >> > > > ------------------------------------------------------------------------------ > Start Your Social Network Today - Download eXo Platform > Build your Enterprise Intranet with eXo Platform Software > Java Based Open Source Intranet - Social, Extensible, Cloud Ready > Get Started Now And Turn Your Intranet Into A Collaboration Platform > http://p.sf.net/sfu/ExoPlatform > _______________________________________________ > Libusb-win32-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel > ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Libusb-win32-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libusb-win32-devel