English 中文(简体)
DLLL和请父母陪伴的儿童
原标题:Loading DLL and child dll calling parent class

我有一艘装满儿童ll的活性X型炮(NPAPI plugin)。 我的幼童假造了多种透镜,他们需要回到网页上。 在我的“积极X”(双壳)中,我有线索,要用javascript来提供最新情况。 我面临的问题是,我不知道孩子怎么可以叫DLL。

What I have tried: 1: Passing a function pointer to the child dll of a function that is not within the class and used a global variable that is a pointer to the ActiveX class (this), but the connection point fails when Invoke with E_UNEXPECTED

2. 收养子女是我的班级职务的协调人,结果相同。

Im still learning C++ and COM at the same time, sorry for my ignorance. Thank you.

最佳回答

合作委员会有办法确定事情,以便你能够从其他渠道调取通信方法,但这样做的最容易的途径是让所有电话都回到主线上的积极控制。 这样做的一个途径是建立一个信息窗口,并向它发出一个窗口信息,而区域局是包含发出这一呼吁所需参数的数据结构的联络点;你创建结构并填满,然后张贴信息,并在世界信息网络电话发出呼吁后释放记忆。

消防局采用这种办法,其效果很好。 说到底,你们是否考虑执行你作为FireBreath plugin,使之在活跃的x和Npapi同时工作?

这里有一些编码样本可能有助于:

  • WinMessageWindow (.cpp, .h) - this is a class FireBreath uses for creating message windows; pay particular attention to the DefaultWinProc which is used as part of an async (often cross thread) function call
  • NpapiBrowserHostAsyncWin (.cpp, .h) - this is a class used on some browsers for the npapi plugin to work around NPN_PluginThreadAsyncCall not working. It utilizes WinMessageWindow to make cross thread calls in _scheduleAsyncCall

帮助的希望

问题回答

暂无回答




相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签