.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

My net dll does not work with a computer with windows 7 64 bits

6 REPLIES 6
Reply
Message 1 of 7
rebarwin
1259 Views, 6 Replies

My net dll does not work with a computer with windows 7 64 bits

Hello,

I have a net dll, which has been developed with visual studio 2005, language vb.net, obfuscated/optimized with smartassembly.

It is loaded into autocad with the netload command.

So far it had worked perfectly in about 12 customers. Some customers had autocad 2008, others had autocad 2009 or 2010. I think all had windows vista. It worked perfectly with all customers.

Now I tried it on a new customer who has windows 7 64 bits. First we tried with autocad 2008. It did not work so we installed autocad 2009. It did not work either.

You can load it with the netload command but it does absolutely nothing, it gives no errors but does absolutely nothing when you type the commands. Commands are not recognized and it does not change the default system menu in autocad.

Please Help
Jose Maria
6 REPLIES 6
Message 2 of 7
GTVic
in reply to: rebarwin

Referring to VS2008, should be similar for 2005, Compile Options for Project, Advanced Compile Options, choose Target CPU = "AnyCPU" as opposed to "x86". That is my first guess. My DLL works fine on 32-bit and 64-bit operating systems.
Message 3 of 7
rebarwin
in reply to: rebarwin

Thanks for the answer, but I have already set it to "Any CPU".

Maybe it is not compatible with VS2005 ?
Message 4 of 7
GTVic
in reply to: rebarwin

I don't have an answer but I would try creating a new DLL with a simple MsgBox "Hello World" type command. Skip all the other items you mentioned (system menu, obfuscated/optimized) just to verify that it will work and then go from there.
Message 5 of 7
Anonymous
in reply to: rebarwin

If you can, try a non-obsfucated version of your app
on the problem system, to see if the obsfucation has
any role.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2011

http://www.acadxtabs.com

Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");

wrote in message news:6400340@discussion.autodesk.com...
Hello,

I have a net dll, which has been developed with visual studio 2005, language
vb.net, obfuscated/optimized with smartassembly.

It is loaded into autocad with the netload command.

So far it had worked perfectly in about 12 customers. Some customers had autocad
2008, others had autocad 2009 or 2010. I think all had windows vista. It worked
perfectly with all customers.

Now I tried it on a new customer who has windows 7 64 bits. First we tried with
autocad 2008. It did not work so we installed autocad 2009. It did not work
either.

You can load it with the netload command but it does absolutely nothing, it
gives no errors but does absolutely nothing when you type the commands. Commands
are not recognized and it does not change the default system menu in autocad.

Please Help
Jose Maria
Message 6 of 7
funkyfresh
in reply to: Anonymous

I had the same exact problem as the company is transitioning to Windows 7 64-bit. Your answer can be found on kean's blog http://through-the-interface.typepad.com/through_the_interface/2010/02/handling-com-calls-rejected-b...

 

Enjoy!

Message 7 of 7
pesctx
in reply to: rebarwin

I have exactly the same problem.

1. I'm not using Component Object Model

2. I don't receive any errors, exceptions etc.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost