Click here to Skip to main content
15,885,951 members
Home / Discussions / COM
   

COM

 
GeneralRe: The interface contract Pin
Andrew McGrath23-Oct-01 21:09
Andrew McGrath23-Oct-01 21:09 
GeneralRe: The interface contract Pin
In-At23-Oct-01 23:59
In-At23-Oct-01 23:59 
Questionhow to pass USER_LOGON variable to ActiveX developed in VC++? Pin
Bartek27-Sep-01 0:26
Bartek27-Sep-01 0:26 
QuestionThe initial size in the resurce editor? Pin
George26-Sep-01 21:19
George26-Sep-01 21:19 
Questionhow to transfer Interface Pointer? Pin
maya26-Sep-01 16:05
maya26-Sep-01 16:05 
GeneralNewbie, please help Pin
Rob Brown26-Sep-01 9:25
Rob Brown26-Sep-01 9:25 
GeneralRe: Newbie, please help Pin
Daniel Turini29-Sep-01 3:30
Daniel Turini29-Sep-01 3:30 
GeneralExport function Pin
Jose Fco Bonnin26-Sep-01 4:47
Jose Fco Bonnin26-Sep-01 4:47 
I've created an ATL COM - dll - MFC Supported with the AppWizard and I added a function that return a CString.

Now I want access to this function from another application to do it I type the next code.

In the ATL COM
...
__declspec(dllexport) CString GetEncodedText(CString p_sPlainText);
...

In the other application
...
hDLL = AfxLoadLibrary("BabMD5.dll");
if (hDLL != NULL) {
typedef CString (CALLBACK *ENCODETEXT)(CString);
ENCODETEXT p_encodeText = (ENCODETEXT)GetProcAddress( hDLL, _T("GetEncodedText"));

if ( p_encodeText != NULL) { // -> NEVER GET HERE
strEncoded = (*p_encodeText)( strPlain );
}

AfxFreeLibrary( hDLL);
}
...

Anybody knows what's happen? Why I can't get the function?

Thanks in advance
GeneralRe: Export function Pin
Not Active26-Sep-01 5:22
mentorNot Active26-Sep-01 5:22 
GeneralDCOM access denied Pin
Ali Issa25-Sep-01 1:16
Ali Issa25-Sep-01 1:16 
GeneralRe: DCOM access denied Pin
maya26-Sep-01 15:56
maya26-Sep-01 15:56 
GeneralRe: DCOM access denied Pin
Shadi Al-Kahwaji2-Oct-01 22:23
Shadi Al-Kahwaji2-Oct-01 22:23 
GeneralRe: DCOM access denied Pin
Shadi Al-Kahwaji8-Oct-01 0:33
Shadi Al-Kahwaji8-Oct-01 0:33 
Generalcomparioson of VB COM and ATL COM Pin
Ganesh Ramaswamy24-Sep-01 6:39
Ganesh Ramaswamy24-Sep-01 6:39 
GeneralRe: comparioson of VB COM and ATL COM Pin
Daniel Turini24-Sep-01 6:43
Daniel Turini24-Sep-01 6:43 
GeneralRe: comparioson of VB COM and ATL COM Pin
Amit Dey25-Sep-01 18:21
Amit Dey25-Sep-01 18:21 
GeneralRe: comparioson of VB COM and ATL COM Pin
David Salter27-Sep-01 11:11
David Salter27-Sep-01 11:11 
GeneralUnable to synchronize the data from SQL Server CE Pin
24-Sep-01 0:07
suss24-Sep-01 0:07 
Generalretrun BSTR Pin
Eran22-Sep-01 3:25
Eran22-Sep-01 3:25 
GeneralRe: retrun BSTR Pin
Aaron Schaefer24-Sep-01 5:49
Aaron Schaefer24-Sep-01 5:49 
GeneralRe: retrun BSTR Pin
Michael Dunn24-Sep-01 14:55
sitebuilderMichael Dunn24-Sep-01 14:55 
GeneralCOMAddin for Word2000 and Excel2000 Pin
Sree Ram21-Sep-01 8:55
Sree Ram21-Sep-01 8:55 
GeneralMFC CFtpFileFind CFtpConnection and timeout Pin
Amit Dey21-Sep-01 6:07
Amit Dey21-Sep-01 6:07 
GeneralRe: MFC CFtpFileFind CFtpConnection and timeout Pin
Carlos Antollini21-Sep-01 6:44
Carlos Antollini21-Sep-01 6:44 
GeneralAdvanced problem -- DCOM remoting in VB without configuration of DCOMCNFG Pin
21-Sep-01 4:50
suss21-Sep-01 4:50 

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.