Click here to Skip to main content
15,909,445 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Change Toolbar Dialog Size Pin
Matt Newman10-Apr-02 10:54
Matt Newman10-Apr-02 10:54 
QuestionHow can I record all key strokes of any other processes in background? Pin
Cloudway9-Apr-02 16:10
Cloudway9-Apr-02 16:10 
AnswerRe: How can I record all key strokes of any other processes in background? Pin
Cloudway9-Apr-02 17:13
Cloudway9-Apr-02 17:13 
GeneralRe: How can I record all key strokes of any other processes in background? Pin
Alexandru Savescu9-Apr-02 21:53
Alexandru Savescu9-Apr-02 21:53 
GeneralRe: How can I record all key strokes of any other processes in background? Pin
Cloudway9-Apr-02 23:21
Cloudway9-Apr-02 23:21 
QuestionHow to register a environment variable ? Pin
Lizp9-Apr-02 15:43
Lizp9-Apr-02 15:43 
AnswerRe: How to register a environment variable ? Pin
Jeremy Falcon9-Apr-02 16:00
professionalJeremy Falcon9-Apr-02 16:00 
GeneralDll prob - HELP Pin
The_Server9-Apr-02 15:23
The_Server9-Apr-02 15:23 
dll_file.H
extern "C"
{
  <code>__declspec</code>(<code>dllexport</code>) <code>bool</code> func1(<code>bool</code> a);
  <code>__declspec</code>(<code>dllexport</code>) <code>bool</code> func2();
}
dll_file.cpp
<code>__declspec</code>(<code>dllexport</code>) <code>bool</code> func1(<code>bool</code> a)
{
  <code>int</code> x=0;
  x=x+1;

  return true;
}

<code>__declspec</code>(<code>dllexport</code>) <code>bool</code> func2()
{
<code>int</code> x=0;
x=x+1;
return <code>true</code>;
}


compiling - OK
LoadLibrary - OK
GetProcAddress(* both func1 & 2 *) - OK
calling func2 - OK
calling func1 - fails while returning back to the app

the error is:
The value of ESP was not properly saved across a function call.

Please
Cry | :(( Cry | :(( Cry | :(( Cry | :((
Confused | :confused: HH EE LL PP Confused | :confused:
Cry | :(( Cry | :(( Cry | :(( Cry | :((


Thank you for reading all this....
Hope u have the answer
GeneralRe: Dll prob - HELP Pin
Jeremy Falcon9-Apr-02 16:47
professionalJeremy Falcon9-Apr-02 16:47 
GeneralRe: Dll prob - HELP Pin
vmaltsev10-Apr-02 0:26
vmaltsev10-Apr-02 0:26 
Generalclosing a view Pin
9-Apr-02 13:55
suss9-Apr-02 13:55 
GeneralRe: closing a view Pin
Michael Dunn9-Apr-02 14:25
sitebuilderMichael Dunn9-Apr-02 14:25 
GeneralRe: closing a view Pin
16-Apr-02 21:29
suss16-Apr-02 21:29 
GeneralCDCs and CBitmap Pin
marcela9-Apr-02 13:09
marcela9-Apr-02 13:09 
GeneralRe: CDCs and CBitmap Pin
moredip9-Apr-02 13:18
moredip9-Apr-02 13:18 
GeneralWideCharToMultiByte Pin
kasturirawat9-Apr-02 12:00
kasturirawat9-Apr-02 12:00 
GeneralRe: WideCharToMultiByte Pin
Philippe Mori9-Apr-02 13:04
Philippe Mori9-Apr-02 13:04 
GeneralPlease answer. CReBar Pin
kursatkaraca9-Apr-02 10:58
kursatkaraca9-Apr-02 10:58 
GeneralRe: Please answer. CReBar Pin
Shog99-Apr-02 16:22
sitebuilderShog99-Apr-02 16:22 
QuestionDoes file exist? Pin
Rickard Andersson209-Apr-02 10:14
Rickard Andersson209-Apr-02 10:14 
AnswerRe: Does file exist? Pin
Mike Nordell9-Apr-02 10:19
Mike Nordell9-Apr-02 10:19 
AnswerRe: Does file exist? Pin
Jack Handy9-Apr-02 10:28
Jack Handy9-Apr-02 10:28 
AnswerRe: Does file exist? Pin
Joaquín M López Muñoz9-Apr-02 10:50
Joaquín M López Muñoz9-Apr-02 10:50 
GeneralRe: Does file exist? Pin
9-Apr-02 18:36
suss9-Apr-02 18:36 
AnswerRe: Does file exist? Pin
mynab9-Apr-02 22:22
mynab9-Apr-02 22:22 

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.