I need smthing that works with c++. :)
"The Only Limit Is Only Your Imagination."
I need smthing that works with c++. :)
"The Only Limit Is Only Your Imagination."
I have 2 windows, let's say a FileZilla window and a Notepad Window. And I have the FileZilla window is on the top of the Notepad one (like cards; on above the other). I want to know how could I get the information that the FileZilla window is above the notepad's one ? I tried GetWindowLong
But no chance.
LONG wndState1 = ::GetWindowLong(handler1, GWL_EXSTYLE);
LONG wndState2 = ::GetWindowLong(handler2, GWL_EXSTYLE);
both results is equal to 256. Is there a trick for that ?
"The Only Limit Is Only Your Imagination."
Hi all, I have a project written with VS6.0 C++ (MFC). In that project we use WININET to accomplish FTP download files from server; now we are asked to use Secured FTP (SFTP). As I read from sites and forums, WININET doesn't support SFTP. My question: is there a third party that I could include in my project to be able to use SFTP? Thank you in advance.
"The Only Limit Is Only Your Imagination."
Thank you, works like a charm. ;)
"The Only Limit Is Only Your Imagination."
Hi all, I have an MDI application under MFC. When I click on a menu I have a dialog based view (CDialog) which contains a button. What I need is when I click the button I want to resize my Dialog and set it to a new position. I tried the MoveWindow, SetWindowPos but nothing changed. I think that those functions don't work with MDI or I missed sthing. So people: How can I resize and move my Dialog to a new location point. Thank you in advance.
"The Only Limit Is Only Your Imagination."
Hi all, I have a little confusion about creating index on Oracle, which is the difference between creating index online and creating them in not an online way (offline). I looked it on internet and I did not find sth straight about it but I guess that : Online : The RDBMS will create the Index without using table locks (for DML statements when creating the index). Offline : create with the use of tables lock. Am I correct ? Thank you.
"The Ultimate Limit Is Only Your Imagination."
You scored Hight :thumbsup: .
"The Ultimate Limit Is Only Your Imagination."
I totaly agree with u in case the user is running an SDI application but what if it is a MDI application ?
"The Ultimate Limit Is Only Your Imagination."
When you close that form, the syst will call its destructor so if you wanna handle the prob go to the
YourFormClass()::~YourFormClass( )
{
//Type Code Here
}
"The Ultimate Limit Is Only Your Imagination."
You are all reasons, I compiled the first post files with VS and in the project settings i included the Foo.cxx file and all worked fine. I used Geany under ubuntu and in the console i wrote gcc test.cxx Foo.cxx -o Test.o and then some warnings were releaved. i think, as you said, i need to go backward and read more about linking files in C++ :omg: thank you for your help. :cool:
"The Ultimate Limit Is Only Your Imagination."
Ok i think that i resolved it by changing the .h file like this
#ifndef FOO_H
#define FOO_H
namespace Foo
{
int add (int a , int b)
{
return (a+b);
}
}
#endif//FOO_H
So that mean's that : 1: when using namespace we can only use header files. or 2: i ve an error somewhere in my previous files. could someone help me with that ? i get :confused:
"The Ultimate Limit Is Only Your Imagination."
Hello all, I'm looking on the way that i could create my own namepsace and use it under C++. i wrote a .h file
#ifndef FOO_H
#define FOO_H
namespace FOO
{
int add (int a , int b);
}
#endif//FOO_H
and a cxx file
#include "Foo.h"
namespace FOO
{
int add (int a , int b)
{
return (a+b);
}
}
And in the main prog (test.cxx) i did as shown below
#include #include "Foo.h"
using namespace FOO;
int main(int argc, char **argv)
{
std::cout << add(5, 6) << std::endl ;
return 0;
}
when i compile the prog it mentions no problems but when i try to execute it it said undefined reference to `FOO::add(int, int)':~ i look on the net but still having that issue. how could i make it correct ? thank you. ;)
"The Ultimate Limit Is Only Your Imagination."
My mistake is that i missed to include the alias into the connectionstring. Thx for the reply. ;)
"The Ultimate Limit Is Only Your Imagination."
To Add a button (button1) to a from (Frm1)
this.button1 = new System.Windows.Forms.Button();
this.Frm1.Controls.Add(this.button1 );
"The Ultimate Limit Is Only Your Imagination."
Hi all, i'm attempting to connect to a foxpro dbaseIV via odbc. I was able to connect to it by specifying the physical path of may table (i.e C:\test\f_cheque.dbf). but for some purpose, i have to connect to that base without specifying the path, just by alias (odbc). did some one know how to do that by C++. Thx
"The Ultimate Limit Is Only Your Imagination."
but how could i add an activex to a web page browser ?
"The Ultimate Limit Is Only Your Imagination."
ok ... Do u mean that i have to create an activex probably a one for capturing frames and then add the activex to the browser or what exactly?$ I'm new to DirectShow and i'aint a wed developper. could u explain more plz ?
"The Ultimate Limit Is Only Your Imagination."
Hi all, I hope that i posted my question in the right place ;P I would like to know, if there is some examples or courses to create a little application using RTP in order to visualise my webcam video throught the browser. (on localhost host or network) I'm using VS2005 + DirectShow. Thank you.
"The Ultimate Limit Is Only Your Imagination."
Hi, Yes indeed,, in fact i installed Direct X developper + SDK 2003 and SDK 2008. But when i use VS 6.0 it doesnt work but with VS 2005 it does. i think that the SDK 2003 doesnt includes all necessary files or the project i tried to compile is based on headers of not 2003. Any way, Thank you for your reply that was a nice hand help.
"The Ultimate Limit Is Only Your Imagination."
Hi All, As u can deduce from the title, I'm using visual Studio 6.0 and i want use the Microsoft Platform SDK for some kind of project. The main idea is that i'm new to the SDK, i download the Microsoft Platform SDK Server 2003 R2 (which is the compatible one for VS6). I download some code from this site and when i tried to compile it, it said thjat some files were missing, such DShow.h, so i added the includes files by tools->options->directories->includes files. now when i compile my project i've got those errors : X|
--------------------Configuration: LiveVideo - Win32 Debug--------------------
Compiling...
CaptureVideo.cpp
c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2143: syntax error : missing ';' before '*'
c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers
c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(115) : error C2501: 'm_pCapture' : missing storage-class or type specifiers
c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2143: syntax error : missing ';' before '*'
c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2501: 'ICaptureGraphBuilder2' : missing storage-class or type specifiers
c:\documents and settings\fst-admin\bureau\prj 3 vc 6.0\source code\capturevideo.h(123) : error C2501: 'm_pCaptureMoniker' : missing storage-class or type specifiers
C:\Documents and Settings\FST-Admin\Bureau\Prj 3 VC 6.0\Source code\CaptureVideo.cpp(33) : error C2065: 'm_pCapture' : undeclared identifier
...................................................................................................
Generating Code...
Error executing cl.exe.
I'm not sure if what i did was right or a big mistake, or the Microsoft Platform SDK still not recognised into my VS6.0. So plz, some help will be appreciated. :doh:
"The Ultimate Limit Is Only Your Imagination."
modified on Wednesday, December 8, 2010 4:21 PM