Hi
I am writing a basic toon shader in OpenGL. I am using MSVC 2008. I have included the GLEW libraries. I have also set the additional dependencies in linker. But I am getting the following error:
LINK : fatal error LNK1104: cannot open file 'glew32.lib'
Can someone please help me?
...
Alright, so this is annoying the hell out of me and I'm sure its a simple thing to do. Basically, I'm working with an open source C++ client called POCO to make a email client for a class...
Basically, I have a pop3 client object that retrieves emails from my email server, and then puts the emails in an object called MailMessage. Now, I...
how to convert to tchar[] to char[]..
...
hai ..how to compare the two values ..like
TCHAR s[100];
CHAR d[100];
both varible have value .and how to compare the values..kindly help me.
...
I want to get started using Boost. I'm programming a C++ program in Visual Studio (obviously on a Windows machine).
Boost's Getting Started Guide says:
The easiest way to get a copy of Boost is to use an installer. The Boost website version of this Getting Started guide will have undated information on installers as they become avai...
I'm fairly certain that I can safely do:
void funcA(VARIANT &V,_variant_t &vt)
{
vt = V;
}
But what about the other way around:
void funcB(VARIANT &V,_variant_t &vt)
{
V = vt;
}
I've been seeing some REALLY weird behaviour in my app which I put down to COM-related threading issues. But then I got wondering if I was screwing...
Hi,
I want to add some files to C:\windows\XXX (windows protected folder, in Vista), under the "TrustedInstaller" for my application. I do not want to replace any file so no issues on Windows Resource(formerly file) protection.
I have the code to change "ownership" to the current logged in admin, however, I'm don't have any clue how to ...
I upgraded my work box from Vista64 to Win7-64 by doing a format and reinstall.
I kept backups of the project done in MS Visual Studio 2008 (Team).
But now it won't compile. I am getting errors generated on lines in the MS created header files like "'_In_' not defined" etc.
I know it is because I lost some compiler setting/directive. I w...
Hi
I successfully compiled my OpenGL program in MSVC 2008, But I am getting a Run time error as follows
"This application has failed to start because glew32.dll was not found. Re-installing the application may fix this problem."
Any suggestions to fix the problem?
Thanks
...
Hi,
I have created a UI thread. I m posting message to the UI thread which will write data in a file.
I m using PostThreadMessage API to post the message to User thread
My Problem is it's not writing all the data that i have posted.
For Instance, if i post 100 data,
it writes randomly 3 or 98 varies for every execution.
The handler ...
I am trying to build a dll using mingw g++ under cygwin.
I have .h files that refer to objects exported by a .dll that was build using MS Visual Studio 2008. I link to the .lib generated with that .dll.
When I run g++ I get lots of errors like this
/cygdrive/c/dev/blox/ulfx/ulfx/JavaInterface.cpp:206: undefined reference to `__imp___Z...
How to check whether any active sound device is there on a computer using VC++?
...
Hello everyone,
I would like to change the output file name based on certain criteria that I'm checking with #defines. A little background, I'm doing this because I've decided to use VS2010 in one of my projects to regain intellisense. However, this is causing some other problems with Google Test, and the rest of my team is on VS2008. S...
I want to develop a program which recolors the input image based on the given theme the same way as ms-powerpoint application does.
I am giving following link that shows what exactly i want to do.
I want to generate images same as images in below link under the Dark Variations and light Variations title based on the current theme.
h...
Or, are there any other known negative affects of employing __declspec(novtable)? I can't seem to find references to any issues.
...
Can anyone solve this? I can’t seem to find the solution anywhere, but I see no logical reason why the line below (with the comment showing the compile error) should be a problem.
Note: This question is a derivative of How can a C++ base class determine at runtime if a method has been overridden?
class MyClass
{
typedef void (...
Please suggest me the best way to use .NET dll in VC++ project.
...
Hi,
I am compiling dll's that take a long time, i was wondering if you could automatically make MSVC++ abort the compile after a certain number of errors.
For example an error in one header causes 100's of errors in the program but it can take a few minutes for the compilation to stop.
I know I can cancel it manually, but was wonde...
There's RpcRaiseException() dunction in MS RPC runtime to indicate errors that occur during an RPC call either on the server side or in a pipe callback on the client side. The RPC_STATUS passed into RpcRaiseError() is propagated to the site of the RPC call.
The problem is how do I choose the RPC_STATUS value?
Say in a pipe pull() callb...
I have a dynamic link library written in VC++6. I wrote some code with VC++2005 which calls the native VC++6 library. Whenever I pass std::string to the native library, the result is always garbage. However, this does not happen if I pass other types like char *, int, etc. Any ideal what is causing this?
The following code illustrates t...