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

Search:

Type: Posts; User: forstudy3

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,499

    Re: Working with Log4CXX

    Yes did that changes , it was a silly mistake ,sorry.
    Still My issue not solved.
  2. Replies
    2
    Views
    1,499

    Object inside class becomes NULL

    I have built LOG4CXX lib and DLL and trying to use it in my application

    Loh.h
    class Log
    {
    public:
    Log(void);
    ~Log(void);
    void Debug(const char *msg);
  3. DLL Not Found Exception in exported unmanaged C++ DLL

    I have a unmanaged C++ DLL this is imported in another C# project.I am getting "DLL Not Found exception for this DLL while trying to access first method in it.I checked in dependency walker it...
  4. Exported typelib not getting updated C# project

    I am exporting DLL to a typelib(.tlb) using

    "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe" $(TargetDir)Project.dll /tlb:com.Project.tlb /codebase

    It is getting registered...
  5. Replies
    0
    Views
    564

    Access methods from interfaces

    I have project "X" in C# using .Net framework 2.0 ,I am Adding the assembly created to GAC using utility gacutil and registering it using regasm while doing this I exporting it into a tlb so that i...
  6. Replies
    6
    Views
    1,968

    Re: Import C# mthod in C++

    This was got corrected now.
    Another thing I stuck in same example is i have added reference of this C# DLL in another project and want to access methods declated within interface.But what I see is...
  7. Replies
    6
    Views
    1,968

    Re: Import C# mthod in C++

    I corrected it missing thing was setting "Make assembly COM-Visible".

    Now I am having one more issue I am now able to access interface within that C# DLL.I have also accessed first method within...
  8. Replies
    6
    Views
    1,968

    Re: Import C# mthod in C++

    I am having interfaces in C# DLL , but those are also not accessible using namespace.
    It seems .tlb is binary so can't read ,but i can see .tlh which generates in C++ project after importing .tlb....
  9. Replies
    6
    Views
    1,968

    Import C# mthod in C++

    I have C# DLL having methods in a namespace called "TestProject".I have created required .tlb file for this DLL.

    I am importing this DLL using statement -

    #import

    "com.TestProject.tlb"...
  10. Re: Linker error while connecting static library with DLL

    Yes ,it has many other modules and methods.Linker only complains about this class.
  11. Re: Linker error while connecting static library with DLL

    I had defination as well.This static library builds succesfully,but when trying build another C++ DLL throws linker error.Here is defination of SetLogger().

    log4net::ILog^ CustomLog::SetLogger()...
  12. Linker error while connecting static library with DLL

    I have a static library in which class with log4net is defined.something like this -

    public ref class CustomLog
    {
    public:
    static log4net::ILog^ m_logger;

    log4net::ILog^ SetLogger();
    };
  13. Linker error while connecting static library with DLL

    I have a static library in which class with log4net is defined.something like this -

    public ref class CustomLog
    {
    public:
    static log4net::ILog^ m_logger;

    log4net::ILog^ SetLogger();
    };
  14. Replies
    1
    Views
    392

    How Can I call C# method from C++?

    I have a requirement where I will need to acces/call one of the method in C# DLL/EXE , please let me know how can I achieve this?
  15. Passing data from C++ DLL to C# application

    I have a application in which has following component -

    PushManager - This solution contains a class in which C++ DLL(PushCommon) is Imported using DllImport().

    PushCommon - This soultion...
  16. Add new operation contract in WCF service created in C#

    I have created a WCF service called "xService" ,It has one interface with signatures of methods.This service is added in "Service Reference" of "XLibrary".Both of this are inside a single project.
    ...
  17. C++ project on both win32 and win64 platforms

    I have a project craeted for 32 bit machine currently,I need to make same compatible on 64 bit OS.Currently I am using preprocessor definations such as "WIN32,_X86_=1" which seems to be specific to...
  18. Replies
    3
    Views
    1,001

    Re: Can not access.. in CopyTo

    2. If your goal is completing the copying of files that weren't copied after the exception:
    Try putting the try catch and end try within the for, next loop.

    This way in the end I will not get...
  19. Replies
    3
    Views
    1,001

    Can not access.. in CopyTo

    Here is my function which is supposes to copy given files -

    Public Overridable Function CopyFiles(ByRef FileDocs As Documents)

    try
    Dim Folder As String = "D:\newFolder"
    For Each FileDoc ...
  20. Re: How to find invalid character set in string/char array

    The character which are out of character sets 0-127 will b eonsidered as invalid.I can't control the input &but any how I have to find location of that in my string/char array.

    Any suggestion to...
  21. Replies
    1
    Views
    482

    String bad pointers in Vector

    I have following piee of code -

    std::string sInput = "http://www.cplusplus.com/forum/post.cgi?w=new&i=854";
    vector<std::string> sStr;
    vector<std::string>::iterator Str_t;
    int c = 0;...
  22. How to find invalid character set in string/char array

    I am having a string/char array in which I want to test if any invalid character set(which is out of 0-127 standard character) exist.So what are the standard library functions available for this?
    ...
  23. Re: Heap corruption detected while freeing memory

    Code at that place will function something like this -
    //first check is added depending on one of the runtime value
    //as it is true cTemp will be assigned with new value


    I have restriction of...
  24. Re: Heap corruption detected while freeing memory

    GetGroupStatus() is called in for loop from Main.So when i = 0 it works fine , after that when I tries to free the memory throws an error message.Would it be good practise to set again to NULL after...
  25. Heap corruption detected while freeing memory

    I have following code in which I am getting "Heap corruption detected" message while trying to freeing memory allocated while using strdup().


    #include <iostream>
    #include <string>
    #include...
Results 1 to 25 of 50
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)