Software Development Network Logo
  • VS Team System
  • Microsoft ISV
  • .NET Development
  • Smart Devicet
  • Visual C++
  • SharePoint Products
  • Visual C#
  • Audio and Video
  • Visual FoxPro
  • IE Development
  • Visual Studio
  • Windows Forms
  • Game Technologies
  • Windows Vista
  • Visual Basic

Software Development Network >> Cammyr's Q&A profile

Cammyr

Member List

Learning VB
Brannon
luisarvayo
CodeButcher
KZG
xishan shigri
NorCis
Jay-P
Hayashida
Tort
Matt Fraser
ZopoStyle
DP2006
fdc2005
Stephen Chiu
devstuff
Whoisit
Abhayc
rivi
Joe Burns
Only Title

Cammyr's Q&A profile

  • .NET Development Extracting public exposed methods from a dll

    How can i extract the exposed method signatures from a dll assembly Can anyone help me out.... You can use reflection to examine an assembly. For example: //this is a class from the dll assembly MyClass test = new MyClass(); //get all public, non static methods System.Reflection.MethodInfo[] methods = test.GetType().GetMethods(System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.Public); //display them in the debug window foreach (System.Reflection.MethodInfo method in methods) { System.Diagnostics.Debug.WriteLine(method.Name); } For a complete example, check out http://msdn2.microsoft.com/en-us/library/4d848zkb.aspx ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Codeplex XNA

    I am starting to use CodePlex to host a GameComponent that I am creating. Has anyone had any experience in using Codeplex, VS C# Express I have the team explorer which works in my VS2005 Team Edition, but as far as I am aware GSE doesn't support Team System. Kind Regards, Paul Kinlan As far as I am aware Team Explorer does not integrate into C# Express, that said you should be able to use the client in a different IDE (It will run in a standard type IDE when running without Visual Studio Standard or Higher). Hope that helps! ...Show All

  • Visual C++ ManClass.obj : error LNK2028: unresolved token (0A0004BC) "public: __thiscall MyMathFuncs::MyMathFuncs(void)" (??0MyMathFuncs@@$

    Hi I have trying to build a managed class wrapper for experimenting with native code and getting this error , I have included the lib file and the settings pull in the header file. ManClass.obj : error LNK2028: unresolved token (0A0004BC) "public: __thiscall MyMathFuncs::MyMathFuncs(void)" ( 0MyMathFuncs@@$$FQAE@XZ) referenced in function "public: __clrcall MathFuncsWrapper::MathFuncsWrapper(void)" ( 0MathFuncsWrapper@@$$FQ$AAM@XZ ) ManClass.obj : error LNK2019: unresolved external symbol "public: __thiscall MyMathFuncs::MyMathFuncs(void)" ( 0MyMathFuncs@@$$FQAE@XZ) referenced in function "public: __clrcall MathFuncsWrapper::MathFuncsWrapper(void)" ( 0MathFuncsWrapper@@$$FQ$AAM@XZ) Here is ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Decompilable?

    How easily can the games compiled with XNA be decompiled I know .NET and C# can be easily decompiled, so I'm just wondering. Looks like decompiling will not be an issue at first Q: How exactly can I share my 360 game to other 360 users Will my game only be available to people with the XNA “Creators Club” subscription Will it be available to all 360 users that have an Xbox Live account A: There is currently no supported way to share binaries on the Xbox 360. Currently, there are four requirements that must be met in order to share a game targeting Xbox 360 which is developed with XNA Game Studio Express. The individual you are planning to share the game with must be logged in to Xbox Live and hav ...Show All

  • SQL Server SQL 2005 database will not attach in XP

    We are testing our product installation and run into the following problem on Windows XP and Server 2003, but not 2000: I am trying to attach a database using a command line program that we made, but get the following error: Could not open new database 'Launcher5'. CREATE DATABASE is aborted. File activation failure. The physical file name "C:\MARC\MARC5\Data\Launcher5_log.LDF" may be incorrect. The log cannot be rebuilt when the primary file is read-only. Hi, Network service account is one has very least privileges it will not allow to create the files system for custom folders.You have to change the sql server authentication to local account and its not recommended to run under net ...Show All

  • Windows Forms Detecting ESC key stroke in ToolStripTextBox

    Hi, Trying to detect ESC key pressed while the user is entering text into ToolStripTextBox. Pressing the key does not raise KeyDown, KeyUp, or KeyPress event. Rather, it simply moves down focus off the control. This probably applies to regular TextBox as well, though I have not tested it. Is there a way to detect ESC key being entered into the text box Thanks in advance. Escape is a special key. To override it....try this: protected override bool ProcessCmdKey(ref Message, Keys keyData) { if (keyData == Keys.Escape) { //Escape key press, handle it your way but be sure to return true return true; } else { return false; } } hope this he ...Show All

  • Software Development for Windows Vista VMR9 and DirectX 9

    Hi, I tried to use VRM9 with DirectX on Win32 proyect. In microsoft documentation they specified that the qedit.h will not support the Direct3d 7 or later. Is there any other way to use vmr9 - I got the following errors when i included d3d9.h, qedit.h and vmr9.h - Ther code works fine wihtout this includes, because i'm not implement yet, any code about VRM9. c:\dxsdk\include\vmr9.h(188) : error C2143: syntax error : missing ';' before '*' c:\dxsdk\include\vmr9.h(188) : error C2501: 'IDirect3DSurface9' : missing storage-class or type specifiers c:\dxsdk\include\vmr9.h(188) : error C2501: 'lpSurf' : missing storage-class or type specifiers c:\dxsdk\include\vmr9.h(358) : error C2146: syntax error : missing ';' before id ...Show All

  • Visual Studio Team System Multiple projects in Version Control

    Can somebody help me to clarify one thing We have few separate projects which use one framework. For those separate projects I will create Team Project - that's OK. But what I do with that framework I've got feeling that Version Control manages code on per-Team Project basis. In this case this framework doesn't belong to any particular Team Project but used in all of them. Should I create separate Team Project for that framework Can I create solutions within a Team Project which will use projects from different Team Projects Hello, in TFS Version Control Team Projects are seen as top level directories, but nothing stops you to map 2 Team Projects (framework and project) into one common root on the lo ...Show All

  • Windows Forms ListView Mouse button Up

    Hi, How do I manage the ListView control to not handle mouse button up click. The problem is that it seems to handle (Update the listview) both when i press down the mouse button and releases the mouse button. Some items in my ListView are connected to each other. When clicking on an item that is connected all the connected items shall be selected. In order to do this i need to listen to the ItemSelectionChanged event - (turn event off) - manually select the items - (turn event on). When pressing the mouse button down on an item in the listview (still holding mouse button down) and drag avaw the mouse from the item (then release mouse button) it works fine. But when just clicking on an item the ListVie ...Show All

  • Visual C++ How to save and load a struct of values to and from a file?

    I seem to recall a way to save a structure into a binary (or dat) file, but i just cant look it up anywhere. It involved something like instantiating a struct of variables, filling them with values, then saving it via pointer into a file. One can retrieve that pointer, then cast it into the appropriate struct to access those values. I think i got this from a games programming tutorial, but that was a long way back. Now i need to utilize it for a time series application, but cant find it anywhere, please help.. #include "stdafx.h" #include <stdio.h> #include <assert.h> int _tmain(int argc, _TCHAR* argv[]) { // Sample structure struct { int member1; char member2; } test; test.m ...Show All

  • Visual Studio Team System tf.exe gets stuck doing a Get from a label

    I'm trying to get a system set up using FinalBuilder ( www.finalbuilder.com ) to automate a complete product build. I'm running into a problem doing a Get from Label in the FinalBuilder project - sometimes (most of the time, actually), tf.exe gets stucks after getting all of the files and fails to terminate currectly. (By stuck I mean that the process continues to exist, is consuming no CPU time and performing no I/O operations). Now, there's every possibility that this is really a FinalBuilder issue (and I've inquired on their foums as well), but I thought I'd ask here in case anyone knows of any reason why tf.exe might "hang" after getting a bunch of files. It "smells" like tf.exe is waiting for console input, ...Show All

  • Visual Studio Breakpoint Unconditionally Skipped!

    Hello, I am using a program like this. I create a project, I type this in, and then F5 it. Then when I hit the first breakpoint, I add a "data breakpoint" at &c. Yet, it does not break when the variable c changes. What am I doing wrong #include<iostream> using namespace std; void main() { float a,b,c; (breakpoint) a=.23f; b=.45f; c=0; c=a+b; cout<<"Hi there!"; (breakpoint) cout<<"What Up Dawg!"; } Kevin, Sorry we've not been as engaged in the forums as we should have been. My apologies. I tried to repro this issue without any success, however I wondered if the codegen may have been at the heart of the issue. If the compiler decide ...Show All

  • SQL Server Invalid object name

    The following T-SQL code generates the error "Invalid object name 'tf_1.dbo.ADX_1'". The database is attached; I can view the table in SSMS and using VB8 code but can't get this statement to run without error. What am I doing wrong SELECT t1 .* FROM tf_1 . dbo . ADX_1 AS t1 , tf_2 . dbo . ALN_1 AS t2 WHERE t1 . [DateTime] BETWEEN '2004-01-01T09:30:00' AND '2004-02-01T16: 00:00 ' AND t2 . [DateTime] BETWEEN '2004-01-01T09:30:00' AND '2004-02-01T16: 00:00 ' AND t1 . [DateTime] = t2 . [DateTime] ORDER BY [DateTime] As Ned Flanders would say, that my friend is a dilly of a pickle. If you can run a select statement in the context of the database, and you are usi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. will there ever be a C++ version of XNA

    Hi. Just out of curiosity, I was wondering if there is a C++ version of XNA in the pipeline (or even a C++ /clr version). I must say that XNA looks appealing but I do have some nagging question marks glowing above my head. Well coded C++ games are generally faster and less memory intensive than managed/clr coded games. 3D games, especially, need all the speed and memory they can get! At least thats the consensus in various game development forums. Although I'm aware that .net/clr enviroments takes away a lot of the headaches that pure C++ users have to deal with (even without the added benefit of XNA). Although, I always thought that in the gaming industry, developers use C# as a prototyping tool. According to the f.a.q. a JIT ...Show All

  • SQL Server Top 10 with ties

    I have the following tale that appears like this: IMAGE Its show the top 10 company, with the top 5 sub companies underneath in a table where I use the filter TOPN = 10 . My problem comes in when I have two company that exist in the top 10 with the same value, in this case $0.00 it shows more than 10. I understand that using the top = 10 in sql reporting services is suppose to function like this, but want to only show 10. My SP looks like this: SELECT SicDescription, ISNULL(Company, 'OTHER') AS Company, AccountMV, AccountFeely,sicid,relationshipid as 'rnumber' from snapsraw WHERE (Branchstate = @state) AND sicdescription is not null AND (monthend = @date) Any help would be greatly appreciated, I heard of some people saying use the ...Show All

©2008 Software Development Network