|
Vinod CS wrote: Is the function rule applies to variable name also?
Yes.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi folks,
I've built an ActiveX control successfully, can view it in OleView, it's working fine.
I'd like to embed it in an HTML web page. Obviously, users that don't have this installed will need to run my MSI installer program that registers the ActiveX control, writes some things to the registry, etc. How do I tell the web page to use my MSI installer if the user doesn't have the ActiveX control already installed?
|
|
|
|
|
I have a dll written in C++ running in a Linux machine. Now i want to move that dll to a Windows system and use it with a Windows application.
How can i do that?
Can you please tell what all are the performance issues i face?
What all are the dependencies?
Thanks in advance
|
|
|
|
|
- The source code needs to be made compatible across the platforms and compilers used on Linux and Windows (Boost & STL are usefull in this case and versions of it are available for Win/Linux compiler environments)
- Platform specific APIs need to be conditionally compiled (to retain the same code base across environments) or replaced
- On Windows you'll need to write some DLL module code (DllMain mostly) and expose your codes functions as DLL exports (decorate a function with __declspec(export) or use the .DEF file method)
- Compile the code and link as a DLL (library)
- "I'm not lying, I'm just writing fiction with my mouth"Phil Harding. myBlog [^] | mySite [^]
|
|
|
|
|
please help me to get the code of Ant on a Chessboard .....
|
|
|
|
|
|
|
Hai all,
Do anyone know , how to pass a C++ class from a VC++ Client to a COM EXE Server, through VARIANT.
Thanks,
George.
|
|
|
|
|
see here [^]
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi all!
I want to know how to write a method of interface like SORT that is able to sort
any kind of data(float,long,string) passes to it from VB,VC++ client.
Thanks in Advance.
Viral Joshi.
|
|
|
|
|
A COM server accepts typed data. So, in principle you have to do some workaround to obtain generality.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi!
Thanks for the reply.
But i am not clear with the solution any related material or example will
help me better.
Thanks,
Viral Joshi.
|
|
|
|
|
I am using following code
COSERVERINFO serverinfo;<br />
COSERVERINFO* pServerInfo = new COSERVERINFO;;<br />
COAUTHINFO* pCOMAuthInfo = new COAUTHINFO;<br />
<br />
serverinfo.dwReserved1 = 0;<br />
serverinfo.dwReserved2 = 0;<br />
serverinfo.pwszName = m_strServerAddress.AllocSysString();<br />
pCOMAuthInfo->dwAuthnLevel = RPC_C_AUTHN_LEVEL_NONE;<br />
serverinfo.pAuthInfo= pCOMAuthInfo;<br />
<br />
if (m_strServerAddress.IsEmpty())<br />
pServerInfo = NULL;<br />
else<br />
pServerInfo = &serverinfo;<br />
<br />
MULTI_QI qi = {&IID_ICRSObj, NULL, 0};<br />
<br />
hr = CoCreateInstanceEx(CLSID_CCRSObj,NULL, CLSCTX_ALL, <br />
pServerInfo, 1, &qi);
but when i call CoCreateInstanceEx i get the error : hr 0x800703e6 Invalid access to memory location.
Regards,
Mushq
|
|
|
|
|
Hi all!
I want to pass the object(say studentobj having members:id,name,sub1mark,sub2mark)from VB client to the method of interface.
requirements:
1) I want that the passed object's should be stored in COM servers student class (a class added in the com server) other than the interface class.
2) COM Server is having a method in interface that returns the student object that has got the 1st rank among the other student.
All I want to know is only how to pass and return objects to and from COM Servers.
Thanks in Advance.
Viral Joshi.
|
|
|
|
|
Have a look at this[^] article. It states how to use such struct in COM objects.
Prasad
MS MVP - VC++
|
|
|
|
|
Hi!
Prasad_som thanks very much for the support.
I'll see the details of this article and will definately revert back to you.
And it is sure that i am going to take your help whenever there are problems in the road
of COM & ActiveX In ATL.
Once again very much thanks for the cooperation.
Viral Joshi
|
|
|
|
|
Hi I created an ASP.NET application in VS 2005, IIS 5.1 (which would login to a site like gmail.com after taking the user & password details), using vb.I am using interop.shdocvw.dll to invoke the internet explorer through which i am navigating the elements of the html document and passing the values(User Name And Password). When I run this URL in the windows 2003 server machine (local host where application is installed) it works fine ,but when i am trying to access the same url from other client machines ,it is promting me to enter username & password for the windows 2003 server.
How do I bypass the user / password validation for windows 2003.
arumugam_mr
|
|
|
|
|
Hi,
I m new to COM/DCOM world. May any one plz tell me that is it possible to share data/information of a DLL Surrogate between multiple clients. Any
Thanks,
Touseef Afzal
"I only fail when i give up "
|
|
|
|
|
hi I created an application about (login to rediffmail), in VS.NET 2005 using vb.net.
I am using interop.shdocvw.dll to invoke the internet explorer through that i am navigating the elements of the html document and passing the values .when I installing the software in the windows 2003 server machine it works fine ,but when i am trying to access the same webpage from some other machines ,it is promting me to enter username & password.
arumugam_mr
|
|
|
|
|
I have one Coclass named CXNode which is implementing methods of interface IXNode. I want IXElement to be derived from IXNode as I want methods of IXNode. In IXElement I have two extra methods GetAttribute and SetAttribute. I don't want to rewrite methods which are already written in CXNode.
Thanks in advance!!!
|
|
|
|
|
sandeepkavade wrote: I don't want to rewrite methods which are already written in CXNode
Hence derive from CXNode.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
But in COM you can't derive a coclass from another coclass.
|
|
|
|
|
You don't need that. You have just to derive the implementation from the C++ class (or make the CoClasses both inherit from the same C++ class, Oh yes, multiple inheritance, ATL docet).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
Hi All, I registered qtobjectmodel.dll whicj I am using in my project
# import <c:\qtobjectmodel.dll>
but when i am executing the code
it is giving fatal error
fatal error C1083:Cannot open source file:'.\BSTester_p.c':No such file or directory
fatal error C1083:Cannot open source file:'.\BSTester_i.c':No such file or directory
Can this be due to admin rights
As I don't have them on my pc
for registering the dll "regsvr32 C:\QTObjectModel.dll"-my network admin person do that.
So please guide me ,can this be due to admin rights or due to some other problem
I am using visual studio 2003
Thanks in advance
Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
|
|
|
|
|
Hai all,
Do anyone know , how to pass a user define structure from a VC++ Client to a COM Server, through VARIANT.
Thanks,
George.
|
|
|
|