Click here to Skip to main content
15,867,568 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: 880129 - class of matrix of complex numbers Pin
CPallini20-Apr-09 0:15
mveCPallini20-Apr-09 0:15 
AnswerRe: 880129 - class of matrix of complex numbers Pin
Stuart Dootson18-Apr-09 11:40
professionalStuart Dootson18-Apr-09 11:40 
GeneralRe: 880129 - class of matrix of complex numbers Pin
ilostmyid218-Apr-09 16:31
professionalilostmyid218-Apr-09 16:31 
GeneralRe: 880129 - class of matrix of complex numbers Pin
Stuart Dootson18-Apr-09 22:49
professionalStuart Dootson18-Apr-09 22:49 
QuestionHow to create no active child window in MDI? [modified] Pin
Punktum18-Apr-09 8:35
Punktum18-Apr-09 8:35 
AnswerRe: How to create no active child window in MDI? Pin
Punktum19-Apr-09 10:52
Punktum19-Apr-09 10:52 
QuestionUse of functions from DLL using extern [modified] Pin
ytubis18-Apr-09 6:29
ytubis18-Apr-09 6:29 
AnswerRe: Use of functions from DLL using extern Pin
Stuart Dootson18-Apr-09 7:40
professionalStuart Dootson18-Apr-09 7:40 
ytubis wrote:
Error	1	error C2146: syntax error : missing ';' before identifier 'tcplib_retrieve_n_bytes_ptr'	d:\my_documents\visual studio 2008\projects\servertest\servertest\servertest.cpp	6	ServerTest
Error	2	error C4430: missing type specifier - int assumed. Note: C++ does not support default-int	d:\my_documents\visual studio 2008\projects\servertest\servertest\servertest.cpp	6	ServerTest


That means that the compiler can't see the defintion of TCPLIB_RETRIEVE_N_BYTES_PTR - you need a definition of the type for the compiler to see. DLL's can't export type definitions, only functions and variables (and don't think that DLLs export classes as types - they don't, they export the class's methods).

ytubis wrote:
I added the DLL to my linker as an input but I get errors:


You need to add the import library to the linker input, NOT the DLL.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Use of functions from DLL using extern Pin
ytubis18-Apr-09 8:07
ytubis18-Apr-09 8:07 
GeneralRe: Use of functions from DLL using extern Pin
Stuart Dootson18-Apr-09 8:14
professionalStuart Dootson18-Apr-09 8:14 
QuestionIs this a virus or some thing? Pin
Joseph Marzbani18-Apr-09 4:17
Joseph Marzbani18-Apr-09 4:17 
AnswerRe: Is this a virus or some thing? Pin
Luc Pattyn18-Apr-09 4:23
sitebuilderLuc Pattyn18-Apr-09 4:23 
GeneralRe: Is this a virus or some thing? Pin
enhzflep18-Apr-09 17:14
enhzflep18-Apr-09 17:14 
QuestionHow to parse HL7 message in VC++ Pin
Abhijit D. Babar17-Apr-09 23:22
Abhijit D. Babar17-Apr-09 23:22 
AnswerRe: How to parse HL7 message in VC++ Pin
Stuart Dootson18-Apr-09 0:31
professionalStuart Dootson18-Apr-09 0:31 
GeneralRe: How to parse HL7 message in VC++ Pin
Abhijit D. Babar18-Apr-09 1:05
Abhijit D. Babar18-Apr-09 1:05 
GeneralRe: How to parse HL7 message in VC++ Pin
Stuart Dootson18-Apr-09 1:07
professionalStuart Dootson18-Apr-09 1:07 
GeneralRe: How to parse HL7 message in VC++ Pin
Abhijit D. Babar18-Apr-09 1:40
Abhijit D. Babar18-Apr-09 1:40 
GeneralRe: How to parse HL7 message in VC++ Pin
Stuart Dootson18-Apr-09 1:50
professionalStuart Dootson18-Apr-09 1:50 
GeneralRe: How to parse HL7 message in VC++ [modified] Pin
Abhijit D. Babar18-Apr-09 3:05
Abhijit D. Babar18-Apr-09 3:05 
GeneralRe: How to parse HL7 message in VC++ Pin
Stuart Dootson18-Apr-09 5:08
professionalStuart Dootson18-Apr-09 5:08 
QuestionSplit string into substrings Pin
Manfr3d17-Apr-09 21:12
Manfr3d17-Apr-09 21:12 
AnswerRe: Split string into substrings [modified] Pin
Stuart Dootson17-Apr-09 21:56
professionalStuart Dootson17-Apr-09 21:56 
GeneralRe: Split string into substrings Pin
Manfr3d18-Apr-09 5:04
Manfr3d18-Apr-09 5:04 
GeneralRe: Split string into substrings Pin
Stuart Dootson18-Apr-09 5:14
professionalStuart Dootson18-Apr-09 5:14 

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.