Click here to Skip to main content
15,891,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why breakpoint is invalid when I debug a application Pin
Bob Stanneveld10-Nov-05 21:31
Bob Stanneveld10-Nov-05 21:31 
QuestionVC2003 IDE Option Question Pin
Gammill10-Nov-05 19:22
Gammill10-Nov-05 19:22 
AnswerRe: VC2003 IDE Option Question Pin
khan++10-Nov-05 20:57
khan++10-Nov-05 20:57 
GeneralRe: VC2003 IDE Option Question Pin
Gammill11-Nov-05 11:53
Gammill11-Nov-05 11:53 
AnswerRe: VC2003 IDE Option Question Pin
*Dreamz11-Nov-05 0:55
*Dreamz11-Nov-05 0:55 
AnswerRe: VC2003 IDE Option Question Pin
jhwurmbach11-Nov-05 1:59
jhwurmbach11-Nov-05 1:59 
GeneralRe: VC2003 IDE Option Question Pin
Gammill11-Nov-05 11:57
Gammill11-Nov-05 11:57 
Questioninclusion of header and lib files (of DLL) in win32 Pin
QuickDeveloper10-Nov-05 18:38
QuickDeveloper10-Nov-05 18:38 
hi
i am creating a win32DLL(on VS6).

could anyone please tell me what are the files to be included to call the functions in the dll and where?

1)i have created a Win32 Dll file and compiled it "successfully".It created .Lib ,.exp and .dll file(so no probs there)Smile | :)

2)since i have used __declspec(dllexport) i did not create DEF file.

3)i have created a simple win32 console application.the code is as follows:

#include "conio.h"
#include "Flipdll.h"

void main()
{
NumberList(); //these are functions in Flipcode.dll
LetterList();
getch();
}


1)if i compile normally it throws up "cannot open Flipdll.h file", so i copied Flipdll.h into current directory.

2)but now it throws up the error

FlipDllWin.obj : error LNK2001: unresolved external symbol _LetterList
FlipDllWin.obj : error LNK2001: unresolved external symbol _NumberList
Debug/FlipCodeWin.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

I have even copied the Lib file but no useFrown | :(

Plz guide me on this.I saw number of tutorials but all of them concentrate on Creating DLL(most of them MFCFrown | :( but not the basic settings like inclusion of files which are essential for a beginner.D'Oh! | :doh:

even code project doesn't seem to have good beginner tutorialsCry | :((

Any kind of help will be highly appreciated

-- modified at 0:39 Friday 11th November, 2005
GeneralRe: inclusion of header and lib files (of DLL) in win32 Pin
QuickDeveloper10-Nov-05 18:45
QuickDeveloper10-Nov-05 18:45 
GeneralRe: inclusion of header and lib files (of DLL) in win32 Pin
User 58385210-Nov-05 19:08
User 58385210-Nov-05 19:08 
GeneralRe: inclusion of header and lib files (of DLL) in win32 Pin
S. Senthil Kumar10-Nov-05 19:08
S. Senthil Kumar10-Nov-05 19:08 
GeneralRe: inclusion of header and lib files (of DLL) in win32 Pin
QuickDeveloper10-Nov-05 19:19
QuickDeveloper10-Nov-05 19:19 
GeneralRe: inclusion of header and lib files (of DLL) in win32 Pin
sophirov10-Nov-05 21:06
sophirov10-Nov-05 21:06 
GeneralRe: inclusion of header and lib files (of DLL) in win32 Pin
S. Senthil Kumar11-Nov-05 0:29
S. Senthil Kumar11-Nov-05 0:29 
QuestionHow to convert chinese code from MBSC to UTF16 Pin
LaHaHa10-Nov-05 18:29
LaHaHa10-Nov-05 18:29 
QuestionSetWindowLong problem? Pin
Owner drawn10-Nov-05 18:14
Owner drawn10-Nov-05 18:14 
AnswerRe: SetWindowLong problem? Pin
*Dreamz10-Nov-05 18:47
*Dreamz10-Nov-05 18:47 
GeneralRe: SetWindowLong problem? Pin
Owner drawn10-Nov-05 18:46
Owner drawn10-Nov-05 18:46 
GeneralRe: SetWindowLong problem? Pin
*Dreamz10-Nov-05 19:42
*Dreamz10-Nov-05 19:42 
GeneralRe: SetWindowLong problem? Pin
Owner drawn10-Nov-05 23:12
Owner drawn10-Nov-05 23:12 
GeneralRe: SetWindowLong problem? Pin
ThatsAlok10-Nov-05 19:55
ThatsAlok10-Nov-05 19:55 
GeneralRe: SetWindowLong problem? Pin
Owner drawn10-Nov-05 20:08
Owner drawn10-Nov-05 20:08 
GeneralRe: SetWindowLong problem? Pin
ThatsAlok10-Nov-05 21:02
ThatsAlok10-Nov-05 21:02 
GeneralRe: SetWindowLong problem? Pin
*Dreamz10-Nov-05 22:35
*Dreamz10-Nov-05 22:35 
GeneralRe: SetWindowLong problem? Pin
ThatsAlok10-Nov-05 22:48
ThatsAlok10-Nov-05 22:48 

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.