Click here to Skip to main content
15,928,281 members
Home / Discussions / C#
   

C#

 
GeneralChanging standard look of scroll bars Pin
Vladimir Knezevic28-Sep-04 21:08
Vladimir Knezevic28-Sep-04 21:08 
GeneralRe: Changing standard look of scroll bars Pin
RichiLloyd5-Oct-04 0:43
RichiLloyd5-Oct-04 0:43 
Generala FUNCTION 2 CALCULATE SECONDS since time struck 12 Pin
compu2rbloo28-Sep-04 18:50
compu2rbloo28-Sep-04 18:50 
GeneralRe: a FUNCTION 2 CALCULATE SECONDS since time struck 12 Pin
Rein Hillmann28-Sep-04 21:15
Rein Hillmann28-Sep-04 21:15 
GeneralRe: a FUNCTION 2 CALCULATE SECONDS since time struck 12 Pin
Stefan Troschuetz28-Sep-04 21:21
Stefan Troschuetz28-Sep-04 21:21 
GeneralRe: a FUNCTION 2 CALCULATE SECONDS since time struck 12 Pin
compu2rbloo29-Sep-04 18:55
compu2rbloo29-Sep-04 18:55 
GeneralRe: a FUNCTION 2 CALCULATE SECONDS since time struck 12 Pin
Gavin Jeffrey29-Sep-04 20:32
Gavin Jeffrey29-Sep-04 20:32 
Generalpdf text manipulation Pin
Naga Sudha28-Sep-04 18:43
Naga Sudha28-Sep-04 18:43 
GeneralRe: pdf text manipulation Pin
Heath Stewart29-Sep-04 6:01
protectorHeath Stewart29-Sep-04 6:01 
GeneralRe: pdf text manipulation Pin
Jon G29-Sep-04 6:12
Jon G29-Sep-04 6:12 
GeneralE-Commerce Pin
The_Soul_Of_Rock28-Sep-04 17:29
The_Soul_Of_Rock28-Sep-04 17:29 
GeneralRe: E-Commerce Pin
Werdna29-Sep-04 2:47
Werdna29-Sep-04 2:47 
GeneralEdit excel text box using C# Pin
manishoz28-Sep-04 14:40
manishoz28-Sep-04 14:40 
Generaliterating through xml created from a spreadsheet Pin
wend28-Sep-04 12:51
wend28-Sep-04 12:51 
GeneralRe: iterating through xml created from a spreadsheet Pin
Heath Stewart28-Sep-04 13:11
protectorHeath Stewart28-Sep-04 13:11 
QuestionOutlook sync component? Pin
cmkWildsky28-Sep-04 11:53
cmkWildsky28-Sep-04 11:53 
AnswerRe: Outlook sync component? Pin
Heath Stewart28-Sep-04 13:12
protectorHeath Stewart28-Sep-04 13:12 
GeneralC# COM object to TLB generation problem Pin
Werdna28-Sep-04 10:35
Werdna28-Sep-04 10:35 
GeneralRe: C# COM object to TLB generation problem Pin
Heath Stewart28-Sep-04 15:41
protectorHeath Stewart28-Sep-04 15:41 
GeneralRe: C# COM object to TLB generation problem Pin
Werdna28-Sep-04 16:00
Werdna28-Sep-04 16:00 
GeneralRe: C# COM object to TLB generation problem Pin
Heath Stewart28-Sep-04 18:34
protectorHeath Stewart28-Sep-04 18:34 
GeneralRe: C# COM object to TLB generation problem Pin
Werdna29-Sep-04 4:33
Werdna29-Sep-04 4:33 
GeneralRe: C# COM object to TLB generation problem Pin
Heath Stewart29-Sep-04 5:51
protectorHeath Stewart29-Sep-04 5:51 
GeneralRe: C# COM object to TLB generation problem Pin
Werdna29-Sep-04 6:17
Werdna29-Sep-04 6:17 
I see. thanks.

Do you know if there are any restrictions on types you can use within .net COM client?

I have my C# class do:
new SqlConnection(connectionstring)

and it throws access violation exception:

Error Msg: System.TypeInitializationException: The type initializer for 'System.
Data.SqlClient.SqlConnectionFactory' threw an exception. ---> System.TypeInitial
izationException: The type initializer for 'System.Data.SqlClient.SqlPerformance
Counters' threw an exception. ---> System.AccessViolationException: Attempted to
read or write protected memory. This is often an indication that other memory h
as been corrupted.
at System.Data.ProviderBase.DbConnectionPoolCounters.GetInstanceName()
at System.Data.ProviderBase.DbConnectionPoolCounters.InitCounters(String cate
goryName, String categoryHelp)
at System.Data.SqlClient.SqlPerformanceCounters..ctor()
at System.Data.SqlClient.SqlPerformanceCounters..cctor()
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlConnectionFactory..ctor()
at System.Data.SqlClient.SqlConnectionFactory..cctor()
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlConnection..ctor()
at System.Data.SqlClient.SqlConnection..ctor(String connectionString)


When I use my client thru C#, it's all fine. My C++ COM clinet is very simple for the test case, it just creates COM object and calls one method with no parameters and no return values (I did that to see if it was some memory problem in C++ client).

GeneralToolBar That Doesn't Move Pin
MarkMokris28-Sep-04 10:04
MarkMokris28-Sep-04 10:04 

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.