Click here to Skip to main content
15,921,463 members
Home / Discussions / C#
   

C#

 
GeneralRe: PictureBox Problem Pin
Heath Stewart16-Jun-04 4:10
protectorHeath Stewart16-Jun-04 4:10 
GeneralNaming Conventions Pin
Ganjah78615-Jun-04 20:49
Ganjah78615-Jun-04 20:49 
GeneralRe: Naming Conventions Pin
eggie515-Jun-04 21:00
eggie515-Jun-04 21:00 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay15-Jun-04 23:42
Colin Angus Mackay15-Jun-04 23:42 
GeneralRe: Naming Conventions Pin
eggie516-Jun-04 6:25
eggie516-Jun-04 6:25 
GeneralRe: Naming Conventions Pin
Colin Angus Mackay16-Jun-04 8:56
Colin Angus Mackay16-Jun-04 8:56 
GeneralRe: Naming Conventions Pin
Ganjah78616-Jun-04 11:45
Ganjah78616-Jun-04 11:45 
GeneralRe: Naming Conventions Pin
eggie516-Jun-04 11:47
eggie516-Jun-04 11:47 
GeneralRe: Naming Conventions Pin
Ganjah78616-Jun-04 11:50
Ganjah78616-Jun-04 11:50 
GeneralRe: Naming Conventions Pin
Stefan Troschuetz15-Jun-04 21:24
Stefan Troschuetz15-Jun-04 21:24 
GeneralManaged HTML - GPL Pin
Roger Alsing15-Jun-04 20:28
Roger Alsing15-Jun-04 20:28 
GeneralRe: Managed HTML - GPL Pin
CWIZO15-Jun-04 21:19
CWIZO15-Jun-04 21:19 
GeneralRe: Managed HTML - GPL Pin
Roger Alsing15-Jun-04 21:25
Roger Alsing15-Jun-04 21:25 
GeneralRe: Running Event Methods Pin
myNameIsRon15-Jun-04 20:20
myNameIsRon15-Jun-04 20:20 
GeneralRe: Running Event Methods Pin
Stefan Troschuetz15-Jun-04 21:39
Stefan Troschuetz15-Jun-04 21:39 
GeneralRe: Running Event Methods Pin
myNameIsRon16-Jun-04 6:27
myNameIsRon16-Jun-04 6:27 
GeneralCompile Time Unmanaged DLL Checking Pin
MKlucher15-Jun-04 19:21
MKlucher15-Jun-04 19:21 
Does anyone know if it's possible to have VS .NET 2003 check the DLLImport functions at compile time? FOr instance

<br />
class PlatformInvokeTest<br />
{<br />
	[DllImport("C_DLL.dll")]<br />
	public static extern void BridgeFn(lo);<br />
<br />
	public static void Main() <br />
	{<br />
		try<br />
		{<br />
			string lo = string.Empty;<br />
                        BridgeFn(lo);<br />
		}<br />
		catch (Exception ex)<br />
		{<br />
			MessageBox.Show(ex.ToString());<br />
		}<br />
	}<br />
}<br />


While in my DLL There is no BridgeFn function that takes a string. This generates an error only on execution. While not horrible on a small scale, on a larger scale things can get pretty hairy pretty quick. If there is no way to check this at compile time any workflow suggestions to make this easier?

Thanks!
GeneralRe: Compile Time Unmanaged DLL Checking Pin
Heath Stewart16-Jun-04 4:06
protectorHeath Stewart16-Jun-04 4:06 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
MKlucher16-Jun-04 6:40
MKlucher16-Jun-04 6:40 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
Heath Stewart16-Jun-04 8:36
protectorHeath Stewart16-Jun-04 8:36 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
MKlucher16-Jun-04 10:13
MKlucher16-Jun-04 10:13 
GeneralRe: Compile Time Unmanaged DLL Checking Pin
Heath Stewart16-Jun-04 10:15
protectorHeath Stewart16-Jun-04 10:15 
GeneralCalendar Control Pin
Tarakeshwar Reddy15-Jun-04 19:04
professionalTarakeshwar Reddy15-Jun-04 19:04 
GeneralRe: Calendar Control Pin
Heath Stewart16-Jun-04 4:04
protectorHeath Stewart16-Jun-04 4:04 
GeneralSending messages from a thread Pin
caraboss15-Jun-04 18:18
caraboss15-Jun-04 18:18 

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.