Click here to Skip to main content
15,915,733 members
Home / Discussions / COM
   

COM

 
QuestionHow to call a C# com component from VC++ Pin
meesho8-Dec-05 10:34
meesho8-Dec-05 10:34 
AnswerRe: How to call a C# com component from VC++ Pin
Lim Bio Liong8-Dec-05 18:49
Lim Bio Liong8-Dec-05 18:49 
Questionhow to drag and drop xml element from treeview to web browser control Pin
fadi moon8-Dec-05 1:02
fadi moon8-Dec-05 1:02 
QuestionE-Book for ActiveX Programming Pin
Rajkamal_dfine6-Dec-05 18:08
Rajkamal_dfine6-Dec-05 18:08 
AnswerRe: E-Book for ActiveX Programming Pin
Amol Ravatale7-Dec-05 0:20
Amol Ravatale7-Dec-05 0:20 
QuestionLPSTR and LPBYTE passing to a dll Pin
Paul_5916-Dec-05 6:33
Paul_5916-Dec-05 6:33 
AnswerRe: LPSTR and LPBYTE passing to a dll Pin
JonEngle6-Dec-05 7:05
JonEngle6-Dec-05 7:05 
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
Paul_5916-Dec-05 8:40
Paul_5916-Dec-05 8:40 
Thanks for that! I couldnt find that information anywhere on the web!

The code snippet is below. It is VERY rough as I am hacking around to get a solution. Smile | :)

int main()
{

BOOL procReturn = 0;
HINSTANCE dllHandle = NULL;
KWP_COMPUTEKEYFROMSEED pSeedAndKeyFunc = NULL;

dllHandle = LoadLibrary("seed_inv.dll");
if (!dllHandle)
{
cout<< "Failed to Load dll" << endl;
}
else
{
cout<< "DLL loaded OK" << endl;
}

if (dllHandle)
pSeedAndKeyFunc = (KWP_COMPUTEKEYFROMSEED) GetProcAddress(dllHandle, "seed2key");

if (!pSeedAndKeyFunc)
{
cout<< "ProcAddress Failed"<
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
JonEngle6-Dec-05 9:12
JonEngle6-Dec-05 9:12 
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
Paul_5916-Dec-05 9:50
Paul_5916-Dec-05 9:50 
GeneralRe: LPSTR and LPBYTE passing to a dll Pin
JonEngle6-Dec-05 10:27
JonEngle6-Dec-05 10:27 
QuestionDLLHost.exe Terminates on Windows Server 2003 Pin
Gupta Suraj5-Dec-05 19:15
Gupta Suraj5-Dec-05 19:15 
QuestionHow &quot;DCOM server process launcher&quot; works? Pin
Chintoo7235-Dec-05 17:30
Chintoo7235-Dec-05 17:30 
AnswerRe: How &amp;quot;DCOM server process launcher&amp;quot; works? Pin
Chintoo7235-Dec-05 17:44
Chintoo7235-Dec-05 17:44 
QuestionOut-of-process COM in C# Pin
london_ste2-Dec-05 4:57
london_ste2-Dec-05 4:57 
AnswerRe: Out-of-process COM in C# Pin
Lim Bio Liong5-Dec-05 13:13
Lim Bio Liong5-Dec-05 13:13 
GeneralRe: Out-of-process COM in C# Pin
london_ste8-Dec-05 6:17
london_ste8-Dec-05 6:17 
GeneralRe: Out-of-process COM in C# Pin
Lim Bio Liong8-Dec-05 16:03
Lim Bio Liong8-Dec-05 16:03 
Questionwhy to put extern C before const IID? Pin
Lane Yu1-Dec-05 23:32
Lane Yu1-Dec-05 23:32 
AnswerRe: why to put extern C before const IID? Pin
Marco M.6-Dec-05 8:33
Marco M.6-Dec-05 8:33 
Questionis it possible to Call web-service from COM component? Pin
Amol Ravatale29-Nov-05 18:34
Amol Ravatale29-Nov-05 18:34 
AnswerRe: is it possible to Call web-service from COM component? Pin
Lim Bio Liong29-Nov-05 19:06
Lim Bio Liong29-Nov-05 19:06 
GeneralServiced Component, Excel and OleDbConnection.Open Pin
Turtle Hand28-Nov-05 9:45
Turtle Hand28-Nov-05 9:45 
GeneralRe: Serviced Component, Excel and OleDbConnection.Open Pin
Turtle Hand1-Dec-05 4:14
Turtle Hand1-Dec-05 4:14 
QuestionEvent sink in MFC-program - Thread problem? Pin
-Tom-26-Nov-05 4:25
-Tom-26-Nov-05 4:25 

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.