Click here to Skip to main content
15,914,820 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSimple question = (I hope) simple answer Pin
[CoY0te]24-Jul-02 0:59
[CoY0te]24-Jul-02 0:59 
GeneralRe: Simple question = (I hope) simple answer Pin
Tomasz Sowinski24-Jul-02 1:10
Tomasz Sowinski24-Jul-02 1:10 
GeneralRe: Simple question = (I hope) simple answer Pin
[CoY0te]24-Jul-02 1:24
[CoY0te]24-Jul-02 1:24 
GeneralKey Press Messages Pin
Atlence24-Jul-02 0:41
Atlence24-Jul-02 0:41 
GeneralRe: Key Press Messages Pin
Tomasz Sowinski24-Jul-02 0:45
Tomasz Sowinski24-Jul-02 0:45 
GeneralRe: Key Press Messages Pin
Nish Nishant24-Jul-02 1:30
sitebuilderNish Nishant24-Jul-02 1:30 
GeneralRe: Key Press Messages Pin
Atlence24-Jul-02 5:34
Atlence24-Jul-02 5:34 
GeneralMFC extention DLL problem Pin
Raphael Kindt24-Jul-02 0:03
Raphael Kindt24-Jul-02 0:03 
Hi,
Strange problem... I've constructed a dll (mfc extention) with VC++ 6.0 for another application that use it.
The project of this DLL use 2 files added:
ExportFile.h and ExportFile.cpp
where we can found for ExportFile.h:
#ifndef __EXPORTFILE_H_
#define __EXPORTFILE_H_

#define DLLEXPORT _declspec(dllexport)
typdef struct {
   BYTE member1;
   BYTE member2;
   //[... other member...]
} TCHA_DIG;
DLLEXPORT DWORD Init(TCHA_DIG* channel);
//[... other DLLEXPORT...]
DLLEXPORT void  StartAcquisition(TCHA_DIG channel);

#endif

And for ExportFile.cpp
#include "stdafx.h"
#include "ExportFile.h"

DWORD Init(TCHA_DIG* channel)
{
   // No code fore simplify debug
   return 0;
}
//[idem for the others functions (with no code)]

Ther's no error and no linking problem when I compile this project
The application (which use this DLL) use the file MyProject.lib and ExportFile.h well (the settings are good).
The problem is as follows:
when I start the application (which use the DLL) a message box tell me
"The entry point for ?StartAcquisition@@YAXPAUTCHA_DIG@@@Z procedure was not found in the Dynamic Linking Library MyDLL.DLL"

But, the most strange is that all is OK on my OTHER PC...(the 2 PC work with win2k and VC++ 6.0)

Please help me... thanks in advance...

Hello World!!! Smile | :)
from Raphaël
GeneralRe: MFC extention DLL problem Pin
Anonymous24-Jul-02 0:53
Anonymous24-Jul-02 0:53 
GeneralRe: MFC extention DLL problem Pin
Raphael Kindt24-Jul-02 2:31
Raphael Kindt24-Jul-02 2:31 
GeneralRe: MFC extention DLL problem Pin
[CoY0te]24-Jul-02 1:17
[CoY0te]24-Jul-02 1:17 
GeneralRe: MFC extention DLL problem Pin
Raphael Kindt24-Jul-02 2:38
Raphael Kindt24-Jul-02 2:38 
GeneralRe: MFC extention DLL problem Pin
Dudi Avramov24-Jul-02 2:32
Dudi Avramov24-Jul-02 2:32 
GeneralRe: MFC extention DLL problem Pin
Raphael Kindt24-Jul-02 2:42
Raphael Kindt24-Jul-02 2:42 
Generalmaximum storage in int variables Pin
asif m@hmood23-Jul-02 23:33
asif m@hmood23-Jul-02 23:33 
GeneralRe: maximum storage in int variables Pin
Nish Nishant24-Jul-02 0:04
sitebuilderNish Nishant24-Jul-02 0:04 
GeneralRe: maximum storage in int variables Pin
Anonymous24-Jul-02 1:43
Anonymous24-Jul-02 1:43 
GeneralRe: maximum storage in int variables Pin
Nish Nishant24-Jul-02 2:03
sitebuilderNish Nishant24-Jul-02 2:03 
GeneralRe: maximum storage in int variables Pin
Tomasz Sowinski24-Jul-02 2:11
Tomasz Sowinski24-Jul-02 2:11 
GeneralRe: maximum storage in int variables Pin
Nish Nishant24-Jul-02 2:41
sitebuilderNish Nishant24-Jul-02 2:41 
GeneralRe: maximum storage in int variables Pin
Daniel Lohmann24-Jul-02 23:01
Daniel Lohmann24-Jul-02 23:01 
GeneralRe: maximum storage in int variables Pin
Nish Nishant24-Jul-02 23:29
sitebuilderNish Nishant24-Jul-02 23:29 
GeneralRe: maximum storage in int variables Pin
benjymous24-Jul-02 2:40
benjymous24-Jul-02 2:40 
GeneralRe: maximum storage in int variables Pin
KarstenK24-Jul-02 3:05
mveKarstenK24-Jul-02 3:05 
GeneralRe: maximum storage in int variables Pin
Bubba214624-Jul-02 3:18
Bubba214624-Jul-02 3:18 

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.