Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Schehaider_Aymen

@Schehaider_Aymen
About
Posts
143
Topics
40
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How know if a window is above another
    S Schehaider_Aymen

    I need smthing that works with c++. :)

    "The Only Limit Is Only Your Imagination."

    C / C++ / MFC question

  • How know if a window is above another
    S Schehaider_Aymen

    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."

    C / C++ / MFC question

  • SFTP in VS6
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ question sysadmin

  • Resize a Dialog Box (MDI-Application)
    S Schehaider_Aymen

    Thank you, works like a charm. ;)

    "The Only Limit Is Only Your Imagination."

    C / C++ / MFC c++ question

  • Resize a Dialog Box (MDI-Application)
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ question

  • [Oracle] Create Index Online Vs Create Index
    S Schehaider_Aymen

    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."

    Database database oracle visual-studio question

  • How to get close event of form view in MFC
    S Schehaider_Aymen

    You scored Hight :thumbsup: .

    "The Ultimate Limit Is Only Your Imagination."

    C / C++ / MFC c++ data-structures tutorial

  • How to get close event of form view in MFC
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ data-structures tutorial

  • How to get close event of form view in MFC
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ data-structures tutorial

  • reference prob with namespace C++
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ help question

  • reference prob with namespace C++
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ help question

  • reference prob with namespace C++
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ help question

  • Connect to FoxPro C++
    S Schehaider_Aymen

    My mistake is that i missed to include the alias into the connectionstring. Thx for the reply. ;)

    "The Ultimate Limit Is Only Your Imagination."

    C / C++ / MFC c++ tutorial

  • Windows Forms UI
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ winforms design tutorial question

  • Connect to FoxPro C++
    S Schehaider_Aymen

    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."

    C / C++ / MFC c++ tutorial

  • Visulizing Webcam throught browser
    S Schehaider_Aymen

    but how could i add an activex to a web page browser ?

    "The Ultimate Limit Is Only Your Imagination."

    C / C++ / MFC sysadmin question

  • Visulizing Webcam throught browser
    S Schehaider_Aymen

    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."

    C / C++ / MFC sysadmin question

  • Visulizing Webcam throught browser
    S Schehaider_Aymen

    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."

    C / C++ / MFC sysadmin question

  • How integrate Microsoft Platform SDK with Visual Studio 6.0 [modified]
    S Schehaider_Aymen

    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."

    C / C++ / MFC help csharp c++ visual-studio sysadmin

  • How integrate Microsoft Platform SDK with Visual Studio 6.0 [modified]
    S Schehaider_Aymen

    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

    C / C++ / MFC help csharp c++ visual-studio sysadmin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups