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

Search:

Type: Posts; User: Jef Patat

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    524

    Static library design advise needed

    Dear all,

    I'm currently setting up a project which will need to run on both win32 and wince. A lot of code will be common, but a substantial part will also be specific depending on the platform....
  2. Replies
    3
    Views
    1,103

    Re: Throw compiler error based on const value

    I had thought of a solution like this as well, but this is an execution time exception. C++ allows you to have a compile time exception.

    A simplified example of my situation: several arrays...
  3. Replies
    3
    Views
    1,103

    Throw compiler error based on const value

    Hi all,

    I would like to throw a compiler error based on a const value. The situation is that this constant is used on several places in the code. However, in some places the code needs adaption...
  4. Re: Limit the value of a property in Toolbox

    Well, my question remains: how can the limiting be done? Normally I use exceptions but this does not work for the designer is there some other trick?

    thank you, Jef
  5. Limit the value of a property in Toolbox

    Hi all,

    somehow it is possible to limit the value of a property in the toolbox. For example if one tries to enter a negative number for tabindex you get a message.

    I am interested in using...
  6. Debug assertion failed: _CrtIsValidHeapPointer

    Hi all,

    My main application is calling a method of class which is implemented in a dll. I have the possibility to change both and after a bit of googling I was able to sort out my problem. It...
  7. Re: How to use datarelations after reading xml

    Ok, my example was maybe a bit too vague to explain my problem completely. Suppose the xml looks like this:



    <Types>
    <Type>
    <Type>Discrete</Type>
    <Name>bool</Name>
    <ID>1</ID>...
  8. Replies
    9
    Views
    822

    Re: Confused about references

    table.Rows[ i ]["Value"] is of the type object so I must pass it that way. The compiler allows assigning a string to object, this seems logical since String is inherited from Object.

    Your...
  9. How to use datarelations after reading xml

    All,

    when I read this xml using DataSet.ReadXml I get a dataset with relations. How can I use this data inside when the relations have an autogenerated name? In the end I would like to put the...
  10. Replies
    9
    Views
    822

    Re: Confused about references

    Sorry, I made a mistake in my example, this wouldn't even compile. But with this code I have the same problem



    void Method(Object cell)
    {
    cell = "test 2";
    }
  11. Replies
    9
    Views
    822

    Re: Confused about references

    Well, suppose I know that a certain column contains strings and I want to modify a cell of the table inside a method, I do this:


    table.Rows[ i ]["Value"] = "test 1";
    Method(table.Rows[ i...
  12. Replies
    9
    Views
    822

    Confused about references

    Hi all,

    I want to modify the contents of a DataTable cell in a method. I assumed that just passing table.Rows[i]["Value"] would be enough. There is no passing by value in this case. I figured...
  13. Re: How to force a const object in const memory

    I would not expect it to be at a random place in memory. Since it is constant I would expect the compiler to place it somewhere in ROM. Just as if you would have a global constant integer variable....
  14. Re: How to force a const object in const memory

    Isn't there an easier way than using the raw address? Then you need to take care of size of Bar, what if there are several Bars with different sizes?
  15. How to force a const object in const memory

    Hi all,

    we are working in an embedded environment. We do care where variables are placed, RAM or ROM.

    We would like to know how we can force the compiler to put a const object in ROM.


    ...
  16. How to reach a global function with the same name as a method

    Hi all,

    by coincidence I started thinking about how to reach a global function that has the same signature as a method. (I know this is bad design but let's leave that aside ;) )



    void...
  17. Replies
    15
    Views
    2,491

    Re: Datatables and relations

    Based on your example I played around a bit more. I disliked the fact that the elements got spread all over the xml (It is my intention to later on edit it manually) I did so research and found...
  18. Replies
    15
    Views
    2,491

    Re: Datatables and relations

    I have to agree with you. I'm afraid that Toraj58's help is not getting me any further. I don't know if your's will but it looks like it's in the right direction :rolleyes:
    My understanding of...
  19. Replies
    15
    Views
    2,491

    Re: Datatables and relations

    If I read the example xml from my first post I don't understand how I can get a list/column/row/whatever of all required languages for user Test2. I don't understand how to interprete the extra...
  20. Replies
    15
    Views
    2,491

    Re: Datatables and relations

    I agree. The problem is that I am not an expert in this and that, when I try to write a schema I get stuck for sure. So what I tried is first reading the xml and the generating the schema by using...
  21. Replies
    15
    Views
    2,491

    Datatables and relations

    Hi all,

    I'm trying to read an xml file that looks like this.

    <?xml version="1.0" encoding="utf-16"?>
    <TestApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="TestApp">
    ...
  22. Replies
    2
    Views
    510

    Re: .net mailserver component

    Well, I suppose if googling gave me the answer I wouldn't post in the forum would i?

    I could find a lot of components to send to smtp or to receive from pop3, but what we need is the oposite...
  23. Replies
    2
    Views
    510

    .net mailserver component

    Hi all,

    does anyone know of a component that can be used to add a mailserver to an application. The mailserver should be a part of the application itself.

    What we want to achieve is that every...
  24. Replies
    1
    Views
    486

    Mail server application

    Hi all,

    Currently our IS department provides only MS exchange without SMTP or POP. A program that we use only supports SMTP and POP3.

    Does anyone know of a component (free or paid) or sample...
  25. Replies
    1
    Views
    606

    Multiple forms application

    Hi all,

    I've been searching the net but can't find what I'm looking for. I assume the main reason is that I don't know the name of what I'm looking for :sick:

    I would like to make an...
Results 1 to 25 of 159
Page 1 of 7 1 2 3 4


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center