|
I got the solution.I had given parameters in get() of baseLinux whereas it
doesn't take any parameter in Ibase.
|
|
|
|
|
This is working fine in linux as well
But, Did you define the function "baseLinux::bool get()" anywhere?
as below:
class baseLinux : public Abase
{
public:
virtual bool get(){}
}
-----
laksh
|
|
|
|
|
when i click on resource file it displays the error such as cant open the file .the unknown language occured.why?how to solve
|
|
|
|
|
Do you have this error on all your programs?
|
|
|
|
|
|
|
Of course I had this error for all my projects I dont know it works for you or no but after I run this line it solved(please see MSDN before execute this line ).
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe/resetskippkgs"
|
|
|
|
|
Hi
Is there any way to understand a running application is calling a function, method or sub? In other words I want to communicate with other running proccesses.
For example I want to know when Notepad.exe is calling the Open function.
Thanks.
|
|
|
|
|
|
Hi all,
I m using a Access database and here i m using Datetimectrl type datatype.
in application for date i m using CDateTimeCtrl and COleDateTime.
i have two date limits like from 20,Aug,2008 to 29,Aug 2008.
i want to reterive data from database with in the date limits.
Please tell me how can i compare the data from date limits.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
"_$h@nky_" wrote: i want to reterive data from database with in the date limits.
Please tell me how can i compare the data from date limits.
Try this![^]
Nibu babu thomas
Microsoft MVP for VC++
Code must be written to be read, not by the compiler, but by another human being.
Programming Blog: http://nibuthomas.wordpress.com
|
|
|
|
|
"_$h@nky_" wrote: i want to reterive data from database with in the date limits.
So are you wanting to know how to put the SQL statement together?
"Love people and use things, not love things and use people." - Unknown
"The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch
|
|
|
|
|
Hi all,
i have made a dll in C# in which i have enabled COM settings. In its debug folder i am getting a .dll file and a .tlb file. Now, what i want is i want to use this dll in my vc6 application.
i have written this line of code in my stdafx.h file
#import ".\Debug\QuoteQuad.tlb" raw_interfaces_only
now what i wanted to know is how could i get its uuid
(__uuidof(My_managed_class_uuid_goes_here))
can anybody help me in this
thanks in advance
|
|
|
|
|
Add the named_guids attribute to your #import statement.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
i have added it
But still I am not getting how to do it???
can anybody provide me with a link or code....
Thanks in advance
|
|
|
|
|
VCProgrammer wrote: But still I am not getting how to do it???
Well, other than the things you've already written there's not much to "get".
What doesn't work?
Does it compile and if it doesn't; what error messages do you get?
What does your #import statement look like exactly?
What does your statement that uses __uuidof() look like exactly?
Tip: the imported typelib will get a namespace of its own so you have to prefix the CLSID with the namespace unless you've written something like using namespace MyTypeLib; .
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
HRESULT hr;
IShellLink* pISL;
hr = CoCreateInstance("<what to="" specify="" here="">",
NULL,
CLSCTX_INPROC_SERVER,
"and here",
(void**) &pISL );
if ( SUCCEEDED ( hr ) )
{
}
else
{
}
</what>
my project name is
namespace QuoteQuad
interface _Demo
|
|
|
|
|
VCProgrammer wrote:
HRESULT hr;
IShellLink* pISL;
hr = CoCreateInstance( "",
NULL,
CLSCTX_INPROC_SERVER,
"and here",
(void**) &pISL );
......
my project name is
namespace QuoteQuad
interface _Demo
I'm making a qualified guess regarding the name of the GUID for the server, but based on the above I think that the call should look like this:
HRESULT hr;
QuoteQuad::_Demo* pDemo;
hr = CoCreateInstance( __uuidof( QuoteQuad::CLSID_QuoteQuad ),
NULL,
CLSCTX_INPROC_SERVER,
__uuidof( QuoteQuad::_Demo ),
(void**) &pDemo );
I don't understand why you're using IShellLink when you say that the interface you're trying to use is _Demo .
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
C:\Users\Neha\Desktop\project29_08\project29_08Dlg.cpp(178) : error C2039: 'CLSID_QuoteQuad' : is not a member of 'QuoteQuad'
C:\Users\Neha\Desktop\project29_08\project29_08Dlg.cpp(178) : error C2065: 'CLSID_QuoteQuad' : undeclared identifier
C:\Users\Neha\Desktop\project29_08\project29_08Dlg.cpp(182) : error C2144: syntax error : missing ')' before type 'void'
C:\Users\Neha\Desktop\project29_08\project29_08Dlg.cpp(182) : error C2064: term does not evaluate to a function
C:\Users\Neha\Desktop\project29_08\project29_08Dlg.cpp(182) : error C2059: syntax error : ')'
|
|
|
|
|
As I said: I'm making a qualified guess about the name of the CLSID for the server you're trying to create. Apparently I guessed wrong.
In your target directory you have a *.tlh file that is generated by the preprocessor from the typelib you imported that should be named QuoteQuad.tlh.
Open it! You'll find the correct names for the GUIDs there.
Even the IntelliSense should provide you with the members of the namespace after you've typed the name of the namespace followed by the scope operator, e.g QuoteQuad::
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hi all
I have found clipboard exe in WindowsXp from windows System32 directory.But i havn't found in Vista.So can any one tell me how can i fiend clipboard exe in vista..
|
|
|
|
|
Its clipbrd.exe in vista.
Sorry pals, the utility is removed from vista. See the link - http://www.winvistaclub.com/t72.html[^]. At home I'm using vista and in office its XP box and i thought I'm at home.
Really sorry for the inconvenience caused.
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
modified on Friday, August 29, 2008 3:11 AM
|
|
|
|
|
Jijo raj wrote: Its clipbrd.exe in vista.
I thought it was the same in all previous versions of Windows.
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|
|
i know that but when i am going to start then message show No items match your search..
plz help me
|
|
|
|
|
MsmVc wrote: i know that but when i am going to start then message show No items match your search..
I'd be shocked if start menu search indexed the system32 folder. Have you tried to "Run" what Jijo suggested you?
Many are stubborn in pursuit of the path they have chosen, few in pursuit of the goal - Friedrich Nietzsche
.·´¯`·->Rajesh<-·´¯`·.
[Microsoft MVP - Visual C++]
|
|
|
|