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

C / C++ / MFC

 
GeneralRe: Winsock Problem/Question Pin
pshopaddict29-Nov-04 5:21
susspshopaddict29-Nov-04 5:21 
Questionhow to run .exe with .dll Pin
Member 154670927-Nov-04 6:58
Member 154670927-Nov-04 6:58 
AnswerRe: how to run .exe with .dll Pin
gamitech27-Nov-04 11:02
gamitech27-Nov-04 11:02 
QuestionMDI VC++, How to pass parameters to view? Pin
wwwrabbit127-Nov-04 6:08
susswwwrabbit127-Nov-04 6:08 
AnswerRe: MDI VC++, How to pass parameters to view? Pin
John R. Shaw27-Nov-04 6:55
John R. Shaw27-Nov-04 6:55 
GeneralRe: MDI VC++, How to pass parameters to view? Pin
david_gilmour27-Nov-04 13:05
david_gilmour27-Nov-04 13:05 
GeneralRe: MDI VC++, How to pass parameters to view? Pin
John R. Shaw27-Nov-04 16:53
John R. Shaw27-Nov-04 16:53 
QuestionHow can a DLL execute a function of the main app? Pin
Dominik Reichl27-Nov-04 5:22
Dominik Reichl27-Nov-04 5:22 
Hello!

I'm currently writing some application, that contains a class A. It loads a DLL and passes a pointer to A to the DLL. The DLL includes the header file of A.

Anyway, when I try to compile this, I get LNK2001: unresolved external symbol errors for all A class function calls...

When I include all *.obj files as library files in the DLL settings, it compiles. But it doesn't really execute the actual functions of the main application then, it just compiles the whole code again into the DLL. It shouldn't do this, it should just call the real functions of the main application.

What must I do that the DLL can execute the functions of A?

Thanks and best regards,
Dominik



_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? Wink | ;)
(doesn't work on NT)

AnswerRe: How can a DLL execute a function of the main app? Pin
peterchen27-Nov-04 5:47
peterchen27-Nov-04 5:47 
General? Re: How can a DLL execute a function of the main app? ? Pin
Dominik Reichl27-Nov-04 5:56
Dominik Reichl27-Nov-04 5:56 
GeneralRe: ? Re: How can a DLL execute a function of the main app? ? Pin
John R. Shaw27-Nov-04 19:04
John R. Shaw27-Nov-04 19:04 
General? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
Dominik Reichl27-Nov-04 23:00
Dominik Reichl27-Nov-04 23:00 
GeneralRe: ? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
Neville Franks28-Nov-04 0:43
Neville Franks28-Nov-04 0:43 
GeneralRe: ? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
Dominik Reichl28-Nov-04 1:50
Dominik Reichl28-Nov-04 1:50 
GeneralRe: ? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
John R. Shaw28-Nov-04 8:08
John R. Shaw28-Nov-04 8:08 
GeneralRe: ? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
Neville Franks28-Nov-04 11:16
Neville Franks28-Nov-04 11:16 
GeneralRe: ? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
John R. Shaw28-Nov-04 11:35
John R. Shaw28-Nov-04 11:35 
GeneralRe: ? Re: ? Re: How can a DLL execute a function of the main app? ? ? Pin
Neville Franks28-Nov-04 11:17
Neville Franks28-Nov-04 11:17 
AnswerRe: How can a DLL execute a function of the main app? Pin
Nick Nougat29-Nov-04 5:52
Nick Nougat29-Nov-04 5:52 
GeneralAvoid compile entire proyect Pin
Juan Ignacio Garzón27-Nov-04 5:14
Juan Ignacio Garzón27-Nov-04 5:14 
GeneralRe: Avoid compile entire proyect Pin
John R. Shaw27-Nov-04 5:55
John R. Shaw27-Nov-04 5:55 
GeneralRe: Avoid compile entire proyect Pin
Michael Dunn27-Nov-04 8:26
sitebuilderMichael Dunn27-Nov-04 8:26 
GeneralRe: Avoid compile entire proyect Pin
Juan Ignacio Garzón27-Nov-04 8:54
Juan Ignacio Garzón27-Nov-04 8:54 
GeneralReturning an array from a function Pin
aaadetos27-Nov-04 2:21
aaadetos27-Nov-04 2:21 
GeneralRe: Returning an array from a function Pin
Kevin McFarlane27-Nov-04 2:31
Kevin McFarlane27-Nov-04 2:31 

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.