Click here to Skip to main content
15,881,380 members
Home / Discussions / C#
   

C#

 
GeneralRe: Combo Box in ToolBar Pin
Ista25-Aug-03 15:28
Ista25-Aug-03 15:28 
GeneralRe: Combo Box in ToolBar Pin
Nick Parker25-Aug-03 17:40
protectorNick Parker25-Aug-03 17:40 
GeneralRe: Combo Box in ToolBar Pin
Ista25-Aug-03 17:43
Ista25-Aug-03 17:43 
GeneralRe: Combo Box in ToolBar Pin
Nick Parker25-Aug-03 18:31
protectorNick Parker25-Aug-03 18:31 
GeneralRe: Combo Box in ToolBar Pin
Ista26-Aug-03 3:26
Ista26-Aug-03 3:26 
GeneralObject reference not set to an instance of an object. Pin
HJo24-Aug-03 23:16
HJo24-Aug-03 23:16 
GeneralRe: Object reference not set to an instance of an object. Pin
Roger Stewart25-Aug-03 7:43
professionalRoger Stewart25-Aug-03 7:43 
GeneralRe: Object reference not set to an instance of an object. Pin
HJo25-Aug-03 20:30
HJo25-Aug-03 20:30 
Thank you for your reply!

There is no need to create an instance, since the methods are declared static. I'm sure GetLiveList() is declared dllexport in the dll. The C++ code was a header file used when importing the dll into C++ code, which I have used as a model for my C# interface.

The problem turned out to be the difference of the long data type between C++ and C#: C++ long is 4 bytes whereas C# long is 8 bytes and C# int is 4 bytes. So the solution was to replace all occurences of long in the interface with int. Smile | :)

Regards,
/Henrik
QuestionHow to save/load stream(such as image) to/from database? Pin
xfqiu24-Aug-03 22:46
xfqiu24-Aug-03 22:46 
AnswerRe: How to save/load stream(such as image) to/from database? Pin
Mazdak25-Aug-03 3:03
Mazdak25-Aug-03 3:03 
GeneralRunning webpage Pin
deanoA24-Aug-03 22:14
deanoA24-Aug-03 22:14 
GeneralRe: Running webpage Pin
Mazdak25-Aug-03 4:56
Mazdak25-Aug-03 4:56 
GeneralAccessing Over A NETWORK Pin
deanoA24-Aug-03 20:40
deanoA24-Aug-03 20:40 
GeneralRe: Accessing Over A NETWORK Pin
Julian Bucknall [MSFT]26-Aug-03 7:06
Julian Bucknall [MSFT]26-Aug-03 7:06 
GeneralInheritance w/ 2 Main() methods in Visual Studio .NET C# Pin
Joe McBride24-Aug-03 15:48
Joe McBride24-Aug-03 15:48 
GeneralRe: Inheritance w/ 2 Main() methods in Visual Studio .NET C# Pin
Joe McBride24-Aug-03 18:45
Joe McBride24-Aug-03 18:45 
GeneralWindowsService Questions Pin
Mazdak24-Aug-03 10:49
Mazdak24-Aug-03 10:49 
GeneralRe: WindowsService Questions Pin
Corinna John28-Aug-03 1:39
Corinna John28-Aug-03 1:39 
GeneralRe: WindowsService Questions Pin
Mazdak28-Aug-03 8:02
Mazdak28-Aug-03 8:02 
GeneralRe: WindowsService Questions Pin
Corinna John29-Aug-03 1:46
Corinna John29-Aug-03 1:46 
GeneralRe: WindowsService Questions Pin
Mazdak29-Aug-03 2:40
Mazdak29-Aug-03 2:40 
GeneralRe: WindowsService Questions Pin
Corinna John29-Aug-03 9:50
Corinna John29-Aug-03 9:50 
Generalreading and writting excel format/or using ado.net Pin
djkno324-Aug-03 6:32
djkno324-Aug-03 6:32 
QuestionIs it possible to display a WinForm in a WebForm? Pin
Cristoff24-Aug-03 4:21
Cristoff24-Aug-03 4:21 
AnswerRe: Is it possible to display a WinForm in a WebForm? Pin
leppie24-Aug-03 5:22
leppie24-Aug-03 5:22 

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.