473,399 Members | 2,774 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Classic DLL Library

Hi all
I'm newbee in creating dll library, and I have one "nonstandard" question...
I must in VS.Net create classic library for WinNT4. How do this?
I choose ClassLibrary project but is that all? What I must set in property
to create classic dll?

Regards
Krzysztof
Nov 15 '05 #1
4 1518
In article <bm**********@news.onet.pl>, Krzysztof wrote:
Hi all
I'm newbee in creating dll library, and I have one "nonstandard" question...
I must in VS.Net create classic library for WinNT4. How do this?
I choose ClassLibrary project but is that all? What I must set in property
to create classic dll?

Regards
Krzysztof


You don't do that in VB.NET, as VB.NET is incabable of creating standard
win32 dlls... You'll want to use VC++ for that :)

Tom Shelton
Nov 15 '05 #2
Krzysztof,

Unfortunately, you can not do this. .NET can not export functions from
DLLs. However you can use C++ to create a DLL which exports functions.
Using Managed Extensions for C++, you can create an unmanaged DLL that calls
managed code (using It Just Works).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

"Krzysztof" <kk******@poczta.onet.pl> wrote in message
news:bm**********@news.onet.pl...
Hi all
I'm newbee in creating dll library, and I have one "nonstandard" question... I must in VS.Net create classic library for WinNT4. How do this?
I choose ClassLibrary project but is that all? What I must set in property
to create classic dll?

Regards
Krzysztof

Nov 15 '05 #3
In article <uH**************@TK2MSFTNGP10.phx.gbl>, Tom Shelton wrote:
In article <bm**********@news.onet.pl>, Krzysztof wrote:
Hi all
I'm newbee in creating dll library, and I have one "nonstandard" question...
I must in VS.Net create classic library for WinNT4. How do this?
I choose ClassLibrary project but is that all? What I must set in property
to create classic dll?

Regards
Krzysztof


You don't do that in VB.NET, as VB.NET is incabable of creating standard
win32 dlls... You'll want to use VC++ for that :)

Tom Shelton


Crap, I though I was in the VB.NET group... Oh, well the same thing
applies to C# as well :)

Tom Shelton
Nov 15 '05 #4
> Krzysztof,

Unfortunately, you can not do this. .NET can not export functions from DLLs. However you can use C++ to create a DLL which exports functions.
Using Managed Extensions for C++, you can create an unmanaged DLL that calls managed code (using It Just Works).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- nick(dot)paldino=at=exisconsulting<dot>com

[cut my]

I'm not happy about this
I must do simple dll tat have 2 methods to send XML to WebService and get
XML from it. It must works on Windsow 95/NT4 without .Net .
I do some apps in C# and Java, but for this time I didn't use C++.
So...

Regards
Krzysztof
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: Simon Wittber | last post by:
I've noticed that a few ASPN cookbook recipes, which are recent additions, use classic classes. I've also noticed classic classes are used in many places in the standard library. I've been...
6
by: Patrick | last post by:
Following earlier discussions about invoking a .NET class library via ..NET-COM Interop (using regasm /tlb) at...
22
by: Henry Rolf | last post by:
I need some advice. I was thinking about going with ASP.NET, but after reading this I don't think it would be right for me. http://www.powerasp.com/content/new/asp-and-aspdotnet.asp I have...
2
by: jason | last post by:
the enterprise is going to eventually convert the existing ASP Classic website to ASP.NET until that time, development has already begun for a C# library of business objects. for the most part,...
2
by: jason | last post by:
Hello everyone, I have a C# object library which encapsulates data. Data is keyed by way of Guid values, which are stored in the objects as read-only Guid properties. However, we have a...
3
by: Mark | last post by:
Hi From what I understand, you can pass arrays from classic ASP to .NET using interop, but you have to change the type of the.NET parameter to object. This seems to be because classic ASP passes...
3
by: Dica | last post by:
we've got a large site that was built using classic ASP. i've read that session state info can't be shared between classic and .Net, but, as the client continues to add new functionality to the...
8
by: Blue Apricot | last post by:
I have been doing Classic ASP for years, and I know it well. I didn't jump on the .Net bandwagon way back when because at the time I was doing primarily front end code, and so it wasn't wirth...
1
by: jdub33 | last post by:
I have a web project that used a vb6 class library. The asp page would call a createobject() to access the class library. I recently updated the vb6 class library to .net2005. I unregistered the...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.