|
Can you modify WinMain to _tWinMain
int APIENTRY _tWinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow
)
{}
This happens because of UNICODE compilation...
Nibu thomas
Software Developer
|
|
|
|
|
Nibu thomas wrote: Which version of VS are you using...
it is in the title... VS7
|
|
|
|
|
tks for your help....it does work!!
Regards...
|
|
|
|
|
|
Tks for your suggestion, but the settings is already as you indicated. Is there any other solution you think might help.?
|
|
|
|
|
Did you make sure you included the appropriate files into your solution? You can get linker errors if you happen to forget to include the appropriate files (to your solution,) or if you forget to add the appropriate libraries to the properties tab in your project. Make sure those are correct since that has caused me some time in debugging.
BR
|
|
|
|
|
hi all
i m using visual studio.net for mfc applications. i had inserted the activex conroll named microst forms label 2.0. when i run the application it is not visible. i checked its visible and enable properties which r true.
i tried to insert other controlls those are visible but this particular activex controll is not visible it gives no error.
ddd
|
|
|
|
|
do you create it dynamically (at runtime) or with the resource dialog designer (placing custom control) ?
if doing at runtime, have you correctly called .Create() ?
|
|
|
|
|
Is this a dialog based application? verify that you have called AfxEnableControlContainer() in your application's InitInastance Method
see this article in MSDN "ActiveX Control Containers: Manually Enabling ActiveX Control Containment"
dont forget to include "#include <Afxdisp.h>"
hope this work
Azam
|
|
|
|
|
i'm not the one who asked the question
|
|
|
|
|
i had placed drag and drop controll(placing controll).
ddd
|
|
|
|
|
|
Is this a dialog based application? verify that you have called AfxEnableControlContainer() in your application's InitInastance Method
see this article in MSDN "ActiveX Control Containers: Manually Enabling ActiveX Control Containment"
dont forget to include "#include <Afxdisp.h>"
hope this work
Azam
|
|
|
|
|
that is called in the initinstace method. when i used other controll they aer display but specifimc microsft form control 2.0 is not displayed.
ddd
|
|
|
|
|
dear all,
as title, I tried to extract(get) icon from Dll or exe or ico,
then I put then on the window by DrawIco. It looked great.
but when I saved it to a icon file(c:\temp\xxx.ico).
It looked very worse --> blurred and ugly.
Experts, please help me , thank you very much.
Best Regard.
Bill
|
|
|
|
|
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcsample98/html/vcsmpiconpro.asp
maybe it is some helpful to you
|
|
|
|
|
Dear WhiteSky,
Thank you for your help. I used the sample program to extract Icon from Dll or exe, that's great!! Now I am tracking the source code.
B.R
Bill Lin
|
|
|
|
|
I glad that you find your answer
Have a nice day
|
|
|
|
|
|
Dear WhiteSky,
I can't thank you enough. I had used SHGetFileInfo before, but I didn't try more... . Now I know the structure of Icon by your first response and how to use windows API to get more informations from a file by this response.
B.R
Bill Lin
|
|
|
|
|
F:\Installation\VC98\INCLUDE\vector(17) : error C2143: syntax error : missing ';' before 'namespace'
i get this error message but i already checked my syntax and it is correct. what should i do to correct this error?
|
|
|
|
|
What's the line that's causing the error.
Nibu thomas
Software Developer
|
|
|
|
|
thats the only error message i recieve.
|
|
|
|
|
What I meant was paste the piece code that cause the error so that we can take a look...
Have you included vector.h
Nibu thomas
Software Developer
|
|
|
|
|
this is the file on the include folder of MSVC++(VECTOR)
#ifdef _MSC_VER
#pragma pack(push,8)
#endif /* _MSC_VER */
_STD_BEGIN <-- this is shown by the error but i believe this is not the real error
// TEMPLATE CLASS vector
template<class _ty,="" class="" _a="allocator<_Ty"> >
class vector {
i also included the header file on my source code.
|
|
|
|