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

C#

 
GeneralRe: Paging - Performance - Scalability Pin
Guillermo Rivero12-Jan-04 6:47
Guillermo Rivero12-Jan-04 6:47 
GeneralFileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB11-Jan-04 16:46
RickardB11-Jan-04 16:46 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Heath Stewart12-Jan-04 1:52
protectorHeath Stewart12-Jan-04 1:52 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 13:41
RickardB12-Jan-04 13:41 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 17:26
RickardB12-Jan-04 17:26 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 20:47
RickardB12-Jan-04 20:47 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB14-Jan-04 0:00
RickardB14-Jan-04 0:00 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Heath Stewart14-Jan-04 3:31
protectorHeath Stewart14-Jan-04 3:31 
No, it would be an access problem if one client could access it via your COM component but another client couldn't, unless they were running with different credentials (something you have to manually do through several steps). This sounds more like a marshaling problem as I mentioned before.

Your COM component can only run as an out-of-process server if it is a stand-alone executable (.exe), so that's not even a valid case.

Since it worked before, you're obviously doing something right. Since it changed, you should figure out what changed. Two compiled applications don't magically change. If this is a marshaling problem, make sure you understand that Windows 9X/ME (Windows) use ASCII while Windows NT/2000/XP(/future versions of Windows) (Windows NT) use Unicode. I can't remember exactly how VB handles strings, but you can code your .NET applications to P/Invoke methods using either ASCII or Unicode depending on the OS type, which it will automatically do for you (see CharSet.Auto). I don't remember exactly how VB deals with the different OSes. Find out how that works and make sure your .NET application marshals the string accordingly appropriately on either of the Windows OS system type.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
Rocky Moore12-Jan-04 11:02
Rocky Moore12-Jan-04 11:02 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB12-Jan-04 13:37
RickardB12-Jan-04 13:37 
GeneralRe: FileSystemObject in VB returns the wrong value when used from .NET Pin
RickardB14-Jan-04 0:01
RickardB14-Jan-04 0:01 
General.NET Rebar Control Error Pin
David M. Kean11-Jan-04 15:54
David M. Kean11-Jan-04 15:54 
GeneralRe: .NET Rebar Control Error Pin
Heath Stewart12-Jan-04 1:36
protectorHeath Stewart12-Jan-04 1:36 
GeneralRe: .NET Rebar Control Error Pin
David M. Kean12-Jan-04 10:49
David M. Kean12-Jan-04 10:49 
GeneralMix Events Pin
Heroz11-Jan-04 12:35
Heroz11-Jan-04 12:35 
GeneralRe: Mix Events Pin
Colin Angus Mackay11-Jan-04 14:05
Colin Angus Mackay11-Jan-04 14:05 
QuestionHow to simulate map c++ collection in c# Pin
Rostrox11-Jan-04 11:49
Rostrox11-Jan-04 11:49 
AnswerRe: How to simulate map c++ collection in c# Pin
Heath Stewart11-Jan-04 11:54
protectorHeath Stewart11-Jan-04 11:54 
GeneralRe: How to simulate map c++ collection in c# Pin
Rostrox11-Jan-04 12:13
Rostrox11-Jan-04 12:13 
GeneralRe: How to simulate map c++ collection in c# Pin
Heath Stewart11-Jan-04 12:22
protectorHeath Stewart11-Jan-04 12:22 
Questionstartup parameters? Pin
Leon Radley11-Jan-04 10:35
Leon Radley11-Jan-04 10:35 
AnswerRe: startup parameters? Pin
Colin Angus Mackay11-Jan-04 10:57
Colin Angus Mackay11-Jan-04 10:57 
AnswerRe: startup parameters? Pin
Heath Stewart11-Jan-04 11:32
protectorHeath Stewart11-Jan-04 11:32 
GeneralRe: startup parameters? Pin
Nick Parker11-Jan-04 11:38
protectorNick Parker11-Jan-04 11:38 
GeneralRe: startup parameters? Pin
Heath Stewart11-Jan-04 11:42
protectorHeath Stewart11-Jan-04 11:42 

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.