I want to create a pdf finder. It can find keywords from the pdf files stored on my harddisk. So I need to know the structure of pdf. Anyone knows the details of the pdf structure? Thanks!
ivex
Posts
-
PDF format -
Cannot compile .h file?I am using VC++ and when I press the compile button a msg box appeared and told me that: Cannot compile the file '...\myheader.h': no compile tool is associated with the file extension. Why would this happend?
-
Source of spreadsheet programI want to code a spreadsheet program in DOS mode, can anyone suggest some source code? Thanks!
-
How to generate binary tree from math expression?how? Thanks!
-
String to Doublestring val = "32742937.234234"; how to change this type of string to double? Thanks!
-
Formula transformAre there any examples in source code?
-
Formula transformAre there any algorithms or source codes could transforms formulas like these: from: a=b*(c-d) to: c=a/b-d or b=a/(c-d)
-
Automatically generate header file?Are there any tools can generate header file from a cpp file automatically? For example it generate the cpp file: double sum(double a, double b) {return a + b;} bool islowercase(char ch) {return ('a' <= ch && 'z' >= ch);} void main() {printf("A");} into a header file as: double sum(double, double); bool islowercase(char);
-
Debug Assertion Failed!I couldn't find the file 'daocore.cpp', somebody knows what or where it is?
-
Debug Assertion Failed!Code: #include "dao.h" void main() { COleVariant m_var; LPCSTR m_str; try { CDaoDatabase *base = new CDaoDatabase; base->Open("c:\\biblio.mdb"); CDaoRecordset *rst = new CDaoRecordset(base); rst->Open(dbOpenDynaset, "select * from authors"); for(int i=0; i<3; i++) { m_var = rst->GetFieldValue("Author"); m_str = (LPCSTR) m_var.bstrVal; printf("%d, %s\n", i+1, m_str); rst->MoveNext(); } rst->Close(); base->Close(); } catch(CDaoException e) { } } the header file includes stdio.h and afxdao.h. Everthing is ok but after print out the first three records in the database, a dialog box appeared with the following message: Debug Assertion Failed! Program: C:\WINDOWS\DESKTOP\DATABASE\0041\DEBUG\DAO.EXE File: daocore.cpp Line: 39 What's wrong?:confused:
-
unresolved external symbol __endthreadexThe 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 #include Although I checked Microsoft Knowledge Base for Q126646, the problem hadn't been solved. Can somebody offer more suggections?:confused: