Click here to Skip to main content
15,915,724 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Managed strings and buffers to nonmanaged Pin
Nathan Blomquist11-Jul-03 7:20
Nathan Blomquist11-Jul-03 7:20 
GeneralRe: Managed strings and buffers to nonmanaged Pin
jspano11-Jul-03 7:23
jspano11-Jul-03 7:23 
GeneralRe: Managed strings and buffers to nonmanaged Pin
jspano11-Jul-03 7:51
jspano11-Jul-03 7:51 
GeneralRe: Managed strings and buffers to nonmanaged Pin
Nathan Blomquist11-Jul-03 11:02
Nathan Blomquist11-Jul-03 11:02 
GeneralRe: Managed strings and buffers to nonmanaged Pin
jspano15-Jul-03 8:56
jspano15-Jul-03 8:56 
Generalstorage of images into oracle database using vc++.net Pin
Shaffiq7-Jul-03 7:49
Shaffiq7-Jul-03 7:49 
GeneralSetup for networks using Vstudio .NET 2003 Pin
BoudewijnEctor3-Jul-03 23:34
BoudewijnEctor3-Jul-03 23:34 
GeneralRe: Setup for networks using Vstudio .NET 2003 Pin
Heath Stewart11-Jul-03 5:59
protectorHeath Stewart11-Jul-03 5:59 
They have to add a CodeGroup to their security config files. Since the app is across the network, it has limit functionality since .NET runs in a secure, sandbox-like manner.

The easiest way is to have them click Start->Settings->Control Panel->Administrative Tools->Microsoft .NET Framework Configuration, drill-down to Runtime Security Policy->Machine->All_Code and add a new code group using a membership condition like Site, Url, or StrongName (for a signed DLL) and enter the coresponding information. Click Next and select FullTrust, then Finish. They could also change the LocalIntranet code group to have FullTrust permissions, but this isn't always recommended, especially if you can't trust all the managed code on the network. This also doesn't give you much granual control over code on the network, in case you want to limit what a certain application can do.

Sound too hard? You can also create an XML config file that is either pushed out to the other developers that contains this information or have them import it using a similar method from above.

Also keep in mind that managed assemblies don't really need to be installed. They just need to be copied. This is called XCOPY deployment (although other copy mechanisms like a shell copy work just as well). .NET assemblies do not need to be registered (unless they are exposed as COM objects through COM interop and CCWs) and only need to be installed into the GAC if you want your libraries available to everything that wants it (i.e., other applications).

 

Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN

GeneralLinking Errors (operator new redifined) mixing MFC and .NET Pin
DarrylB29-Jun-03 23:56
DarrylB29-Jun-03 23:56 
GeneralMore on mixing managed code and API code Pin
Jeremy Osner27-Jun-03 4:13
Jeremy Osner27-Jun-03 4:13 
GeneralRe: More on mixing managed code and API code Pin
Jeremy Osner27-Jun-03 8:42
Jeremy Osner27-Jun-03 8:42 
GeneralCreating Inherited forms Pin
sivaramakrishna26-Jun-03 19:44
sivaramakrishna26-Jun-03 19:44 
GeneralRe: Creating Inherited forms Pin
Nick Hodapp9-Jul-03 7:04
sitebuilderNick Hodapp9-Jul-03 7:04 
QuestionHow to mix managed code and API code? Pin
Jeremy Osner26-Jun-03 7:41
Jeremy Osner26-Jun-03 7:41 
AnswerRe: Figured it out! Pin
Jeremy Osner26-Jun-03 7:49
Jeremy Osner26-Jun-03 7:49 
GeneralRe: Figured it out! Pin
Nathan Blomquist27-Jun-03 1:54
Nathan Blomquist27-Jun-03 1:54 
GeneralRe: Figured it out! Pin
Jeremy Osner27-Jun-03 2:20
Jeremy Osner27-Jun-03 2:20 
Generalconverting an idl file to .h Pin
si_6926-Jun-03 0:37
si_6926-Jun-03 0:37 
GeneralRe: converting an idl file to .h Pin
leppie26-Jun-03 7:17
leppie26-Jun-03 7:17 
Generalmouse pointer movement Pin
mujay23-Jun-03 2:42
mujay23-Jun-03 2:42 
GeneralShared Assembly Problem Pin
SuperGeek20-Jun-03 15:31
SuperGeek20-Jun-03 15:31 
GeneralRe: Shared Assembly Problem Pin
James T. Johnson20-Jun-03 15:49
James T. Johnson20-Jun-03 15:49 
GeneralRe: Shared Assembly Problem Pin
SuperGeek20-Jun-03 16:07
SuperGeek20-Jun-03 16:07 
GeneralRe: Shared Assembly Problem Pin
James T. Johnson20-Jun-03 17:18
James T. Johnson20-Jun-03 17:18 
GeneralRe: Shared Assembly Problem Pin
SuperGeek21-Jun-03 6:44
SuperGeek21-Jun-03 6:44 

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.