Re: 64 bit configuration

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



We have a case where we have a license file that changes based on the build configuration. So if you're compiling in Debug mode, it needs one license file; if you're compiling in Release mode, it needs a different one.

We handled this by setting up a folder called \license_debug and a folder called \license_release in the project, and putting the appropriate license in each folder.

Then with post-build commands, we use the right variables and copy the right one into the main folder. This is why our folders are called debug and release. Here's the post-build command:

COPY/Y "$(TargetDir)license_$(ConfigurationName)\*.*" "$(TargetDir)"

Presumably, you could do the same thing with DLLs.

RobinS.
GoldMail, Inc.
--------------------------------------
<bob_jeffcoat@xxxxxxxxxxx> wrote in message news:34d5e94c-e63e-4364-86bc-97a35d9832d5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'm trying to build my application for both 32 and 64 bit Windows but
my project references a non-managed Dll that comes in 2 formats, one
for 32 and one for 64. How do I set up my solution so that I can
build for both targets easily? Is it possible?

Also, are there any problems using 'unsafe' code if I'm trying to run
on x64?

Thanks,

.



Relevant Pages

  • Re: Should Suse Users abandon KDE ?!
    ... >> I'm thinking of going GNOME on my home machine. ... > a folder on my server buried under many subfolders... ... Konqueror is awsome and it is better at certain tasks than Nautilus. ... I tried it once with compiling Gnumeric, ...
    (alt.os.linux.suse)
  • Re: Simple Java Problem
    ... When you compile the DiceCon.java file, is the folder that contains it ... echo path set ... >doesnt recognised the Dice Class. ... Im compiling and running from the command ...
    (comp.lang.java.help)
  • Re: Panic Button Hit! Need Help!
    ... Grab all the source files from their folders, ... Object files are left in the compilation folder ... Windows NT4!!! ... Disabling Options\General\Background Compiling ...
    (microsoft.public.vb.bugs)
  • Re: mex with fortran 90
    ... The thing is that I don't get any .lib file after compiling ... I copied all the files in the "Debug" ... param.mod) into the folder where I have vvmult.f90 (the file ... and I get the same error message. ...
    (comp.soft-sys.matlab)
  • RE: Namespaces not visible in Visual Studio 2003 developing with C#
    ... Make sure everything is compiling ... Make sure the DLLs are being copied correctly to your project folder ... You can check all three by examining the output window after a compile. ... I added a new folder under my GUI project called 'Components'. ...
    (microsoft.public.dotnet.framework)