Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > C#

C# C# Discussion

Reply
 
Thread Tools Display Modes
Old 04-30-2007, 09:40 AM   #1 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,413
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default Ultima.dll is not a valid .dll or COM object?

Hi,

Just wondering if you could help me understand what I am doing wrong with the .dll files?

I am using Visual Studio 2003 .NET.
I am starting a new Solution with a new C# Windows Application.
I go to References - Add Reference, and browse and point to the .dll's which I have copied into the Solution folder. It does not matter which one I choose, I get the same response from VS2003, "Core.dll is not a valid .dll or COM object." or "Ultima.dll is not a valid .dll or COM object."

Can you tell me what I am missing?
Lokai is offline   Reply With Quote
Old 04-30-2007, 09:42 AM   #2 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 44
Posts: 6,283
Default

The only thing I can think of is that the Ultima.dll you are using is in a different format than the 2003 version is used to.

NOTE: This is only a guess and has no basis in fact.

Have you tried using Visual C# Express or VS 2005?
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 04-30-2007, 10:01 AM   #3 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,413
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

No.

Normally I just use Notepad++, and don't bother with VS at all. I used to need it so I could get all the helpful goodies (and sometimes miss it) but lately I just open files in Notepad++ and work on the fly.

But I wanted to create a Windows application with references to the Ultima core files. I do not have any other application to try. Is Visual C# Express one of the freeware apps? A long time ago I used Sharp Develop. I don't know if that is still around? *EDIT* I found Sharp Develop. I will try that one....BRB
Lokai is offline   Reply With Quote
Old 04-30-2007, 10:07 AM   #4 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 44
Posts: 6,283
Default

Personally, I can't stand SharpDevelop, but I freely admit it's a matter of personal preference and comfort.

Visual C# Express is now free, however:

Microsoft makes Visual Studio Express Free!!!
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 04-30-2007, 10:34 AM   #5 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 41
Posts: 1,413
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

OK, Sharp Develop worked, although the interface is somewhat clumsy. I am downloading VCS2005 Express now.

Thanks!
Lokai is offline   Reply With Quote
Old 04-30-2007, 01:24 PM   #6 (permalink)
Newbie
 
System 32's Avatar
 
Join Date: Oct 2006
Location: Turkey
Posts: 99
Send a message via MSN to System 32 Send a message via Yahoo to System 32
Default

A note, i created Core.dll with vcsharp express 2005, this may be the reason
System 32 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5