Click here to Skip to main content
15,907,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: DLL Load issue Pin
Naveen30-Aug-07 0:02
Naveen30-Aug-07 0:02 
GeneralRe: DLL Load issue Pin
George_George30-Aug-07 0:06
George_George30-Aug-07 0:06 
QuestionVC++ dll to C++ Builder Pin
smsmfe29-Aug-07 21:06
smsmfe29-Aug-07 21:06 
AnswerRe: VC++ dll to C++ Builder Pin
eli1502197929-Aug-07 21:53
eli1502197929-Aug-07 21:53 
GeneralRe: VC++ dll to C++ Builder Pin
smsmfe29-Aug-07 22:34
smsmfe29-Aug-07 22:34 
GeneralRe: VC++ dll to C++ Builder Pin
eli1502197930-Aug-07 0:00
eli1502197930-Aug-07 0:00 
GeneralRe: VC++ dll to C++ Builder Pin
smsmfe30-Aug-07 1:02
smsmfe30-Aug-07 1:02 
GeneralRe: VC++ dll to C++ Builder Pin
eli1502197930-Aug-07 1:13
eli1502197930-Aug-07 1:13 
Hi Martin,

smsmfe wrote:
I used the code you sent me, but I get compile error (C2470)


From MSDN :
Visual C++ Concepts: Building a C/C++ Program
Compiler Error C2470
'function' : looks like a function definition, but there is no formal parameter list; skipping apparent body

A function definition is missing its argument list. The following sample generates C2470:

// C2470.cpp
int MyFunc {
// ...
};

int main(){
MyFunc();  // C2470 expected
}

This error may also be issued on a brace-enclosed initialization that is missing an =.

int arr[] { 1, 2, 3, 4, 5 };

Instead, you should use:
int arr[] = { 1, 2, 3, 4, 5 };


Can you post your source code after using my code?
Maybe I can see something you missed?

Regards,
Eli
GeneralRe: VC++ dll to C++ Builder Pin
smsmfe30-Aug-07 1:18
smsmfe30-Aug-07 1:18 
GeneralRe: VC++ dll to C++ Builder Pin
smsmfe29-Aug-07 23:33
smsmfe29-Aug-07 23:33 
Questionhow to compare char * and WCHAR * Pin
GauranG Shah29-Aug-07 20:58
GauranG Shah29-Aug-07 20:58 
AnswerRe: how to compare char * and WCHAR * Pin
Nishad S29-Aug-07 21:12
Nishad S29-Aug-07 21:12 
AnswerRe: how to compare char * and WCHAR * Pin
Suneet.0329-Aug-07 23:14
Suneet.0329-Aug-07 23:14 
QuestionExcel automation Pin
__yash__29-Aug-07 20:47
professional__yash__29-Aug-07 20:47 
AnswerRe: Excel automation Pin
Roger Broomfield29-Aug-07 21:34
Roger Broomfield29-Aug-07 21:34 
GeneralRe: Excel automation Pin
__yash__29-Aug-07 22:55
professional__yash__29-Aug-07 22:55 
GeneralRe: Excel automation Pin
Roger Broomfield29-Aug-07 23:25
Roger Broomfield29-Aug-07 23:25 
GeneralRe: Excel automation Pin
__yash__30-Aug-07 1:14
professional__yash__30-Aug-07 1:14 
QuestionStack overflow Pin
Maynka29-Aug-07 20:30
Maynka29-Aug-07 20:30 
AnswerRe: Stack overflow Pin
Cedric Moonen29-Aug-07 20:41
Cedric Moonen29-Aug-07 20:41 
AnswerRe: Stack overflow Pin
Stephen Hewitt29-Aug-07 21:17
Stephen Hewitt29-Aug-07 21:17 
QuestionOpenMp Pin
yoaz29-Aug-07 20:05
yoaz29-Aug-07 20:05 
AnswerRe: OpenMp Pin
Randor 29-Aug-07 21:29
professional Randor 29-Aug-07 21:29 
Questionhow to judge Trojan wooden horse Pin
chenxiaohua200329-Aug-07 17:04
chenxiaohua200329-Aug-07 17:04 
AnswerRe: how to judge Trojan wooden horse Pin
Waldermort29-Aug-07 20:34
Waldermort29-Aug-07 20:34 

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.