Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / January 2007

Tip: Looking for answers? Try searching our database.

Exporting functions in a DLL without the = _FunctionName

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bruce - 31 Jan 2007 01:37 GMT
I need to write a DLL for a Domino server.  It is currently not working
and I believe the problem might be related to how the DLL was compiled.
 I did a Dumpbin of a sample DLL that came from Notes.

The dump looks like this:

ordinal hint RVA      name

      1    0 00001014 FilterInit
      2    1 00001005 HttpFilterProc
      3    2 0000100F TerminateFilter

When I do a DumpBin of my DLL, it looks like this:

 ordinal hint RVA      name

       1    0 00001000 FilterInit = _FilterInit
       2    1 00001070 HttpFilterProc = _HttpFilterProc
       3    2 00001050 TerminateFilter = _TerminateFilter

Notice the equals and the underscore character.

I am using VC8.

I am declaring the function with extern "C" __declspec(dllexport)
MyFunction()

I tried a DEF file as suggested in a post I found on a search but that
did not work.

How do I compile the DLL without the = _FunctionName ?

Signature

Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com

Bruce - 31 Jan 2007 02:07 GMT
Oops! Wrong VC newsgroup.  Sorry!

Signature

Bruce E. Stemplewski
GarXface OCX and C++ Class Library for the Garmin GPS
www.stempsoft.com


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.