-2

Possible Duplicate:
Identifying the CPU architecture type using C#

my program is using diffrent assemblies for its final part.The problem is that amd and intelx64 assemblies are not fully compatible. Its is for an compiler im working on.

Community
  • 1
  • 1

1 Answers1

0

you could use exception handling, using try and catch.

try
{
    // intel assembly
}
catch
{
    // amd assembly
}
iedoc
  • 2,266
  • 3
  • 30
  • 53
  • that actually might not work very well since some of the assembly might run before an error occurs. it was just an idea – iedoc Jun 27 '12 at 12:41