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

hansipet

@hansipet
About
Posts
48
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Get ProjectName at compiletime
    H hansipet

    Hello, is there any possibility available to get the projectname during the compiletime? I need the projectname as string... Best regards Hansjörg

    C / C++ / MFC question

  • class libraries
    H hansipet

    Hello, in our company we have a solution with a lot of (dynamic)ibraries which we wont use in all of our projects. Now to use the unmanaged libraries is not a big problem. here we can use autolink to link agains the right library (debug mode and so on..). How I can solve the problem to make a reference to the right mixed library (the designer should also work!)? Best regards Hansjörg

    Managed C++/CLI debugging help question

  • The string binding is invalid
    H hansipet

    How I should free the singleton prior to process exiting? It is freeing automatically and I don't wont an explicitly call to a function. Best regards Hansjörg

    Managed C++/CLI wpf wcf help

  • The string binding is invalid
    H hansipet

    Hello, I have a problem with a mixed mode dll. In this dll it is a class (#pragma unmanaged) which contains a singleton. But now I have a porblem during unloading the program. During unload the program I became allways the message "Unhandled exception at 0x7c812a5b in Test.exe: 0xC0020001: The string binding is invalid". I have searched already a lot around the internet but there are a lot of messages regarding this problem. The most have only a solution for VS2003 and not VS2005. I have tested all what I have found. It is really easy to reproduce this problem. You need only a mixed mode dll and a unmanaged class with an singleton (the problems happens also with automatic atexit registration and also in manual) Best regards Hansjörg

    Managed C++/CLI wpf wcf help

  • Configuration framework
    H hansipet

    Hello, I search some configuration framework with which I can make application configuration. Edit inside the application, load and save a new configuration. The property grid is for sure usefull to make such a framework, but it is only a part of it... Til now I have found NINI which looks good. But it provides only to part of saving and loading...I search also the part of the graphical representation of the configuration data. Best regards Hansjörg

    C# workspace

  • Configuration framework
    H hansipet

    Hello, anyone knows if there is a configuration framework available which provides saving of configuration and edit the configuration in an graphical editor.. Best regards Hansjörg

    C# workspace

  • xml Stream to remote client
    H hansipet

    How I can provide a pseudo root element?

    C# question sysadmin xml help

  • xml Stream to remote client
    H hansipet

    Hello, I want to send log-data to a client over TCP/IP and UDP. As data format I think the best way is to use XML. Now I search a possibilty to make a well formed Xml file from the data. I have found some solutions with External entities. But here I have the problem that I have an live stream and I don't want to make allways a new file of the stream. What is the best solution to do this? It would be great If in the future I have the possibilty to open the log-server also with an internet explorer...may be someone can give me some hints... Best regards Hansjörg

    ASP.NET question sysadmin xml help

  • xml Stream to remote client
    H hansipet

    Hello, I want to send log-data to a client over TCP/IP and UDP. As data format I think the best way is to use XML. Now I search a possibilty to make a well formed Xml file from the data. I have found some solutions with External entities. But here I have the problem that I have an live stream and I don't want to make allways a new file of the stream. What is the best solution to do this? It would be great If in the future I have the possibilty to open the log-server with an internet explorer...may be someone can give me some hints... Best regards Hansjörg

    C# question sysadmin xml help

  • Warnings in c++/cli that make me a lot of headache
    H hansipet

    Thank you very much!!!

    Managed C++/CLI c++ tutorial

  • Warnings in c++/cli that make me a lot of headache
    H hansipet

    Thank you very much! Yes I know about the speed bumps but I'm careful with every transition (mostly from windows forms to unmanaged code)... Best regards Hansjörg

    Managed C++/CLI c++ tutorial

  • Warnings in c++/cli that make me a lot of headache
    H hansipet

    Hello, advice 2 was really good. It works! The only thing that I don't have tested :-( for the first point: I have a mixed c++/cli (for speed reasons) program. And for that I have in a few assemblies classes which are totally unmanaged: #pragma managed(push,off) class Test { static std::wstring teststr; //some other functions... } In this class I don't have the possibility to use a managed string class. And the only way (that I know) to initialize the static member is std::wstring Test::teststr = L""; Isn't it? What do you do in that case? Best regards Hansjörg

    Managed C++/CLI c++ tutorial

  • Warnings in c++/cli that make me a lot of headache
    H hansipet

    Okay I understand the problems, but what I can do? How I can have the warnings away (not only with pragma)? 1) I need unmanaged classes and there I have static instances... 2) I understand also this, but in this case the column is a integer...What I have to do? Best regards Hansjörg

    Managed C++/CLI c++ tutorial

  • Warnings in c++/cli that make me a lot of headache
    H hansipet

    Hello, I have a few warnings in c++/ cli that I don't know how to resolve: 1) Warning 1 warning C4835: 'startupDirectory' : the initializer for exported data will not be run until managed code is first executed in the host assembly FileUtils.cpp 76 okay in this there is a unmanaged class (#pragma managed(push,off)) with a static variable class CFileUtils{ std::wstring startupDirectory(L""); } and in the c++ file std::wstring CFileUtils::startupDirectory(L""); 2) Warning 6 warning C4965: implicit box of integer 0; use nullptr or explicit cast AlarmViewerControl.h 594 in this case I have the following code. I have tested already all casts that I know... DataRow ^dr = dt->NewRow(); dr["clmId"] = 0; Best regards and thanks for any hint! Hansjörg

    Managed C++/CLI c++ tutorial

  • Convert vector to managed array
    H hansipet

    I think everyone knows that code can be written, compiled and execute. But not every code is the best and fastest solution for a given a problem. I think it would be better when you don't give such stupid hints!

    Managed C++/CLI graphics data-structures question

  • Convert vector to managed array
    H hansipet

    Hello, Is there an easy and fast way to convert an vector to a managed array? Best regards Hansjörg

    Managed C++/CLI graphics data-structures question

  • Fast possiblity to send data from Server to Client
    H hansipet

    I'm not sure at the moment if this works. The main purpose of this application is to send the log data to other connected clients. For that I don't wan't to poll allways the server.. but maybe that there is possibility to use the stream! do you know if it is possible to deserialize objectes allways from the same stream? Best regards and many thanks

    C# question sysadmin

  • Fast possiblity to send data from Server to Client
    H hansipet

    another thing that I have forgotten...the data is allways a instance of the same class Thanks Hansjörg

    C# question sysadmin

  • Fast possiblity to send data from Server to Client
    H hansipet

    Hello, I search for a fast possibility to send data from a server to the client. It should be possible to send the data from one PC to the other. For some other functions the server implements at the moment a remote interface with RegisterWellKnownServiceType... What is the best possibity to send data (in worst case it could be about 1Mb/s) to the client? Best regards Hansjörg

    C# question sysadmin

  • Get Ip address of the interface which is used for a connection to another pc
    H hansipet

    Hello, Is it possible to get the ip address of the interface which is used when I send some data to another pc. Best regards Hansjörg

    C#
  • Login

  • Don't have an account? Register

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