|
|
This seems like a Terminal Services solution, rather than a general-purpose one. Yes?
"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli
|
|
|
|
|
Windows XP actually uses a dumbed down version of Terminal Services (for fast user switching / remote desktop, etc), I just tried it to double check myself and it does work.
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
|
Hi Gavin
Thaknx a lot for u'r kind support.
But this works in Windows Server 2003 and Windows VISTA only.
I need solution for Windows 2000 Professional. Is there any such another functions or something like that?
Mahesh
|
|
|
|
|
Hi,
I am using a tool bar in a dialog box, the problem is that it doesn't have the same look and feel (flat buttons which embose on mouse over) as the toolbars normally have in SDI or MDI application. It Seems that i have placed number of small buttons side by side
Is there any way to make the look & feel of toolbar in Dialog Box same as in SDI or MDI?
I am thinking in the direction of making my tool bar owner drawn but dontt know how to do it. please help me
thanks
Muhammad Azam
|
|
|
|
|
Set this style TBSTYLE_FLAT .
Owner drawn
Jesus Loves
|
|
|
|
|
Using win32 api i have open a word document.In that when u click open to open a document it should open the document only from specified directory.It can be possible or not tell me or tell me some alternate option.
|
|
|
|
|
sundar_mca wrote: In that when u click open to open a document it should open the document only from specified directory.
What exactly are you wanting here?
"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli
|
|
|
|
|
template <<typename MYTYPE>> class CClassBase{<br />
...<br />
void Function();<br />
...<br />
};<br />
<br />
class CClassDouble: public CClassBase<<double>>{<br />
...<br />
};
Somewhere, in ANOTHER project file:
CClassDouble x;<br />
x.Function();
this give a link error:
CClassBase<<double>>::Function not find
But if I use the same lines in the same file of the classes declaretion everything works well!
what's wrong??
NOTE read the double << and >> as a single sign (else problems with html code in this forum)
Have a nice code day
|
|
|
|
|
You have to define function in the class definition, not just declare it. i.e.
template <<typename MYTYPE>> class CClassBase{<br />
...<br />
void Function()<br />
{<br />
}<br />
...<br />
};
On compiles that support the export keyword you can't avoid this. Not many do - None of the MSVC compilers do.
Steve
|
|
|
|
|
What a stupid (stupid, stupid, stupid, stupid , stupid ...) bug!!!
Now it works,
thank you
you got a 5!
Have a nice code day
|
|
|
|
|
|
_Russell_ wrote: NOTE read the double << and >> as a single sign (else problems with html code in this forum)
Why not use the < and > symbols located right above the smileys?
"The greatest good you can do for another is not just to share your riches but to reveal to him his own." - Benjamin Disraeli
|
|
|
|
|
Sorry,
I see they only now!
thank you
Have a nice code day
|
|
|
|
|
I was thinking of using the "<<" from now on - I find it a pain to use the mouse to get those symbols. Tabs are also a pain.
Steve
|
|
|
|
|
html < > are still available.
otherwise, uncheck the "Ignore HTML tags in this message" box at the bottom of the text area...
and don't forget to write your code snippets into <pre></pre> tags to let us see the indentations...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
How to add bitmaps to my submenu?
plz answer me
Royal
|
|
|
|
|
If you mean a menu control, then just right click on it in the designer and choose "Add Image".
From here you can add all the standard image formats ie PNG JPG GIF and BMP
|
|
|
|
|
I'm trying to port a VC++ 6 application yo VC++ 2005.
When I try to compile a file with the statement '#import "msxml.dll" named_guids' I get a whole bunch of errors. I can't figure out what's wrong.
List of erors:
Error 1 error C2144: syntax error : 'IXMLDOMImplementation' should be preceded by ';' c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h 39
Error 2 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\program files\microsoft visual studio 8\vc\platformsdk\include\msxml.h 39
Error 5 error C2146: syntax error : missing ';' before identifier 'responseXML' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 254
Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 254
Error 7 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 254
Error 8 error C2146: syntax error : missing ';' before identifier 'onreadystatechange' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 264
Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 264
Error 10 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 264
Error 11 error C2146: syntax error : missing ';' before identifier 'GetresponseXML' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 287
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 287
Error 13 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 287
Error 15 error C2146: syntax error : missing ';' before identifier '_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 352
Error 16 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 352
Error 17 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 352
Error 18 error C2146: syntax error : missing ';' before identifier 'Get_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 361
Error 19 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 361
Error 20 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 361
Error 22 error C2146: syntax error : missing ';' before identifier 'item' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 362
Error 23 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 362
Error 24 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 364
Error 26 error C2146: syntax error : missing ';' before identifier '_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1018
Error 27 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1018
Error 28 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1018
Error 29 error C2146: syntax error : missing ';' before identifier 'Get_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1029
Error 30 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1029
Error 31 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1029
Error 33 error C2146: syntax error : missing ';' before identifier '_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1059
Error 34 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1059
Error 35 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1059
Error 36 error C2146: syntax error : missing ';' before identifier 'Get_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1082
Error 37 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1082
Error 38 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tlh 1082
Error 40 error C2143: syntax error : missing ';' before 'MSXML::IXMLHttpRequest::GetresponseXML' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 146
Error 41 error C2433: 'IDispatchPtr' : 'inline' not permitted on data declarations c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 146
Error 42 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 146
Error 43 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 146
Error 44 error C2064: term does not evaluate to a function taking 2 arguments c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 150
Error 45 error C2143: syntax error : missing ';' before 'MSXML::IXMLElementCollection::Get_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 204
Error 46 error C2433: 'IUnknownPtr' : 'inline' not permitted on data declarations c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 204
Error 47 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 204
Error 48 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 204
Error 49 error C2064: term does not evaluate to a function taking 2 arguments c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 208
Error 50 error C2143: syntax error : missing ';' before 'MSXML::IXMLElementCollection::item' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 211
Error 51 error C2433: 'IDispatchPtr' : 'inline' not permitted on data declarations c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 211
Error 52 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 211
Error 53 error C2086: 'int MSXML::IDispatchPtr' : redefinition c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 211
Error 54 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 211
Error 55 error C2064: term does not evaluate to a function taking 2 arguments c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 215
Error 56 error C2143: syntax error : missing ';' before 'MSXML::IXMLDOMNodeList::Get_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 904
Error 57 error C2433: 'IUnknownPtr' : 'inline' not permitted on data declarations c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 904
Error 58 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 904
Error 59 error C2086: 'int MSXML::IUnknownPtr' : redefinition c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 904
Error 60 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 904
Error 61 error C2064: term does not evaluate to a function taking 2 arguments c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 908
Error 62 error C2143: syntax error : missing ';' before 'MSXML::IXMLDOMNamedNodeMap::Get_newEnum' c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 977
Error 63 error C2433: 'IUnknownPtr' : 'inline' not permitted on data declarations c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 977
Error 64 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 977
Error 65 error C2086: 'int MSXML::IUnknownPtr' : redefinition c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 977
Error 66 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 977
Error 67 error C2064: term does not evaluate to a function taking 2 arguments c:\source\cpp\doculive\opus\opus 5.3\doculive extensions\dleprclientmodule\debug\msxml.tli 981
I also committed the crime of posting a programming question in the Lounge.
|
|
|
|
|
you need to precide each defination with MSXML2::
like say
MSXML2::IXMLDOMNodePtr pNode;
instead of
IXMLDOMNodePtr pNode;
-Prakash
|
|
|
|
|
The error is not found in my code but rather in the generated files msxml.h, msxml.tlh and msxml.tli . Nonetheless I tried your solution but as i suspected it didn't wield a significantly differentresult.
I also committed the crime of posting a programming question in the Lounge.
|
|
|
|
|
how to check a remote machine port. any command ?
|
|
|
|
|
Whic port are you refering too..
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
i refer port no 53. but it may be anything. Now it is 53
|
|
|
|