The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Origin 9 Resource DLL Creation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cdrozdowski111

USA
247 Posts

Posted - 12/14/2012 :  07:42:02 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 9.0.0 64-bit (Student Version), Win7 64-bit, running in VMware Fusion 5.0.2

When creating a resource DLL in OriginPro 9 64-bit with Visual Studio 2010, what type of project should I create? Is it still a Win32 project?

And should I use .NET Framework 4?

cpyang

USA
1406 Posts

Posted - 12/14/2012 :  4:17:23 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I google and found this


I believe there is no difference between 2008 and 2010.

CP
Go to Top of Page

cdrozdowski111

USA
247 Posts

Posted - 12/14/2012 :  6:27:24 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I wondering about any specific variations from the outlined procedures (in various sources) when creating a resource DLL for 64-bit OriginPro 9. The source you linked to, and others, do not mention 64-bit at all.
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 12/14/2012 :  8:02:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You are correct, you can build both 32 and 64 from your project but the 64bit will need to be named with _64, so in the Project Configuration Properties->General->Target Name

32bit = $(ProjectName)
64bit = $(ProjectName)_64

So in the wiki link I posted, the 32bit DLL is Welcome.dll, and the 64bit version should be Welcome_64.dll

CP
Go to Top of Page

eparent

118 Posts

Posted - 12/18/2012 :  4:29:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The Wiki article Build Resource-Only DLL in Visual Studio 2008 has been updated.
I have cleaned up the steps, added steps for 64-bit, and improved the Origin C example.
Go to Top of Page

cdrozdowski111

USA
247 Posts

Posted - 12/18/2012 :  5:39:25 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
@eparent,

Thank you very much!

I'm sure it is a bit of a monumental task to keep all the documentation for various versions up to date and organized.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000