Results 1 to 7 of 7

Hybrid View

  1. #1
    Member
    Join Date
    Mar 2007
    Location
    Dus
    Posts
    5

    Question

    Hi Dario,

    thanks for your reply. I did not know there was another log as well. I was looking in the \logs folder.

    Now that i've seen the log, it seems there is something wrong with the compiled DLL, as it states:
    "System.BadImageFormatException: The format of the file 'DotNetStockListDemo.dll' is invalid."

    I tried your suggestion to compile the sources using csc.exe: it works now...
    Thanks!

    I've got a new question though:
    Is it possible to dynamically size the table, IE get more lines when more data is available and remove lines when data is removed? (Is there an example somewhere?)
    I will need to monitor a queue with this project. Items can be added to and removed from the queue. I'd like the table to hold exactly these items, no more, no less.

    Thanks again for your help,
    Kind regards,
    Erik.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784

    Moved

    EriOor, I've posted a response on the .NET client API forum:
    http://www.lightstreamer.com/vb/showthread.php?p=351

  3. #3
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Erik,

    we were not aware of bytecode format problems caused by different compiling contexts.
    We will need to investigate on this.

    Dario

  4. #4
    Member
    Join Date
    Mar 2007
    Location
    Dus
    Posts
    5

    Lightbulb Solution!

    Hi Dario,

    I've found the problem: Visual Studio 2005 builds projects using the .NET 2.0 compiler, which obviously won't work on .NET 1.1 versions of the reference.
    Apparently there are workarounds for that, but the easiest solution is to build the 2.0 version of the program of course.

    I've built the Demo with the 2.0 reference and included the needed files in de adapters folder: It all works now!

    Sorry for the confusion!
    It did prove usefull though, as another user was asking the exact same question:
    http://www.lightstreamer.com/vb/showthread.php?t=75

    This might be something to add in an FAQ or something

    Kind regards,
    Erik.

  5. #5
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,091
    Thank you very much, Erik.

    I thought about .NET version, but I probably confused Visual Studio 2005 with Visual Studio 2003.

    Dario

 

 

Similar Threads

  1. example/DotNetStockListDemo with Net 2.0
    By martin in forum Adapter SDKs
    Replies: 1
    Last Post: January 8th, 2010, 11:58 AM
  2. Demo not working within my framework...
    By athanasius2 in forum General
    Replies: 3
    Last Post: April 17th, 2009, 12:40 PM
  3. LS getFieldValue not working
    By shreyaspurohit in forum Client SDKs
    Replies: 4
    Last Post: December 18th, 2008, 09:39 AM
  4. Replies: 6
    Last Post: December 12th, 2007, 04:45 PM
  5. Working examples!
    By jkrassman in forum Client SDKs
    Replies: 1
    Last Post: November 5th, 2007, 11:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:18 PM.