Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

visual c++ - add non "type library" dll as reference to VS C++ 2008 -


i received request colleague work out why specific dll cannot added reference in visual studio 2008 version 9.0.21022.8 rtm ms .net framework version 3.5 sp1.

the language used visual c++ 2008, have never done in language, although i've done bit in c# before...

please check following 2 error messages, first 1 came laptop, second colleague's: my error message

another error message

from google research afraid target dll is:

  • not type library. confirmed running tlbimp utility:

    tlbimp c:\test\tm1api.dll  ......  error ti0000 : input file 'c:\test\tm1api.dll' not valid type library 

    what mean, convert type library?

  • not .net assembly or registered activex control. dll not programmed in vs afraid. how verify this?

basically confused, because 2 vs 2008 show different error messages, issue specific vs 2008 only? or there general solution in vs sort of thing?

many in advance.

you've got regular old dll. use dllimport access methods. aware there kinds of data marshalling issues when interacting c++ dll, instead of int might need use short, , intptr instead of arrays...stuff that.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -