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
H

Hardy_Smith

@Hardy_Smith
About
Posts
21
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Difference between VC++ and .NET (VB.NET, ASP.NET, and C#
    H Hardy_Smith

    The difference is like the difference between englisch and french, with all the literature written in it. What do you want to do with it? A language, or, better, the technologie you use should help you to solve your problems. 1) Your design shoule be "as independent as possible from the language" 2) Define what you want to do, what are the interactions. Maybe use uml for make it clear. Usecases are good to start. 3) Make a decision. Look what woule be the best technologie, wath the customer excepts, and what are the scills of you employees? MFC is a c++ library used by microsoft. ActiveX, OLE, COM, DCOM, ADO are language-independent communication-layers. DAO normally means data-access-object. This is more a design-pattern. Good luck, Hardy.

    C / C++ / MFC com csharp c++ asp-net

  • Reading contents of other apps Window
    H Hardy_Smith

    With closed I mean closed-source. I don't have the source. The window itselve is open, of course. Sorry, it was not clear.

    C / C++ / MFC hardware question

  • Reading contents of other apps Window
    H Hardy_Smith

    DavidCrow wrote:

    If you have a handle to the (edit) control, you can use GetWindowText() to get its contents.

    I think its not so simple. The Application ( A1 ) to control the Hardware is ready and closed. I am writing a new App ( A2 ) , in mfc, to do some extra-work. Now I want to access A1`s main window. I want to write to it and read from it from within A2. Thanks, Hardy.

    C / C++ / MFC hardware question

  • mysql and vc++6
    H Hardy_Smith

    In VC6, go to project ment, the to properties ( ok, I have a german version, so I don't know the exact name. ) There you find on the left side your build-targest, and on the right side a tab-control. In the tab, ther is a page called "linker". Go to it, There is a edit "Objects, libs". Add your library there. Then, click on category and point to input. There add your additional library-path. That's all. Good luck!

    C / C++ / MFC csharp c++ mysql com question

  • how to get cview or cdocment object pointer?
    H Hardy_Smith

    First, pos = AfxGetApp()->GetFirstDocTemplatePosition(); ASSERT(pos); pTemplate=AfxGetApp()->GetNextDocTemplate(pos); POSITION docpos=pTemplate->GetFirstDocPosition( ); get the first DocTemplate. Then you can enumerate your views. CDocument *pDocument=NULL; while (docpos) { pDocument = pTemplate->GetNextDoc(docpos); ASSERT(pDocument); POSITION viewpos = pDocument->GetFirstViewPosition(); while (viewpos != NULL) { ... } } Hope this helps, Hardy.

    C / C++ / MFC c++ tutorial question

  • mysql and vc++6
    H Hardy_Smith

    Is there a lib included in the package you downloaded? If yes, you have not added it to your project. ( project, options, linker ) If you have sourcecode, add the sourcefiles ( the .c or .cpp ) to you project. Your trace shows many warnings because you initialise some variables you never use and then the constructor from MysqlConnection is not found.

    C / C++ / MFC csharp c++ mysql com question

  • Reading contents of other apps Window
    H Hardy_Smith

    Hi all, I want to "control" an application with a second one. The app it there to control a Hardware and I don't have the code:(. It is command-based: I can write a command in a CEdit-like window, and the response is displayed in the same window. ( a Hexdump, maybe ) Is it possible to grap the contents of this window and to write ( from my own app ) into it? Somethink like enumerateWindow and then access over the clipboard? :confused: Thanks , Hardy.

    C / C++ / MFC hardware question

  • Hyperlink(Button)List ??
    H Hardy_Smith

    Hi Folks, I am searching a listbox similar to the "favorits" list in IE6. A List with buttons or hyperlinks whitch I can dynamically add and remove. I need it for a MFC-App. Sorry, don`t have time to write it myselfe... Anybody knows something?? Thanks, Hardy.

    C / C++ / MFC c++ algorithms question

  • How to Remove ActiveX from project VC++6
    H Hardy_Smith

    Remove the Classes. The Classes are not the control itselfe. They just interface it. Hardy

    C / C++ / MFC com c++ tutorial question

  • so confused!
    H Hardy_Smith

    You have to return a value in the bool-Method. return true; Hardy.

    C / C++ / MFC c++ game-dev regex question

  • I almost understand, a little more advicie please.
    H Hardy_Smith

    Have you implemented the operator? logical operator ! (logical x) { ... return ... ; } If not, you will have of course a linker error! Hardy

    C / C++ / MFC question help

  • PROGRAM HELP!!!!!!!
    H Hardy_Smith

    And, does it work? Looks good so far. You may also want to use memset. memset( board, 0, sizeof( board ) ); Hardy.

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

  • Accessing data between threads
    H Hardy_Smith

    You can also try to use thread-save lists. I think there are some at www.stlport.org. Hardy.

    C / C++ / MFC help question

  • Com port enable
    H Hardy_Smith

    Now I understand. You want to enumerate the com-ports of a machine? Look here: http://www.codeproject.com/system/enumports.asp[^] Hardy.

    C / C++ / MFC com design help question announcement

  • ODBC programming - need help
    H Hardy_Smith

    I would recommand you to use a real database server, Firebird for example. www.ibphoenix.com Do you want to program odbc lowlevel? If not, take a look at the database-Classes here in codeproject. http://www.codeproject.com/database/#ODBC[^] There are some examples. Hardy.

    C / C++ / MFC database help question c++ com

  • Hai
    H Hardy_Smith

    Database design: http://www.edm2.com/0612/msql7.html Accessing with VC++: www.codeproject.com/database/odbcrecordset.asp And for a Database look at www.ibphoenix.com and get Firebird.

    C / C++ / MFC database help

  • com port settings
    H Hardy_Smith

    The CSerial- class has a "Open" and "Close" Method and it can be configured. So call open from your menu's message-handler to open the comport:), but take care that you write the configuration before. To close it, just call the close-Method. I think there is a example-App with CSerial. Hardy.

    C / C++ / MFC com design

  • how to use visual c++
    H Hardy_Smith

    Language -- for what?? Programming language - c++, Language for user interface ?? Whatever you like. Are you a programmer?

    C / C++ / MFC c++ tutorial question learning

  • Hai
    H Hardy_Smith

    And where do you need help? In designing the database, in asking the database ( sql ) or in reading the answer ( c++ ) Hardy.

    C / C++ / MFC database help

  • how to use visual c++
    H Hardy_Smith

    What do you mean with variables?? Hardy.

    C / C++ / MFC c++ tutorial question learning
  • Login

  • Don't have an account? Register

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