I am just calling the command provided by the Autodesk Inventor and I can't got the state infomation of the device context.
In addition. I can get the relative objects through API if the paste succeeds, but I got nothing, indicating that the paste failed
I don't really know what's going on or what you’re trying to do or the over all structure of your program so this is just a guess. I have hard coded a 5 second delay. You will be able to use the UI of the app during this time - You may want to simulate modality by putting a call to disable the main app window before and another to re-enable it after. 9 times out of 10, when you put a hard coded delay in a program your doing the wrong thing: How long do you wait? Will this be long enough on a slower machine? If you wait long enough for a slow machine are you "cheating" users with fast machines?
This forum is for posting C++ questions, not advertising software.
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
For some reason, I cant get any simple program, using
the new visual studio 2005, to compile if it has a CString
as a variable or if I use #include <fstream>.
I am extremely perplexed. I know that CString is equivalent
to const char * and I guess I could use that, but I really
liked being able to use CString and am hoping I still can
somehow. Also, if I want to open an ascii file and close
it, I use the #include <fstream> header, but I keep getting
an error with that line.
Any ideas?? Please, any response any one can give me will
be greatly appreciated.
fatal error C1083: Cannot open include file: 'fstream.h': No such file or directory
Does the file exist on your machine? Are your paths (environment variables and IDE) set up correctly? One way to check is to right-click on the #include statement and select the "Open Document..." option.
Here is a common error I get using CString:
error C2664: 'strcpy' : cannot convert parameter 2 from
'CString' to 'const char *'
What does the statement look like?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
> Does the file exist on your machine? Are your paths (environment
> variables and IDE) set up correctly? One way to check is to right-
> click on the #include statement and select the "Open Document..."
Shockingly, when I right-click on the include statement, it doesnt
seem to exist. Do I have to copy and paste that file in? It doesnt
make sense. Under the older compiler, it just existed. I didnt
have to add that class to the project.
Please, any response you can give me will be greatly appreciated.