Click here to Skip to main content
14,297,814 members

Managed C++/CLI

 
AnswerRe: I have spy ware on this computer I tracked it...... Pin
Richard Andrew x6422-Sep-15 10:42
professionalRichard Andrew x6422-Sep-15 10:42 
GeneralRe: I have spy ware on this computer I tracked it...... Pin
Member 1198386423-Sep-15 10:22
memberMember 1198386423-Sep-15 10:22 
GeneralRe: I have spy ware on this computer I tracked it...... Pin
Richard MacCutchan23-Sep-15 21:42
protectorRichard MacCutchan23-Sep-15 21:42 
AnswerRe: I have spy ware on this computer I tracked it...... Pin
Richard MacCutchan22-Sep-15 21:13
protectorRichard MacCutchan22-Sep-15 21:13 
QuestionRe: I have spy ware on this computer I tracked it...... Pin
Paul Conrad13-Oct-15 7:17
professionalPaul Conrad13-Oct-15 7:17 
AnswerRe: I have spy ware on this computer I tracked it...... Pin
Richard MacCutchan13-Oct-15 8:03
protectorRichard MacCutchan13-Oct-15 8:03 
GeneralRe: I have spy ware on this computer I tracked it...... Pin
Paul Conrad13-Oct-15 8:13
professionalPaul Conrad13-Oct-15 8:13 
QuestionSet a Byte Array to a SqlServer database on C++\Cli Pin
betedesvosges24-Aug-15 3:40
memberbetedesvosges24-Aug-15 3:40 
Hello,

I have a byte array that i want to set on a sqlserver database with ADO.NET.
I have an error message : Cannot convert 'signed char *' to 'System::Object ^'
What is wrong ?
Thanks in advance.

// Connexion
SqlConnection ^connection = gcnew SqlConnection(connectString);
connection->Open();

// Requete
String ^ myRequete = "UPDATE COM_PKCS12 SET PKCS12 = @myPKCS12 WHERE ID = '" + System::Convert::ToString(id) + "'";

// Objet Command
SqlCommand ^command = gcnew SqlCommand( myRequete, connection);

//Datas
SByte * testByteArray = pkcs12Data->array;

// Parameters
command->Parameters->Add(gcnew SqlParameter("@myPKCS12", SqlDbType::VarBinary));
command->Parameters["@myPKCS12"]->Value = testByteArray;

// Execution
int affectedrows = command->ExecuteNonQuery();

// Fermeture connection
connection->Close();

SuggestionRe: Set a Byte Array to a SqlServer database on C++\Cli Pin
Richard Deeming24-Aug-15 5:08
mveRichard Deeming24-Aug-15 5:08 
Questionsending a opencv Mat to a shared library generated by matlab Pin
Member 1156211423-Aug-15 9:35
memberMember 1156211423-Aug-15 9:35 
Questioncan anyone help me it this Pin
Alaa Radwan21-Aug-15 18:18
memberAlaa Radwan21-Aug-15 18:18 
GeneralRe: can anyone help me it this Pin
Richard MacCutchan21-Aug-15 22:05
protectorRichard MacCutchan21-Aug-15 22:05 
QuestionUpdating my projects to retarget to .NET 4.6 Pin
John Schroedl18-Aug-15 2:24
professionalJohn Schroedl18-Aug-15 2:24 
AnswerRe: Updating my projects to retarget to .NET 4.6 Pin
John Schroedl20-Aug-15 7:29
professionalJohn Schroedl20-Aug-15 7:29 
Questionusing 'mkdir' for creating new directory Pin
Member 93502373-Aug-15 5:24
memberMember 93502373-Aug-15 5:24 
AnswerRe: using 'mkdir' for creating new directory Pin
Richard MacCutchan3-Aug-15 5:50
protectorRichard MacCutchan3-Aug-15 5:50 
GeneralRe: using 'mkdir' for creating new directory Pin
Member 93502374-Aug-15 4:26
memberMember 93502374-Aug-15 4:26 
GeneralRe: using 'mkdir' for creating new directory Pin
Richard MacCutchan4-Aug-15 5:51
protectorRichard MacCutchan4-Aug-15 5:51 
GeneralRe: using 'mkdir' for creating new directory Pin
PIEBALDconsult3-Aug-15 6:16
protectorPIEBALDconsult3-Aug-15 6:16 
AnswerRe: using 'mkdir' for creating new directory Pin
Wes Aday3-Aug-15 9:26
professionalWes Aday3-Aug-15 9:26 
Questionadding pointer arrays Pin
Member 935023729-Jul-15 22:09
memberMember 935023729-Jul-15 22:09 
AnswerRe: adding pointer arrays Pin
Richard Andrew x6430-Jul-15 9:29
professionalRichard Andrew x6430-Jul-15 9:29 
AnswerRe: adding pointer arrays Pin
Richard MacCutchan30-Jul-15 21:26
protectorRichard MacCutchan30-Jul-15 21:26 
GeneralRe: adding pointer arrays Pin
Member 935023730-Jul-15 21:51
memberMember 935023730-Jul-15 21:51 
GeneralRe: adding pointer arrays Pin
Richard MacCutchan30-Jul-15 22:16
protectorRichard MacCutchan30-Jul-15 22:16 

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.