Search:

Type: Posts; User: mdoland

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,064

    Using VB-dll with C

    I have a dll written in VB and would like to load it and use it from C code. How do I do that? Are there any type differences that I need to handel, that is the Strings are different etc.

    I have...
  2. Replies
    13
    Views
    2,331

    Thanks for the advice about the URL references. ...

    Thanks for the advice about the URL references.

    I have gone through all the parameters again and still can't find anything. I found a similair issue here, though, it didn't help me.
    ...
  3. Replies
    13
    Views
    2,331

    There are 4 directories now. Release, Debug, X64...

    There are 4 directories now. Release, Debug, X64 Release, X64 Debug
    I have cleaned and all files disappeared in the directory. They I build and get the same error again. I am trying to read some...
  4. Replies
    13
    Views
    2,331

    Sorry, I realized that after I pressed send....

    Sorry, I realized that after I pressed send. Configuration is the name. I have created 2 new, which probably is a good start, bu I still get the same error. I saw some other thread where they did...
  5. Replies
    13
    Views
    2,331

    I have tried to create new platform/solution, but...

    I have tried to create new platform/solution, but I can only choose between 2 existing:
    -Pocket PC 2003 (ARMV4)
    -Smartphone 2003 (ARMV4)

    If I type something new, I get an error. I have VC 2005....
  6. Replies
    13
    Views
    2,331

    When I compile it I get this: fatal error...

    When I compile it I get this:
    fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' c:\Documents and Settings\mdg\My...
  7. Replies
    13
    Views
    2,331

    Well, it's actually not that much code. It's just...

    Well, it's actually not that much code. It's just one class with mostly JNI headers, besides the stdafx.h file. I assume the comparative X64 stdafx.h should be pretty standard, assuming you know how...
  8. Replies
    13
    Views
    2,331

    Update code for Vista 64

    What would I need to change in this program to get it working on a Windows Vista 64 (AMD).

    http://www2.hawaii.edu/~qzhang/FileSystemWatcher.html

    I assume most changes would be in the stdafx.h...
  9. Thread: enum question

    by mdoland
    Replies
    2
    Views
    1,170

    Thanks.... again.

    Thanks.... again.
  10. Replies
    3
    Views
    2,369

    Thanks

    Thanks
  11. Thread: enum question

    by mdoland
    Replies
    2
    Views
    1,170

    enum question

    I am parsing a XML file. I have enum:ed some things like this:



    enum NeighbourhoodDogs {Felix, Fido, Boo}


    In the XML file I later get records like this:
  12. Replies
    3
    Views
    2,369

    Error handling in constructor

    I wonder what general strategy one should have when it comes to error handling in constructors. How do you do? Do whatever you can to avoid that it happens, that is only call the constructor with...
  13. Replies
    0
    Views
    1,123

    clients registring and receiving messages

    I want to create a server in C# where clients can register. If they are registered, they will receive XML-messages (over TCP/IP) that are pushed from "the server" when it has something to send. Is...
  14. Replies
    2
    Views
    912

    Newbie question

    Sometimes you want a program to expose an API. That is usually (to the best of my knowledge) done by making API classes and then in runtime the calls to the API are copied over to the inside so to...
  15. Replies
    1
    Views
    2,776

    Broadcast on the right interface in C#

    I want to broadcast on the local LAN, however, when I broadcast, it only sends out the packet on a virtual NIC (a VPN). How do I get it to send on the LAN instead (or on both)?
  16. Hmm, slightly embarassed. I think I found the...

    Hmm, slightly embarassed. I think I found the error. I started one character to late. I skipped the <.

    Thank you anyway. Sometimes one just have to express the problem to realize what actually is...
  17. XmlException: The data at the root level is invalid. Line 1, position 1.

    I have tried to fins anything about this on Internet, and do get some hits. However, I don't seem to be able to figure out what is wrong. Anyone that have an idea?

    The data should be ok. It starts...
  18. Replies
    1
    Views
    1,926

    Casting Enumerator?!?

    I have implemented a Properties class that may contain name-value pairs. They are stored in a Hashtable. Now I want to implement this function:
    Enumerator<string> PropertyNames();

    How do I do...
  19. Replies
    1
    Views
    2,840

    Well, I decided to translate it myself.

    Well, I decided to translate it myself.
  20. Replies
    1
    Views
    2,840

    DbConnectionPool in C#

    I wonder if there is an existing solution similar to this, but in C#? Or maybe something that is close enough?
    http://www.webdevelopersjournal.com/columns/connection_pool.html
  21. Replies
    2
    Views
    1,195

    Great!

    Thanks alot!
  22. Replies
    2
    Views
    1,195

    String template

    In Java I know there is a class that makes it possible to have a file with strings looking like this:



    afdasda {1} dfsfsdf sdfsdf {2} fd gerhery
    rjhrt {1} rjt sdfsdf {2} fd gerherert y {3}
    ...
  23. Thread: Thread pool

    by mdoland
    Replies
    3
    Views
    1,679

    thanks!

    thanks!
  24. Replies
    0
    Views
    3,266

    Design layer question

    This question isn't a pure C# question, but rather a design question.

    Just to get a better idea about the question, I will give you an example. Pretend I am going to implement a solution that...
  25. Replies
    1
    Views
    1,513

    Charts and Graphing

    Are there any good free C# code libs that I can use to add different kinds of graphs and charts to my C# application?
Results 1 to 25 of 41
Page 1 of 2 1 2