Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: memory leak Pin
nahitan19-Apr-06 2:59
nahitan19-Apr-06 2:59 
AnswerRe: memory leak Pin
Bob Flynn18-Apr-06 6:01
Bob Flynn18-Apr-06 6:01 
AnswerRe: memory leak Pin
ThatsAlok18-Apr-06 7:33
ThatsAlok18-Apr-06 7:33 
QuestionHow can I hide the export information of my DLL Pin
Simon.W18-Apr-06 5:19
Simon.W18-Apr-06 5:19 
AnswerRe: How can I hide the export information of my DLL Pin
Chris Losinger18-Apr-06 5:55
professionalChris Losinger18-Apr-06 5:55 
QuestionRe: How can I hide the export information of my DLL Pin
David Crow18-Apr-06 6:51
David Crow18-Apr-06 6:51 
AnswerRe: How can I hide the export information of my DLL Pin
ThatsAlok18-Apr-06 7:31
ThatsAlok18-Apr-06 7:31 
AnswerRe: How can I hide the export information of my DLL Pin
cmk18-Apr-06 8:20
cmk18-Apr-06 8:20 
Use a .def file.
For each function you export use the NONAME tag.
This will cause the function to be exported by ordinal instead of name.
This also makes the resulting dll smaller.

Exporting c++ functions (and class methods) is a pain as you have to specify the mangled name.
If you have to export a number of c++ functions/methods you may want to write a tool to generate the .def from a .map (or other such file) ... and post the tool back here. Smile | :)

http://msdn2.microsoft.com/en-us/library/hyx1zcd3(VS.80).aspx[^]


...cmk

Save the whales - collect the whole set
QuestionMachine code Pin
pc_dev18-Apr-06 4:51
pc_dev18-Apr-06 4:51 
AnswerRe: Machine code Pin
toxcct18-Apr-06 4:55
toxcct18-Apr-06 4:55 
GeneralRe: Machine code Pin
pc_dev18-Apr-06 5:11
pc_dev18-Apr-06 5:11 
GeneralRe: Machine code Pin
toxcct18-Apr-06 5:23
toxcct18-Apr-06 5:23 
GeneralRe: Machine code Pin
John R. Shaw18-Apr-06 15:57
John R. Shaw18-Apr-06 15:57 
GeneralRe: Machine code Pin
Waldermort18-Apr-06 8:53
Waldermort18-Apr-06 8:53 
AnswerRe: Machine code Pin
Alexander M.,18-Apr-06 15:01
Alexander M.,18-Apr-06 15:01 
Questionfatal error U1034 Pin
jonesap518-Apr-06 4:43
jonesap518-Apr-06 4:43 
QuestionRe: fatal error U1034 Pin
David Crow18-Apr-06 7:54
David Crow18-Apr-06 7:54 
QuestionRe: fatal error U1034 Pin
jonesap518-Apr-06 8:05
jonesap518-Apr-06 8:05 
AnswerRe: fatal error U1034 Pin
David Crow18-Apr-06 8:11
David Crow18-Apr-06 8:11 
QuestionRe: fatal error U1034 Pin
jonesap518-Apr-06 8:13
jonesap518-Apr-06 8:13 
QuestionRe: fatal error U1034 Pin
David Crow18-Apr-06 8:23
David Crow18-Apr-06 8:23 
AnswerRe: fatal error U1034 Pin
jonesap518-Apr-06 8:40
jonesap518-Apr-06 8:40 
GeneralRe: fatal error U1034 Pin
David Crow18-Apr-06 8:46
David Crow18-Apr-06 8:46 
QuestionRe: fatal error U1034 Pin
jonesap518-Apr-06 8:50
jonesap518-Apr-06 8:50 
AnswerRe: fatal error U1034 Pin
jonesap518-Apr-06 10:38
jonesap518-Apr-06 10:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.