473,498 Members | 1,671 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Creating Dynamically loaded libraries

Hello friends,

How can i create and use dynamic link libraries with ANSI or ISO C
language?

Thank You,

Nov 27 '05 #1
5 1298
Paramesh wrote:
How can i create and use dynamic link libraries with ANSI or ISO C
language?


standard C (ANSI or ISO) does not address the issue of dynamic link
library. You
need a platform or compiler specific news group.
--
Nick Keighley

Nov 27 '05 #2
Paramesh <ce*********@gmail.com> wrote:
How can i create and use dynamic link libraries with ANSI or ISO C
language?


(Short answer: You can't. You're looking for a different newsgroup.)

Your post is off-topic for comp.lang.c. Please visit

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

for posting guidelines and frequently asked questions. Thank you.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Nov 27 '05 #3

"Paramesh" <ce*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hello friends,

How can i create and use dynamic link libraries with ANSI or ISO C
language?


You'll need something like MS's Visual Studio, or Dev-C++ [it does C too!]
Nov 27 '05 #4
In article <11**********************@o13g2000cwo.googlegroups .com>,
Paramesh <ce*********@gmail.com> wrote:
Hello friends,

How can i create and use dynamic link libraries with ANSI or ISO C
language?

Thank You,


Allow me to be the first to say this - and I say it from the deepness of my
heart, with all the kindness and love one has come to associate with the
helpful posts you get in this newsgroup:

Not portable. Can't discuss it here. Blah, blah, blah.

Nov 27 '05 #5

"Paramesh" <ce*********@gmail.com> wrote
Hello friends,

How can i create and use dynamic link libraries with ANSI or ISO C
language?

Thank You,

To use a dynamic library, just the straight

#include <ordinarytheader.h>

int main(void)
{
ordinaryfunctioncall();
return 0;
}

Then you need to link the dynamic library, possibly the compiler will do
this automatically, or possibly you will need to specify it explicitly.
To make a dynamic library, just the standard

int ordinaryfunctioncall(void)
{
return 123;
}

Now compile, using switches to indicate that the function should not be
compiled to a standard executable, but to a dynamic library. You will
virtually always need to inform the compiler explictly about this (in MSVC++
it is achieved by clicking the "dynamic link library option" as you create a
new project, other compilers might use command line switches or other
methods).

Nov 27 '05 #6

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

Similar topics

7
3245
by: Tim T | last post by:
Hi, I have the need to use dynamically loaded user controls in a webform page. I have the controls loading dynamically, and that part works fine. this is the code used in a webform to dynamically...
8
4296
by: Donald Xie | last post by:
Hi, I noticed an interesting effect when working with controls that are dynamically loaded. For instance, on a web form with a PlaceHolder control named ImageHolder, I dynamically add an image...
0
1511
by: Matt Howeson | last post by:
I have a problem with a usercontrol that is dynamically loaded, from a web control and is not restoring it's viewstate properly. Here's the scenario. Within our content management system, I have...
1
1270
by: mhearne808 | last post by:
I have a question about how dynamically loaded C++ modules work, which I will phrase as a hypothetical scenario involving the Numeric module. Please understand that I don't really care about...
3
1131
by: Anoop M | last post by:
Whether there is any available libraries to render an asp.net webform dynamically at run time, from an xml definition? Like <Page> <control class="System.Web.UI.WebControls.Textbox"...
0
1552
by: lianaent | last post by:
Hi All, I'm brand new to asp.net 2.0, and have a simple task of just creating a quick and dirty data entry form with SQL Server 2005 on the back end. I added a gridview to my form, and I can...
7
2116
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
36
3125
by: Martin Larsen | last post by:
Hi, When a PHP program links to a library using include or require (or their _once variations), is the library then linked dynamically or statically? While it might seem irrelevant from a...
2
3079
by: Smithers | last post by:
Using 3.5, I am stuck in attempting to: 1. Dynamically load an assembly 2. Instantiate a class from that assembly (the client code is in a different namespace than the namespace of the...
0
7126
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
7005
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
7168
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7210
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
7381
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...
1
4916
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1424
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
293
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.