Click here to Skip to main content
16,005,080 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWinForms and VC++.NET Pin
Michael Mac19-Apr-02 8:31
Michael Mac19-Apr-02 8:31 
GeneralRe: WinForms and VC++.NET Pin
Mazdak19-Apr-02 11:02
Mazdak19-Apr-02 11:02 
GeneralGetOpenFileName Pin
Hyien19-Apr-02 6:56
Hyien19-Apr-02 6:56 
GeneralRe: GetOpenFileName Pin
Ravi Bhavnani19-Apr-02 7:03
professionalRavi Bhavnani19-Apr-02 7:03 
GeneralRe: GetOpenFileName Pin
PJ Arends19-Apr-02 13:20
professionalPJ Arends19-Apr-02 13:20 
GeneralModifiying List View Pin
Peter Liddle19-Apr-02 6:28
Peter Liddle19-Apr-02 6:28 
GeneralRe: Modifiying List View Pin
Ravi Bhavnani19-Apr-02 7:07
professionalRavi Bhavnani19-Apr-02 7:07 
Generalunresolved external symbol __endthreadex Pin
ivex19-Apr-02 5:43
ivex19-Apr-02 5:43 
The code below generated some errors in linking:
#include "dao.h"

void main()
{
try
{
static CDaoDatabase *base = new CDaoDatabase;
base->Open("c:\\biblio.mdb");
CDaoRecordset *rst = new CDaoRecordset(base);
rst->Open(1, "select * from authors");


for(int i=0; i<5; i++)
{
printf("%d, %s\n", i+1, rst->GetFieldValue(1));
rst->MoveNext();
}
}
catch(CDaoException e)
{
}
}
--------------------Configuration: dao - Win32 Debug--------------------
Compiling...
dao.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/dao.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

dao.exe - 3 error(s), 0 warning(s)

And the header file contains:
#include <stdio.h>
#include <afxdao.h>

Although I checked Microsoft Knowledge Base for Q126646, the problem hadn't been solved. Can somebody offer more suggections?Confused | :confused:
GeneralRe: unresolved external symbol __endthreadex Pin
Paul M Watt19-Apr-02 6:02
mentorPaul M Watt19-Apr-02 6:02 
GeneralRe: unresolved external symbol __endthreadex Pin
Sprudling19-Apr-02 6:11
Sprudling19-Apr-02 6:11 
GeneralServices! Pin
hph19-Apr-02 5:42
hph19-Apr-02 5:42 
GeneralRe: Services! Pin
Le centriste19-Apr-02 7:17
Le centriste19-Apr-02 7:17 
GeneralRe: Services! Pin
Nemanja Trifunovic19-Apr-02 7:25
Nemanja Trifunovic19-Apr-02 7:25 
QuestionSend data to text file? Pin
19-Apr-02 4:51
suss19-Apr-02 4:51 
AnswerRe: Send data to text file? Pin
Paul M Watt19-Apr-02 5:33
mentorPaul M Watt19-Apr-02 5:33 
GeneralC++ Version 6 and Net compatability Pin
19-Apr-02 4:36
suss19-Apr-02 4:36 
QuestionHow to run a SDI based App in the stealth mode Pin
User 1605519-Apr-02 4:17
User 1605519-Apr-02 4:17 
AnswerRe: How to run a SDI based App in the stealth mode Pin
Paul M Watt19-Apr-02 5:37
mentorPaul M Watt19-Apr-02 5:37 
GeneralCab Signing Pin
Mauricio Ritter19-Apr-02 2:22
Mauricio Ritter19-Apr-02 2:22 
Questionwhy there is so many different between debug and release? Pin
white jungle19-Apr-02 1:41
white jungle19-Apr-02 1:41 
AnswerRe: why there is so many different between debug and release? Pin
Roger Allen19-Apr-02 1:45
Roger Allen19-Apr-02 1:45 
GeneralRe: why there is so many different between debug and release? Pin
Michael Dunn19-Apr-02 11:51
sitebuilderMichael Dunn19-Apr-02 11:51 
GeneralConverter Pin
18-Apr-02 23:48
suss18-Apr-02 23:48 
GeneralRe: Converter Pin
Michael P Butler19-Apr-02 0:02
Michael P Butler19-Apr-02 0:02 
GeneralRe: Converter Pin
Alvaro Mendez19-Apr-02 8:25
Alvaro Mendez19-Apr-02 8:25 

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.