Click here to Skip to main content
15,905,148 members
Home / Discussions / C#
   

C#

 
QuestionProblem in crystal reports Pin
vijaylumar28-Nov-08 0:11
vijaylumar28-Nov-08 0:11 
JokeRe: Problem in crystal reports Pin
nelsonpaixao30-Nov-08 4:23
nelsonpaixao30-Nov-08 4:23 
QuestionHow to get values from dynamica generated HTML control Pin
Exelioindia27-Nov-08 23:40
Exelioindia27-Nov-08 23:40 
AnswerRe: How to get values from dynamica generated HTML control Pin
leppie28-Nov-08 0:09
leppie28-Nov-08 0:09 
AnswerRe: How to get values from dynamica generated HTML control Pin
Guffa28-Nov-08 3:53
Guffa28-Nov-08 3:53 
Questionregarding speach SDK5.1 Pin
Seraph_summer27-Nov-08 23:37
Seraph_summer27-Nov-08 23:37 
AnswerRe: regarding speach SDK5.1 Pin
Wendelius28-Nov-08 9:19
mentorWendelius28-Nov-08 9:19 
QuestionNeed help Marshaling in C# Pin
Tunçay Şanlı27-Nov-08 23:15
Tunçay Şanlı27-Nov-08 23:15 
Hi all... Smile | :)

I'll try my best to keep this query as compact as possible...

I'm currently working on a project that involves generating alarms/notifications for the Automated Distributed Control System at the company. Well, for this, the team has created Notification Client and Notification Server Applications.

There is also another .exe created that dumps a message (the message is taken from a database, by means of a function) into a Private queue (which can be viewed in the Computer Management tool). This .exe is intended to run alongside the Notification Server Application, which accesses the queue to obtain the messages, which are then displayed at the User Station by means of a method created (called rhsc_notifications; I'll detail that later).

The problem we are facing is that the display at the User station is truncated, i.e. in all fields, only the first character is displayed, and remaining data is missing. (The alarm/notification is displayed as multiple fields like Alarm generation location, priority, description, time, etc.).

This problem is faced when the Notification Server uses a method called rhsc_notifications directly. However, one of the team members created an interface in Visual Basic. This interface is called by the Notification Server, and the interface processes the message, and calls the rhsc_notifications method to display the message at the User Station. When this interface is used, the display turns out fine, no truncation. However, when the rhsc_notifications method is called directly from the Notification Server Application, there is truncation.

We are required to eliminate this interface, and call rhsc_notifications method directly. The thing is that this method uses a library that has NOT been developed in a .Net environment. Hence, there is the need to marshal the data.

We've tried a few things with marshaling, but the problem hasn't been resolved. So I'm hoping you guys will be able to help me out with this...

So, can I go ahead and post the code?

Thanks in advance...

Rose | [Rose] Tunçay Rose | [Rose]
AnswerRe: Need help Marshaling in C# Pin
leppie27-Nov-08 23:23
leppie27-Nov-08 23:23 
GeneralRe: Need help Marshaling in C# Pin
Tunçay Şanlı1-Dec-08 0:26
Tunçay Şanlı1-Dec-08 0:26 
QuestionVideo streaming Pin
resna.s27-Nov-08 22:11
resna.s27-Nov-08 22:11 
AnswerRe: Video streaming Pin
Simon P Stevens27-Nov-08 23:01
Simon P Stevens27-Nov-08 23:01 
AnswerRe: Video streaming Pin
Tom Deketelaere27-Nov-08 23:20
professionalTom Deketelaere27-Nov-08 23:20 
AnswerRe: Video streaming Pin
Pete O'Hanlon28-Nov-08 2:54
mvePete O'Hanlon28-Nov-08 2:54 
Question3tier - dataflow Pin
jogisarge27-Nov-08 21:28
jogisarge27-Nov-08 21:28 
AnswerRe: 3tier - dataflow Pin
Thomas Weller27-Nov-08 22:05
Thomas Weller27-Nov-08 22:05 
GeneralRe: 3tier - dataflow Pin
jogisarge28-Nov-08 9:05
jogisarge28-Nov-08 9:05 
GeneralRe: 3tier - dataflow Pin
Thomas Weller28-Nov-08 18:32
Thomas Weller28-Nov-08 18:32 
QuestionHow to log msg in Remote machine event log... Pin
Chintan.Desai27-Nov-08 20:11
Chintan.Desai27-Nov-08 20:11 
AnswerRe: How to log msg in Remote machine event log... Pin
Abhijit Jana27-Nov-08 20:38
professionalAbhijit Jana27-Nov-08 20:38 
Questionhow to cast combobox Pin
sadara27-Nov-08 20:01
sadara27-Nov-08 20:01 
QuestionRemoting Unit Testing suggestions. Pin
Member 232448327-Nov-08 19:48
Member 232448327-Nov-08 19:48 
QuestionInternal buffer(I/O) size of serialport Pin
Shivarudrayya H27-Nov-08 18:00
Shivarudrayya H27-Nov-08 18:00 
AnswerRe: Internal buffer(I/O) size of serialport Pin
Mbah Dhaim27-Nov-08 19:43
Mbah Dhaim27-Nov-08 19:43 
Questioncreating ssis package on the fly using C# Pin
l.laxmikant27-Nov-08 17:43
l.laxmikant27-Nov-08 17:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.