Type: Posts; User: MasterDucky
Search took 0.03 seconds.
November 6th, 2014, 12:13 PM
They called the lib folder 'staticlib' and the dynamic library folder 'lib'. I wasnt linking the right folder.
November 6th, 2014, 08:07 AM
OK, I worked it out by putting the opencv includes before the windows ones.
But now after compiling when I execute it, it asks me for the dynamic libraries (.dll) though I compiled it...
November 6th, 2014, 05:41 AM
I'm having a conflict between <cv.h> of the Opencv library and the xloctime file of Visual Studio 12.
This is the error I get:
Any idea how to resolve it? I havent found anything with...
July 28th, 2014, 09:59 AM
OK, that's my bad, I just copied the command from Visual Studio 2013 where it was compiling and creating the .exe.
If I remove /c and link it with the libs it should work.
Thanks for the help...
July 28th, 2014, 09:21 AM
Im compiling a .cpp file from a .bat file with these commands.
It compiles without error and I get an .obj file but no .exe. The object file gets created in the VS bin directory.
I tried it with...
July 25th, 2014, 11:53 AM
Yes, but I want to know if it was an error with the connection or with some other operation, like couldn't open a file I asked for or anything else.
July 25th, 2014, 04:04 AM
This looks like the best solution.
July 25th, 2014, 03:13 AM
Windows TCP/IP Send() function.
July 24th, 2014, 03:45 PM
Base64 doesnt use all the ASCII characters?
July 24th, 2014, 03:43 PM
I would like to signal to the other side that an error occurred and dont wait for the file.
July 24th, 2014, 01:09 PM
It's for binary too so maybe just one character is not the best solution.
Thanks Kaud, that's what I wanted to know.
July 24th, 2014, 09:22 AM
Thank you Victor.
Looks like the DEL character should be OK on Windows.
July 24th, 2014, 04:08 AM
I want to send only one character to the other side to signal that there was an error.
I'm looking for a character that never appears in a file.
I looked at the ASCII chart and I thought maybe:...
July 12th, 2014, 04:15 PM
It worked. :) Thank you.
First I put it in the case that called the play() in the menu not on the button that's why it didn't work.
July 12th, 2014, 01:34 PM
Yes but I need to push that button to start the application. After that on the other hand I want to handle WM_KEYDOWN messages.
But since the focus stays on the button I dont get the WM_KEYDOWN...
July 12th, 2014, 05:47 AM
If I click on a button then it will keep the focus and I won't get any WM_KEYDOWN messages any more as long as I dont click outside and then back on the window.
What is the cause of this behaviour...
July 11th, 2014, 09:57 AM
July 11th, 2014, 09:06 AM
In the Charles Petzold C++ book examples the cases in the switch (message) are returning return 0;
But if I create a project in Visual Studio 2010 it puts breaks; instead of return 0;
That was it! Thanks a lot, you made my day! :wave:
Its apparently not defined there and even if I change the function name I get the same error.
// stdafx.h : include file for standard system include files,
// or project specific include...
I created a very simple c++ win32 project in MSVC 2010.
I added a .cpp file with the function definition and a .h file with the function prototype and I get this "function already defined" error....
It's a pity it's in MFC but Im gonna check it out nevertheless, thank you Arjay.
Thanks, that's a good tip!
Interesting that PostMessage can take a string* directly but SendMessage cannot.
Mea culpa, I forgot a 'delete pItem;' at the end of another thread, that was it! :)
Yes I definitely need to learn to debug first.
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.