CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: IUNKWN

Page 1 of 24 1 2 3 4

Search: Search took 0.49 seconds.

  1. Writing to table with xmltype column issue on Oracle

    Hi Everyone, my C# code writes to a column in a table in Oracle database. When the contents are more than 4000 characters, it throws an error saying
    ORA-01461: can bind a LONG value only for insert...
  2. Replies
    3
    Views
    714

    Re: issue with .net reference

    failed to load assembly xxx...
  3. Replies
    3
    Views
    714

    issue with .net reference

    Folks, I have a .net dll A that references another .net dll B (that's an interop on a com dll C). The issue is, I cannot instantiate a class in dll A when dll B is not installed in GAC. Is that...
  4. Replies
    4
    Views
    1,049

    Re: Multiple instances of NT service

    Skizmo, thanks for your pointer. I was able to do this using my own startup code calling CreateService. Thanks again.
    Cheers.
  5. Replies
    4
    Views
    1,049

    Re: Multiple instances of NT service

    Skizmo, what do you mean by registering them multiple times with multiple names? Mines is an service written using ATL. When I ask it to register (by passing the switch /service or /regserver), it...
  6. Replies
    4
    Views
    1,049

    Multiple instances of NT service

    Hi guys, any idea about how to configure/code so as to run multiple instances of NT service. If any of you have access to Oracle or SQL server 2005, open service manager (start -> run ->services.msc)...
  7. Replies
    1
    Views
    755

    activex control versioning

    Hi
    I want to add some functionality to an existing activex control. I have derived an interface from the existing one, added my new methods to it and made it the default interface of the coclass in...
  8. Replies
    7
    Views
    891

    Re: Happy Birthday IUNKWN

    Thanx Marc & Ejaz :)
  9. Replies
    12
    Views
    1,761

    Re: Memory leaks in CString class

    Thanks gstercken.

    One more Q. Is there any way to find out unfreed BSTRs. CMemoryState can't do that, nor the VC++ debugger.
  10. Replies
    12
    Views
    1,761

    Re: Memory leaks in CString class

    Thanks for the good links.
  11. Replies
    12
    Views
    1,761

    Re: Memory leaks in CString class

    Through out my program, I have created CString objects on stack and never on heap. Stack objects will be automatically destroyed.
    How come then I am still getting leaks?

    strcore.cpp(118) : {75}...
  12. Replies
    12
    Views
    1,761

    Memory leaks in CString class

    When I close my program, I see lots of messages in debugger's output window saying memory leaks detected, dumping objects and all of them point to strcore.cpp file.
    Is the CString class buggy?
  13. Replies
    21
    Views
    2,813

    Re: How to write to the own exe file from an app

    well.. as such, there is no way to protect your program against cracking. Given time and resources, one can always break it. Exe that does license key check can also be patched to by pass the check...
  14. Replies
    21
    Views
    2,813

    Re: How to write to the own exe file from an app

    I want to distribute my program as a trial version that runs for 1 month from the day it was first run on machine. I dont want to write something in the registry or in some other file as it can be...
  15. Replies
    21
    Views
    2,813

    Re: How to write to the own exe file from an app

    I also have a similar situation. Any ideas much appreciated. Thanx.
  16. Thread: std::string

    by IUNKWN
    Replies
    4
    Views
    897

    Re: std::string

    Try this out:

    CString aMwsimWorkDir;
    std::string aWorkDir(aMwsimWorkDir) ;

    BTW what was the error you got? It looks like your code should also work.
  17. Replies
    1
    Views
    678

    I hope this will help you. Or search in...

    I hope this will help you. Or search in Codeguru/Codeproject for it. I think there are many articles on how to do it.

    http://www.codeproject.com/wtl/toolband.asp?target=explorer%7Ctool%7Cbar
  18. Replies
    5
    Views
    575

    Framework creates the object by calling...

    Framework creates the object by calling CreateObject() of CRunTimeClass and not by directly calling the contructor.
    When you add DECLARE_DYNCREATE macro to your class, you add a static function...
  19. OnInitialUpdate() will be called first....

    OnInitialUpdate() will be called first. DoDataExchange() wont be called until you call UpdateData(). Check your code. I suspect somewhere you have explicitly called it after creating the view.

    To...
  20. Replies
    13
    Views
    1,893

    Try deleting in the reverse order. the last...

    Try deleting in the reverse order. the last element first, then the second last and so on..
  21. Replies
    2
    Views
    571

    Make sure the style is set to report mode.

    Make sure the style is set to report mode.
  22. Replies
    8
    Views
    1,122

    Check out this:...

    Check out this:
    http://www.codeproject.com/atl/ietoolbartutorial.asp?target=IE%7Cband
    Or better still, search the codeproject site for IE band.
  23. Replies
    16
    Views
    2,586

    Override LRESULT CPropertyPage::OnWizardNext ()....

    Override LRESULT CPropertyPage::OnWizardNext ().
    Return :
    0 to automatically advance to the next page; –1 to prevent the page from changing. To jump to a page other than the next one, return the...
  24. Replies
    6
    Views
    1,686

    Re: Cannot open file "Debug/Sys.ocx" for writing

    Implies that your ocx is in use by some application. Just ensure that its not being used by any one. Might be the dialog template that is open in the resource editor.
  25. Use SendMessage and your handler will be called...

    Use SendMessage and your handler will be called immediately as if its in response to m_ctlVList.SetItemState(...) .
    Use PostMessage. It will called after OnInitDialog exits. You may be able to see a...
Results 1 to 25 of 587
Page 1 of 24 1 2 3 4





Click Here to Expand Forum to Full Width

Featured