IT Community - Software Programming, Web Development and Technical Support

How to create a simple dll using VC++ and how to register it windows XP?

This is a discussion on How to create a simple dll using VC++ and how to register it windows XP? within the C and C++ Programming forums, part of the Software Development category; How to create a simple dll using VC++ and how to register it windows XP ?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > C and C++ Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-24-2007, 04:56 AM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Question How to create a simple dll using VC++ and how to register it windows XP?

How to create a simple dll using VC++ and how to register it windows XP ?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-24-2007, 05:25 AM
kingmaker kingmaker is offline
D-Web Genius
 
Join Date: Jun 2007
Posts: 882
kingmaker is on a distinguished road
Send a message via Yahoo to kingmaker
Default Re: How to create a simple dll using VC++ and how to register it windows XP?

Creating VC++ Dll and Register it.


Goals:


This project is used to create a vc++ dll to register and use it in asp.net.

Steps:

1) Open asp.net window.

2) select vc++ and in the window, select ATL project.

3) Then finish the window.

4) Copy the sample code in the .cpp file.

STDAPI sum(int a, int b)
{
return a+b;
}

5) Run the code then open the command prompt and type regsvr32 D:\sample.dll
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Register dll or ocx using through code in C# oxygen C# Programming 4 08-06-2008 12:58 AM
How to create a windows service program? Mramesh C# Programming 12 09-05-2007 08:11 AM
How to read inbox messages in windows mobile and create it as a text file using C#? mobilegeek Windows Mobile 4 08-17-2007 07:42 AM
simple windows service to generate automatic mails kingmaker C# Programming 0 07-16-2007 12:04 AM
Create Simple ShoutBox spid4r PHP Programming 0 03-08-2007 11:03 PM


All times are GMT -7. The time now is 09:05 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0