|
was looking for something whtin the CWinThread Class I guess I'll have to stick to WIN32 SDK
seems like the real low level Api's Dont have Objects to suppourt them
|
|
|
|
|
You'd have to code the remote thread using SDK code anyway... So it's not a harsh restriction creating it using SDK code.
Good luck,
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
Hi,
I have a lot of MFC programming experience (mostly used with Stingray Objective Studio extensions), but I don't have any web programming experience. I'd like to start getting up to speed. Can anyone recommend a couple of good books on how to best use my existing experience to develop web apps?
Ideally I'd like to learn how to set up a container in a web browser that has multiple controls (buttons etc) that would be used to manage a canvas where I could do some custom drawing (e.g. CDC-style). What technologies would best support something like that?
Thanks,
Kevin
|
|
|
|
|
PHP should be easy for u.
|
|
|
|
|
Hi
I have a component I would like to embedd in my dialog form, to do this I have to set its "SetParent(int)" with hwnd. Is it possible to convert Hwnd to integer, or must I go around this problem ??
|
|
|
|
|
Define the context of SetParent: which function is this ? Because the win32 SetParent accepts the HWND of the windows. And the CWnd::SetParent function accepts a pointer to another CWnd object.
|
|
|
|
|
Thanks for you reply,
The component is a commercial framgrabber, and has it´s own SetParent function. I have tried to set the components SetParent to hwnd, but then Visual Studio complains (cannot convert parameter 1 from 'HWND' to 'int').
|
|
|
|
|
Well, if it is something completely different that Win32 or MFC then you should pass an integer value that makes sense to the framework you are using. What is this integer representing ?
It not just a matter of getting rid of the errors, it should also be correct.
|
|
|
|
|
Cedric Moonen wrote: It not just a matter of getting rid of the errors, it should also be correct.
Where's the fun in that?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
hi all
I want to run my copymovie.exe using createprocess function.
i m success run the exe but not able to give the commands through my mfc application. how do this.
my function is this
PROCESS_INFORMATION pInfo;
STARTUPINFOA sInfo;
DWORD exitCode;
sInfo.cb = sizeof(STARTUPINFOA);
sInfo.lpReserved = NULL;
sInfo.lpReserved2 = NULL;
sInfo.cbReserved2 = 0;
sInfo.lpDesktop = NULL;
sInfo.lpTitle = NULL;
sInfo.dwFlags = 0;
sInfo.dwX = 0;
sInfo.dwY = 0;
sInfo.dwFillAttribute = 0;
sInfo.wShowWindow = SW_SHOW;
char *sCmdLin = "C:\\wmvcopy.exe -i 'C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv' -o 'c:\\test.wmv' -p 20 -d 30";
// char * ch = "C:\\winnt\\notepad.exe c:\\boot.ini";
bool type = CreateProcessA("C:\\wmvcopy.exe", sCmdLin, NULL, NULL, FALSE, 0, NULL, NULL, &sInfo, &pInfo);
please help me thanks
|
|
|
|
|
rajeshkumarrajput wrote: char *sCmdLin = "C:\\wmvcopy.exe -i 'C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv' -o 'c:\\test.wmv' -p 20 -d 30";
Why are you giving the C:\\wmvcopy.exe int the cmdline again? I think you need to give only from -i ...
- ns ami -
|
|
|
|
|
now i m give the parameter
char *sCmdLin = "-i C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv -o c:\\test.wmv -p 20 -d 30";
but it also not work.
|
|
|
|
|
rajeshkumarrajput wrote: char *sCmdLin = "-i C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv -o c:\\test.wmv -p 20 -d 30";
Try to group the strings
"-i \"C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv\" -o c:\\test.wmv -p 20 -d 30"
Btw, could you run the same in command prompt?
- ns ami -
|
|
|
|
|
Now I use
"-i \"C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv\" -o c:\\test.wmv -p 20 -d 30"
and
"-i \"C:\\Documents and Settings\\Equinox\\Desktop\\videos\\system.wmv\" -o \"c:\\test.wmv\" -p 20 -d 30"
But it can not take the parameters now what is the problem?
This is my command line parameter which i run the application through cmd prompt
C:\Documents and Settings\Equinox>C:\wmvcopy.exe -i "C:\\Documents and Settings\
\Equinox\\Desktop\\videos\\system.wmv" -o c:\\cut.wmv -p 50 -d 20
|
|
|
|
|
Give both the executable and the command line as the second parameter of CreateProcess and leave the first parameter as NULL .
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
|
Hi,
I am new in developing web service.I don't about the web service development.Can any one help to me? how to connect web service(asp.net/c#) with vc++6.0(especially). i want to create web client in vc++6.0.Is there any possible? i know that possible available in VS 2005.But i wanna connect through VC++6.0.
Thanks a lot.
|
|
|
|
|
See Web Services[^].
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
hi,
Thanks lot for replay.
ya,It is useful.But I wanna connect Web Service through VC++6.0 only.how to connect the SOAP Web Service via vc++6.0 MFC (without use ATL and COM)?Is it possible?
can you help me?
Thanks a lot once again.
|
|
|
|
|
I dont think its possible of VC++ 6.0 or no but I think its better you use of C++.NET
Of one Essence is the human race
thus has Creation put the base
One Limb impacted is sufficient
For all Others to feel the Mace
(Saadi )
|
|
|
|
|
Thanks lot.
|
|
|
|
|
Is there any software that can Generate Documented file from Vc++ code means in Code Functionality of Each function is Commented algong with every function now i want to create Seperate Document that is Containing the Function's functionality only not the Code part. plz Suggest ......
|
|
|
|
|
www.doxygen.org[^]
He never answers anyone who replies to him. I've taken to calling him a retard, which is not fair to retards everywhere.-Christian Graus
|
|
|
|
|
I second VuNic's recomendation of doxygen. I'm going through my code with it now, and I'm ending up doing loads of refactoring to make my software more robust as a result.. And the documentation it comes out with is very nice.
Iain.
Codeproject MVP for C++, I can't believe it's for my lounge posts...
|
|
|
|
|
Hi to all
I am trying to run the ms word using create process. But not able to. Could anyone please help me out with the same? Following is the code
PROCESS_INFORMATION processInfo = {0};
STARTUPINFO startupInfo = {0};
BOOL bSuccess = CreateProcess(NULL,
"winword", //it works for "notepad"
NULL, NULL, FALSE, 0, NULL, NULL,
&startupInfo, &processInfo);
Thanks in advance
I am a beginner
|
|
|
|