Search:
Type: Posts; User: calc0000
Search:
Search took 0.02 seconds.
-
Ahhh, that helps A LOT. And your short dissertation on how to figure it out is much appreciated. I couldn't find any other documentation on how to do it, either on Google or MSDN.
On a side...
-
Hi guys. I'm trying to call MessageBoxA from inline assembly using the following code:
int main(int argc,char* argv[]){
HWND hwnd=0;
char* text="text";
char* cap="caption";
UINT...
-
-
Well, I've tried building a solution that included a Resource file, and Express complained and would not let me build until I excluded it from the build.
-
If I had to guess, it's the fact that you don't initialize argv in display(); glutInit is getting a junk pointer and it doesn't like that.
I understand that glutInit should be run from main() (it...
-
The Express version does not include a resource compiler, so you can't build programs with the .rc (you have to exclude those from the build.)
-
Take a look at PostMessage (http://msdn.microsoft.com/en-us/library/ms644944%28VS.85%29.aspx).
-
November 2nd, 2009, 10:00 PM
Have you put python26.dll into the same directory as your .exe file?
-
September 6th, 2009, 08:06 PM
I'm trying to port a program written in C# to Managed C++, and it's going quite well, except for one problem: Managed C++ doesn't seem to have System::Security::Cryptography::AESManaged. For some...
-
September 3rd, 2009, 03:29 PM
You can get a c-style string out of a std::string with string.c_str(), i.e., button[0].test.c_str(). This returns a const char array (if I remember correctly).
-
So here's the deal: I'm writing a program that remaps keys (like the z key) into mouse clicks, as you can see from the code below:
int main(int argc, char* argv[])
{
bool down=false;...
-
Well, in response to 2), he could just have one .cpp file, and have the using namespace std; at the top of this file.
-
April 29th, 2009, 09:30 PM
The keybd_event function acts just as if you had pressed the corresponding keys on the keyboard. Thus, if the window you want to send to is not in focus, the keystrokes will not reach it.
-
April 12th, 2009, 09:01 PM
You've given them the debug version of the program, which depends on the debug version of the Microsoft CRT. People that haven't installed Visual Studio won't have these debug dll's.
You're gonna...
-
April 3rd, 2009, 12:17 PM
You're defining strings as char s, when they should be char* s, among other things.
-
March 31st, 2009, 07:55 AM
I believe glScissor() is what you're looking for: http://www.opengl.org/documentation/specs/man_pages/hardcopy/GL/html/gl/scissor.html
-
March 30th, 2009, 10:13 PM
Please use code tags when posting your code.
First of all, the string class does not need initialization via the [] operator (as far as I know); you can just create a string like such:
string...
-
March 18th, 2009, 10:08 PM
The get template needs to be terminated with a semicolon.
-
March 18th, 2009, 10:02 PM
Well, I don't know about that exception, but I do know that the backslash in the path to your .swf file needs to be escaped (e.g. "C:\\test.swf").
-
March 11th, 2009, 07:53 AM
You should take a look at AutoIT. It's a programming language for windows, which contains functions to set hotkeys and to send keys to an application. So, to switch 'A' to 'B', the code would look...
-
March 9th, 2009, 11:32 AM
First, you need to use a different variable in the for loops (o looks usable, but I like to use i,j,k). Replace all the index variables in the for loop with o. Next, I've been told it's bad...
-
March 8th, 2009, 05:34 PM
%cd% is a special batch variable that gives the current directory. The reason I save it is once I go to C:\ , %cd% returns C:\ . However, once I saved it to %olddir% , olddir contained...
-
March 8th, 2009, 01:31 PM
Well, I'm thinking you can write the batch file something like this (assuming the batch file is in the same folder as wget.exe):
set olddir=%cd%
C:
cd \
mkdir srcds
cd olddir
copy...
-
March 7th, 2009, 10:55 PM
Well, I believe you might be able to run system("program.bat"). I'm not near a compiler, so I can't check it.
-
March 7th, 2009, 05:16 PM
You might want to use "c:\\srcds". Windows file separators are backslashes.
|
Click Here to Expand Forum to Full Width
|