|
I don't think this is possible.
Steve
|
|
|
|
|
how can i model robot arm?i will not make robot arm.it was made.how can i control this simulation in real time?i mean i ll control real robot arm with serial port and i ll feedback from serial port.and simulation ll be simulatenously in "real robot arm".how can i do it in easiest way?
|
|
|
|
|
Mir_As wrote: how can i model robot arm?i will not make robot arm.it was made.how can i control this simulation in real time?i mean i ll control real robot arm with serial port and i ll feedback from serial port.and simulation ll be simulatenously in "real robot arm".how can i do it in easiest way?
break it down into multiple rotations, which are hard in matrix math, but easy in quaternions.
GamaSutra on quaternions[^]
_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
|
|
|
|
|
If you double click any USB Root Hub device in your "device management" application, then select "Power" page, you will see how many ports available on this hub.
How can i get this number through Win32 API?
|
|
|
|
|
|
hi, im trying to use GetProcesses(); function to list all active processes in my machine, i want to use this function to use DuplicateHandle to list the handles of a specific process...
but i cant find no where information that could me let write the prog, mos of the cases all examples give me errors, in microsoft MSDN i dont understand i they use #using <system.dll> then the compiler give me errors... im confuse with using GetProcesses(); or GetCurrentProcess(); but with both i cant write the prog, full of errors...
please someone could give me a had here...
|
|
|
|
|
GetProcesses is part of the .NET framework?
If so, maybe try reposting your question here[^]
|
|
|
|
|
and if i use GetHandleInformation ?? im using toolHelp32Snapshot to get my current processes, could i intereact GetHandleInformation with the toolHelp32...
i could i work arround with getHandleInformation(); ?
|
|
|
|
|
Will this[^] article help?
/ravi
|
|
|
|
|
Ravi linked to a article that should help.
Here's some useful APIs...If you are having trouble compiling/linking when using them, be sure
and check dependencies in the SDK docs for each API...
CreateToolhelp32Snapshot() (#include <Tlhelp32.h> )
Process32First() (#include <Tlhelp32.h> )
Process32Next() (#include <Tlhelp32.h> )
OpenProcess() (#include <windows.h> ) (use PROCESSENTRY32.th32ProcessID returned by above APIs)
CloseHandle() (#include <windows.h> )
What specific problems are you having?
Mark
|
|
|
|
|
that article didnt help me...
coz im looking something that could teach me with examples working with gethandleinformation to get handle objects like file, event, etc... that i could get from handleinformation...
|
|
|
|
|
Where does one find "gethandleinformation"?
The Windows API "GetHandleInformation" doesn't return much useful information.
*Edit* Keep in mind, being a C++ board - case-sensitivity is everything
-- modified at 19:02 Monday 12th February, 2007
|
|
|
|
|
yes is GetHandleInformation();
well im trying to develope a handle viewer like the one from sysinternals.com
im realy newbie with c++, i dont know even when you say that you search in windows API and you found not much, i dont know what you talking about, (i know what is the windows API but i dont see where you searching )
well i dont know even if im in the good path to do my prog... most people dont know what im looking for
but well i will still looking for it... i just feel very dificult to find documentation about the stuff im looking for, doesn't look like other languages thats easy to find what we want... everything is complex and works arround a lot of details, like a big mess C# c++ .NEt framework, i don't know im lost
i just want something that could read a process and his handle objects (events,file,keys, semaphore)... MSDN doesn't help to much for someone like me...
**EDIT** and i apreciate your help a lot, realy thanks
|
|
|
|
|
Everything documented about Windows APIs can be found in the Platform SDK.
You can download the latest here: Microsoft ® Windows Server® 2003 R2 Platform SDK[^]
This is for all versions of Windows through Server 2003 R2.
From all the replies you've received here so far, I think you have all the APIs you need
except something to eumerate the handles owned by a process. I'm not sure how you'd do that.
Others may reply here. Also search articles here on Code Project. Google is great as well.
It's not a simple project for a newbie I imagine you have some research to do.
Mark
|
|
|
|
|
van-ux wrote: well im trying to develope a handle viewer like the one from sysinternals.com
Last I looked, that utility used a low-level driver to obtain such information.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
thanks guys i'll have a look at SDK platform to see if it could help me more...
i'll check usuel about the low-level driver
thanks guys
|
|
|
|
|
Hello,
I was wondering if the following was possible ?
I have a static text control in a dialog application. I also have an
array which contains about 5 items. I would like the text control to
display the contents of this array and then have a button which would
move to next position into the array and thus the static text control
would display something different ?
How could achieve this? I'm using Visual Studio 6.0 and I'm quite new
to MFC
Many Thanks.
|
|
|
|
|
Lewis01 wrote: I have a static text control...
Do you also have a CStatic member variable?
Lewis01 wrote: I would like the text control to
display...
Use SetWindowText() for this.
Lewis01 wrote: ...a button which would...
Do you have a ON_BN_CLICKED handler for the button?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
For show text you can use of SetWindowText with CStatic control or use of a CEdit
|
|
|
|
|
After some sloppy refactoring I found something like this in my code:
<br />
class FooBar;<br />
<br />
void foo(const FooBar* const pBar)<br />
{<br />
<br />
delete pBar;<br />
} <br />
So far, so bad. What surprised me, was the fact that this code compiled without any error or warning. I was told, that this compiles also in GCC.
This also compiles though a non-const member function is called:
<br />
void foo(const FooBar* const pBar)<br />
{<br />
pBar->~FooBar();<br />
} <br />
Can you tell me why these snippets work (or at least compile)?
thanks,
Norbert
|
|
|
|
|
You're not changing pBar or what it points to, are you?
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
I'm surprised too about that behavior: technically the method doesn't change neither the pointer value nor the object itself, but substantially it makes a big change to both. I think it may be a good candidate to subtle bugs.
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.
|
|
|
|
|
|
Thanks for your replies and especially for the links.
Norbert
|
|
|
|
|
Is it possible to parse/send input data from a dialog form editctrl to an existing excel sheet/form (xls) cell?
Maybe this can be done through storing the formdata like in an csv-file or something that later can be imported to the right cells and rows in an excel (xls) sheet?
I've searched the net for solutions, but it seems like this is hard to do.. but it must be possible in some way. (VC++ 6.0)
anyone?
|
|
|
|