Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to Create a Timed Displayed Dialog Pin
Hamid_RT28-Sep-06 10:02
Hamid_RT28-Sep-06 10:02 
QuestionNewbie dhcp question, plzzz help!! Pin
uzee23-Sep-06 10:14
uzee23-Sep-06 10:14 
AnswerRe: Newbie dhcp question, plzzz help!! Pin
markkuk23-Sep-06 12:01
markkuk23-Sep-06 12:01 
Questionthreads in vc++ Pin
amaneet23-Sep-06 9:36
amaneet23-Sep-06 9:36 
AnswerRe: threads in vc++ Pin
Eytukan23-Sep-06 9:46
Eytukan23-Sep-06 9:46 
AnswerRe: threads in vc++ Pin
Hamid_RT23-Sep-06 17:32
Hamid_RT23-Sep-06 17:32 
GeneralRe: threads in vc++ Pin
ThatsAlok23-Sep-06 19:29
ThatsAlok23-Sep-06 19:29 
Questionwhy VC++ 6.0 DLL works with VC# and the one in Visual Studio 2005 doesnt? Pin
saania khan23-Sep-06 8:57
saania khan23-Sep-06 8:57 
One of the things that I have been working on for the past couple of days is creating a DLL in VC++ 6.0 and using it in VC#, and it works..... but when I create the dll in VC++ Visual Studio 2005, it doesnt work with the VC# code.(in Visual Studio 2005)...... I get the error message that it could not find the fntest () function in TestDll.dll.

Let me be more specific about how I created the DLL.....( and I followed the same steps for VC++ 6.0 and VC++ 2005).

After following the steps in the link http://www.icynorth.com/development/createdlltutorial.html(I created a project that exports some symbols instead of a simple dll)I created a .def file, specified the test function as EXPORT. Then I went to build->configuration manager. and changed the configuration from debug to release. I then built the project, got the dll and copied it to the folder C:\WINDOWS\system32.

Then I used PInvoke in VC# code and it worked fine for a VC++ 6.0 dll but not for a Visual Studio 2005 dll in VC++. I have a code ( written by someone else) in Visual Studio 2005. It has a lot of libs etc. specific to .NET, so I have to convert this code to a dll and then use it in my VC# program.

I am desperately waiting for a response.

Thanks,

AnswerRe: why VC++ 6.0 DLL works with VC# and the one in Visual Studio 2005 doesnt? Pin
Christian Graus23-Sep-06 20:18
protectorChristian Graus23-Sep-06 20:18 
QuestionHow To Get Desktop Pixel Pin
javad_200523-Sep-06 7:36
javad_200523-Sep-06 7:36 
AnswerRe: How To Get Desktop Pixel [modified] Pin
Eytukan23-Sep-06 9:02
Eytukan23-Sep-06 9:02 
AnswerRe: How To Get Desktop Pixel Pin
A_Fa23-Sep-06 21:19
A_Fa23-Sep-06 21:19 
QuestionFile enumeration performance (GetFirstFile) Pin
Mohammad A Gdeisat23-Sep-06 6:01
Mohammad A Gdeisat23-Sep-06 6:01 
AnswerRe: File enumeration performance (GetFirstFile) Pin
Jörgen Sigvardsson23-Sep-06 8:18
Jörgen Sigvardsson23-Sep-06 8:18 
GeneralRe: File enumeration performance (GetFirstFile) Pin
Mohammad A Gdeisat23-Sep-06 8:25
Mohammad A Gdeisat23-Sep-06 8:25 
GeneralRe: File enumeration performance (GetFirstFile) Pin
Jörgen Sigvardsson23-Sep-06 8:26
Jörgen Sigvardsson23-Sep-06 8:26 
QuestionProblem with getchar(); Pin
EzraYap23-Sep-06 5:27
EzraYap23-Sep-06 5:27 
AnswerRe: Problem with getchar(); Pin
ThatsAlok23-Sep-06 5:53
ThatsAlok23-Sep-06 5:53 
GeneralRe: Problem with getchar(); Pin
EzraYap23-Sep-06 6:04
EzraYap23-Sep-06 6:04 
GeneralRe: Problem with getchar(); Pin
Jörgen Sigvardsson23-Sep-06 8:14
Jörgen Sigvardsson23-Sep-06 8:14 
GeneralRe: Problem with getchar(); Pin
ThatsAlok23-Sep-06 8:40
ThatsAlok23-Sep-06 8:40 
QuestionWhat wrong with this Code ?? ( multiThread in win32 ) Pin
Yanshof23-Sep-06 5:11
Yanshof23-Sep-06 5:11 
AnswerRe: What wrong with this Code ?? ( multiThread in win32 ) Pin
Mohammad A Gdeisat23-Sep-06 6:04
Mohammad A Gdeisat23-Sep-06 6:04 
GeneralRe: What wrong with this Code ?? ( multiThread in win32 ) Pin
Yanshof23-Sep-06 6:08
Yanshof23-Sep-06 6:08 
AnswerRe: What wrong with this Code ?? ( multiThread in win32 ) Pin
Yanshof23-Sep-06 8:16
Yanshof23-Sep-06 8:16 

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.